var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=2&rec=1&url=https://feather.terra.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

3. Run Localnet

Using Feather CLI, you can easily spin up a localnet in one single command to verify that your chain works. Run the following command in the working directory of the scaffolded chain:


feather dev sandbox serve

Under the hood, this command does the following:

  1. Build and install the chain binary (skip by running with the --skip-install flag)
  2. Initialise all genesis accounts and balances as defined in config/config.json
  3. Initialise a local validator node (keys are added to the test keyring backend)
  4. Start the chain using the binary in step 1 (ie. feather-cored start)

After starting the chain, you can execute transactions as per usual on a different terminal (ie. feather-cored tx bank send ...).

Initialise chain state only​

Alternatively, if you only wish to do steps 1-3 without starting the chain, run the following command instead:


feather dev sandbox init

To verify the initialisation of keys, run the following:


# Command name may differ depending on your chain name
feather-cored keys list --keyring-backend=test