Hello Substrate community!

If you have been following the tutorial on building a local blockchain using Substrate, you may have noticed that your address is hard-coded in a JSON file.

To replace your address with my address, you can refer to the Substrate documentation on building a local blockchain: https://docs.substrate.io/tutorials/build-a-blockchain/build-local-blockchain/

Please let me know if you have any other suggestions or if you need further assistance.

Thank you in advance.

  • What is the question? You want to use your own account instead of Alice, Bob...?
    – Alex Bean
    May 10, 2023 at 7:00
  • Hi @Alex Bean Thanks for your response, Yes,I want my own account address instead of Alice,Bob.
    – support
    May 10, 2023 at 7:52

1 Answer 1


I suggest you keep going with the tutorials, in this one Add trusted nodes you will see how to generate your own accounts with the tool SubKey and how to start the node.

To customize the endowed accounts balances when start your chain you specify this in the chain_spec.rs. The chain specification is a source code file that defines a Substrate chain's initial (genesis) state.

Here you can see an example of the node-template that the tutorial uses.

See this previous StackExchange answer that explains how to do this in detail: How to overwrite endowed account balances using additional accounts and balances.

  • Hi @Alex Bean, Good morning! Thanks for response. I followed your reference and added my address to the chain-spec-plain.json file. However, when I ran my project, my address was not displayed in the Polkadot development portal. How can I run my chain-spec-plain.json file? Also, how can I disable the default command? I used the following command: ./target/release/node-template --base-path /tmp/relay/alice --chain ./chain-spec-plain.json --alice --port 30333 --rpc-cors all --rpc-methods Safe --ws-port 9945 --rpc-port 9933 --validator Please let me this command is correct?
    – support
    May 11, 2023 at 6:46
  • First to import your account in the Polkadot development portal see this article: support.polkadot.network/support/solutions/articles/… . And see that when running your node you are indicating the flag --alice in your command, see this docs.substrate.io/tutorials/build-a-blockchain/… to see how to run your own one.
    – Alex Bean
    May 11, 2023 at 8:50
  • Hi @Alex Bean, good afternoon! Thank you for your response. I followed the steps you provided, completed all the steps.added the address to Polkadot. I ran the command, but my address is not showing up in my own development Polkadot.js.how to check my development wallet balance using comments?I following below command ./target/release/node-template --base-path /tmp/node01 --chain ./customSpecRaw.json --port 30333 --ws-port 9945 --rpc-port 9933 --telemetry-url "wss://telemetry.polkadot.io/submit/0" --validator --rpc-methods Unsafe --rpc-cors all --name MyNode01 --password-interactiveThank you.
    – support
    May 11, 2023 at 10:30
  • Hi @Alex Bean, good afternoon! how to check my development wallet balance using commands ? please let me know here this is very helpful to me. thanks in advance,
    – support
    May 11, 2023 at 10:34
  • You have to import your account in PolkadotJS, importing it directly or with the extension, check the steps here support.polkadot.network/support/solutions/articles/… or here docs.cloud.coinbase.com/delegation/docs/polkadot-ui-fund or
    – Alex Bean
    May 11, 2023 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.