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

1. Scaffold Chain Source Code

Run the feather dev scaffold command to create a new source code for your chain using a template:


feather dev scaffold \
--id <chain_id> \
--name <chain_name> \
--denom <bond_denom> \
--prefix <address_prefix> \
--repo <github_repo> \
[--template <template>]

FlagDescriptionExample
--idChain ID that uniquely identifies your blockchain networkmychain-2
phoenix-1
--nameA human readable name for your chainterra
osmosis
--denomThe denom of the coin used for staking/delegationsmydenom
uluna
--prefixAddress prefix of your chainmyprefix
terra
--repoThe GitHub repository where your scaffolded chain must be pushed to before publishing the chain. This will also be used as the go module name.github.com/User/repo_name
https://github.com/User/repo
--template[Optional] The GitHub repository of the template to clone, with optional suffix of #<branch/tag/commit>github.com/User/repo_name
github.com/User/repo#branch
github.com/User/repo#v1.0.0

After running the command, you should see that a new directory was created with the chain's code. Enter the directory containing your chain before moving to the next step:


cd ./<chain_name>