Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bee option for Node Spinup: Funding private key #5030

Open
Cafe137 opened this issue Mar 3, 2025 · 0 comments
Open

Bee option for Node Spinup: Funding private key #5030

Cafe137 opened this issue Mar 3, 2025 · 0 comments

Comments

@Cafe137
Copy link

Cafe137 commented Mar 3, 2025

Summary

A private key passed as an option to Bee, which, given it has xDAI (and xBZZ), funds are automatically transferred to the node's wallet.

Motivation

  • Good UX with gift wallets (common)
  • May simplify "1. init bee wallet, 2. transfer funds, 3. start bee" setup to "1. prepare funds, 2. start bee" in CI or for node operators (less common)
  • Future potential: May reuse multichain toolkit and include automatic swapping and bridging, e.g. end user provides wallet with some low ETH, and the rest is handled

Implementation

  • Check option on startup
  • Return if no xDAI
  • Transfer xBZZ, if any
  • Transfer xDAI, if any
  • Proceed with startup

Drawbacks

  • Development costs
  • Risk of being an underused feature
  • Funding private key must be an ephemeral, low-value PK strictly for this purpose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant