Registering your username on DERO blockchain

Step 1] based on your OS download latest binaries or compile from source DERO daemon and wallet. Darwin files are for Mac OS.

Step 2] Create and register your wallet.

Step 3] After wallet setup and registration. Run wallet again with following rpc-server option:
./dero-wallet-cli-linux-amd64 --rpc-server --wallet-file=YouWalletName.db

Step 4] Check whether username is already registered by following cmd:

curl -d 
 }}' -H 'Content-Type: application/json'

NB: Replace localhost( to if you are not running your daemon.
NB: If output is something leaf not found then username is free and available.

Step 5] Register and associate DERO wallet to username.

 `curl -d 
{"name":"name","datatype":"S","value":"TESTUSERNAME" }] }}' -H 
'Content-Type: application/json'`

TXID of username registration will be returned, Check this TXID in explorer.

NB: Replace TESTUSERNAME in above curl commands to your username.
NB: Windows users can download curl from here.
NB: For more details visit here.
NB: Can register username of minimum 6 bytes(size) only.
NB: Replace localhost( to if you are not running your daemon.


Run fllowing cmd to transfer username to another DERO wallet address.

curl -d '{"jsonrpc":"2.0","id":"0","method":"scinvoke","params":{"scid":"0000000000000000000000000000000000000000000000000000000000000001","ringsize":2, "sc_rpc":[{"name":"entrypoint","datatype":"S","value":"TransferOwnership"}, {"name":"name","datatype":"S","value":"Username_To_Transfer" }, {"name":"newowner","datatype":"S","value":"dero1qypj3sctlt7mefhvdhrvrygj55m40ugl7ml2dukzypxdtd2agpgsjqq2v3n6h" } ] }}' -H 'Content-Type: application/json'

Replace username & DERO-wallet-address in above cmd :
Username_To_Transfer -> Username to transfer
dero1qypj3sctlt7mefhvdhrvrygj55m40ugl7ml2dukzypxdtd2a -> Another wallet address.