Localnet
Startup Accounts
Auto-fund and auto-deploy configured wallets when local node starts
You can ask the local node to bootstrap selected wallets on startup.
What Happens on Startup
For each wallet name in accounts:
- The node resolves the wallet from your configured wallets.
- The wallet receives startup funds from local faucet.
- If the wallet is not active yet, the node sends a deploy transaction based on wallet kind settings.
This removes the manual "airdrop + first deploy transaction" bootstrap step from local development.
Configure in Acton.toml
[localnet]
accounts = ["deployer", "user"]Configure via CLI
acton localnet start --accounts deployer,userCLI values override Acton.toml for the current run.
Wallet Configuration
Wallets are resolved by name from your wallet config. See Setup wallets for full wallet setup.
[wallets.deployer]
kind = "v5r1"
workchain = 0
keys = { mnemonic-env = "DEPLOYER_MNEMONIC" }If a wallet name from accounts is missing or invalid, startup will fail for that wallet setup step.
When to Use
- Local script development that expects pre-funded wallets.
- Integration tests against local node API with realistic wallet addresses.
- Reproducible team setups where everyone starts from the same account bootstrap.
Last updated on