erdpy is a command line tool to interact with MultiversX blockchain. It is available for Linux and Mac. Here you can find out hot to install and update erdpy: https://docs.elrond.com/sdk-and-tools/erdpy/installing-erdpy/
When erdpy is running, you need your private key of the wallet your want to register your @herotag for. The private key is stored in a .pem file.
If you have your 24 words, but not a .pem file you can use erdpy to create your .pem file:
erdpy –verbose wallet derive walletKey.pem –mnemonic
> here you paste your twenty four words of your wallet et cetera
>
Now you private key is in the file walletKey.pem
Let’s check in with network you want to register the herotag.
- For mainnet use proxy: https://gateway.elrond.com and chainID: 1.
- For devnet use proxy: https://devnet-gateway.elrond.com and chainID: D.
- For testnet use proxy: https://testnet-api.elrond.com and chainID: T.
For mainnet:
$ erdpy config set chainID 1
$ erdpy config set proxy https://gateway.elrond.com
For devnet:
$ erdpy config set chainID D
$ erdpy config set proxy https://devnet-gateway.elrond.com
Let’s register your @herotag now:
erdpy dns register –recall-nonce –name=your_hero_tag.elrond –gas-limit=70000000 –pem=walletKey.pem –pem-index=0 –outfile=.json –send
Please replace your herotag at the name parameter. Please note:
a-z and 0-9 are possible to use. No upper case and no other characters. The herotag has to end with .elrond.
Good Luck!
Add a Comment