Localnet
Getting Started
Start Acton local development node, use faucet, and run a minimal local workflow
The local development node is available through the acton localnet command group.
Start the Node
acton localnet startBy default, the node listens on port 5411 (or [localnet].port from Acton.toml).
You can verify that the server is running:
curl -s "http://localhost:5411/api/v2/getMasterchainInfo"Fund an Address
Use the built-in faucet command:
acton localnet airdrop UQA_ftKIJsHEAE_UgtFOUK15hPzycZooFuUr8duyY9T3kwwMSet a custom amount:
acton localnet airdrop UQA_ftKIJsHEAE_UgtFOUK15hPzycZooFuUr8duyY9T3kwwM --amount 50Use a Custom Port
acton localnet start --port 3010Then target the same port for CLI helpers:
acton localnet airdrop UQA_ftKIJsHEAE_UgtFOUK15hPzycZooFuUr8duyY9T3kwwM --port 3010Stop the Node
Press Ctrl+C in the terminal where the node is running.
If you use --dump-state, the snapshot is saved during graceful shutdown.
Next Steps
- Learn how to fork from testnet/mainnet.
- Configure startup accounts.
- Add persistence or snapshots.
Last updated on