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

feature request: give wallets funds at startup #547

Closed
dakom opened this issue Aug 13, 2024 · 2 comments · Fixed by #553
Closed

feature request: give wallets funds at startup #547

dakom opened this issue Aug 13, 2024 · 2 comments · Fixed by #553

Comments

@dakom
Copy link

dakom commented Aug 13, 2024

oftentimes when developing you have a wallet that's hardcoded across different services (on-chain tests, bots, development tools, etc.)

it would be very helpful to simply tell Starship, in the config, to send funds to specific addresses on startup

without this feature, the only ways I'm aware of to accomplish the same thing are to manually patch the genesis, write external tooling to tap the faucet, or extract the genesis addresses and use those for product development - none of which are ideal.

I don't have a suggestion for if this would belong in its own field, faucet, etc... faucet may be the most organic, and simply have it "tap the faucet" for each address on startup, though this would disallow sending a specific amount afaict

@Anmol1696
Copy link
Collaborator

this is a really good suggestions. Let me figure out a way to add it to the config.

Does this look ok on the config:

chains:
  - id: osmosis-1
    name: osmosis
    numValidators: 2
    balances:
    - address: osmo14lzvt4gdwh2q4ymyjqma0p4j4aykpn929zx75y
      amount: 1000000000uosmo
    - address: osmo1clpqr4nrk4khgkxj78fcwwh6dl3uw4epasmvnj
      amount: 1000000000uosmo
  - id: cosmoshub-4
    name: cosmoshub
    numValidators: 2
    balances:
      - address: cosmos1c4k24jzduc365kywrsvf5ujz4ya6mwymy8vq4q
        amount: 1000000000uatom
      - address: cosmos196ax4vc0lwpxndu9dyhvca7jhxp70rmcfhxsrt
        amount: 1000000000uatom

@dakom
Copy link
Author

dakom commented Sep 5, 2024

that looks perfect!

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

Successfully merging a pull request may close this issue.

2 participants