Skip to content
Cosmopediaby Unity Nodes
DiscussionsTokenomicsCustom chian with Native tokenForum ↗

Custom chian with Native token

Tokenomics5 posts268 views2 likesLast activity Mar 2025
BS
bsc_userOP
Mar 2025

i am create new custom chain using cosmosSdk help of ignite cli.the chian run locally.Now i want create native coin for that blockchain, by default its have two assets “token”, “stake”. i want add native coin name “ABC”. how to customize to add native coin for that blockchian anyone have answers please share some knowledge or resources

CO
cosmosrescue
Mar 2025

hey, if i understand your goal correctly, you can replace stake with uabc in yourchain/config.yml before building, something like: ``` version: 1 validation: sovereign accounts: - name: alice coins: - 20000token - 200000000uabc - name: bob coins: - 10000token - 100000000uabc client: openapi: path: docs/static/openapi.yml faucet: name: bob coins: - 5token - 100000uabc validators: - name: alice bonded: 100000000uabc - name: validator1 bonded: 100000000uabc - name: validator2 bonded: 200000000uabc - name: validator3 bonded: 300000000uabc staking: bond_denom: uabc genesis: app_state: staking: params: bond_denom: uabc bank: denom_metadata: - base: uabc display: ABC name: ABC Token symbol: ABC denom_units: - denom: uabc exponent: 0 - denom: ABC exponent: 6 send_enabled: - denom: uabc enabled: true ``` then execute ``` ignite chain build --clear-cache ``` ``` ignite chain serve --reset-once ``` after that you should be able to query…

Excerpt (1191 of 2338 characters). Read the whole post on the forum ↗

BS
bsc_user
Mar 2025

thanks for your resposnse, yes i want ABC coin for staking and pay fees using ABC. could you please share sample code and your guidance.

CO
cosmosrescue
Mar 2025 1

hey, i updated my answer for the latest version of ignite (v29.0.0-beta.1) - it shows how to replace stake with uabc, so that uabc can be used for staking and as fee also

BS
bsc_user
Mar 2025 1

Big thanks brother, its working

← Back to Discussions