Setheum Accounts
Setheum Network Accounts
Setheum is a Substrate-based blockchain and uses Substrate-based accounts. Users can use one account (one private-public keypair) on multiple Substrate-based chains. Essentially for one private-public keypair (one account) there is a different address representation for different blockchains.
- Generic Substrate addresses start with 5. E.g. the addresses in the Polkadot{js} extension
The address format used in Substrate-based chains is SS58, a modification of Base-58-check from Bitcoin with some minor modifications. Find out more on the Substrate address format here.
⚠️To create a Setheum account, you need to deposit an ED into it. This is also known as existential deposit.
Each account has a unique private key. You should never share your private key or seed with anyone.
You can create a new random mnemonic and corresponding SR25519 keypair with
setheum-node key generate
tag. (You can use the ed25519
or sr25519
scheme too, and can change the word number to 24
):./target/release/setheum-node key generate --words 12
Secret phrase `hill bachelor solid flight salon gift over glimpse cable surface pistol soldier` is account:
Secret seed: 0x0d5c9b82b9319e2af7d8818d3416d2d006413b848de648e7c2fc444595913f89
Public key (hex): 0x46bd03197876fc3debd541864084c819ac94704af55c77aadb2e650e2986965e
Public key (SS58): 5DfTMgbNAxmhqiEjZuvQhog9UvdHxnHZd6p2JWgwJJPNCKFJ
Account ID: 0x46bd03197876fc3debd541864084c819ac94704af55c77aadb2e650e2986965e
SS58 Address: 5DfTMgbNAxmhqiEjZuvQhog9UvdHxnHZd6p2JWgwJJPNCKFJ
The
SS58 Address
is your wallet address. You can use it to receive payments and check your balances/activity on the block explorer.If you already have a mnemonic or random seed you can use it to obtain corresponding SR25519, ED25519 or ECDSA keypairs:
./target/release/setheum-node key inspect --scheme sr25519 \
"hill bachelor solid flight salon gift over glimpse cable surface pistol soldier"
Secret phrase `hill bachelor solid flight salon gift over glimpse cable surface pistol soldier` is account:
Secret seed: 0x0d5c9b82b9319e2af7d8818d3416d2d006413b848de648e7c2fc444595913f89
Public key (hex): 0x46bd03197876fc3debd541864084c819ac94704af55c77aadb2e650e2986965e
Public key (SS58): 5DfTMgbNAxmhqiEjZuvQhog9UvdHxnHZd6p2JWgwJJPNCKFJ
Account ID: 0x46bd03197876fc3debd541864084c819ac94704af55c77aadb2e650e2986965e
SS58 Address: 5DfTMgbNAxmhqiEjZuvQhog9UvdHxnHZd6p2JWgwJJPNCKFJ
Ethereum has an address format different from Substrate. When using smart contract DApps deployed on the EVM, users will normally need to use an Ethereum address to transact. On SetheumEVM, we have the Single Account feature that allows users to bind their Substrate account with an EVM address once, thereafter they can use the Substrate account to sign any transactions on Setheum.
Last modified 1yr ago