On this page

latest contributor to this doc

Last Edit:

@gaeacodes

Get a new pubkey to launch a Smart Chain

Command:

./komodo-cli -ac_name=HELLO getnewaddress

Output:

RDomQ4tftJGjcHBVpAUx549jZfxtJx74r5

Command:

./komodo-cli -ac_name=HELLO validateaddress RDomQ4tftJGjcHBVpAUx549jZfxtJx74r5

Output:

{
  "isvalid": true,
  "address": "RDomQ4tftJGjcHBVpAUx549jZfxtJx74r5",
  "scriptPubKey": "76a91431a8cbc716e21238079729d46cb655ae7fadc9e388ac",
  "segid": 37,
  "ismine": true,
  "iswatchonly": false,
  "isscript": false,
  "pubkey": "02dd22c272504af79b220ba37c12f777596eff4f54598e2db65be325a9393a3a26",
  "iscompressed": true,
  "account": ""
}

Command:

./komodo-cli -ac_name=HELLO dumpprivkey RDomQ4tftJGjcHBVpAUx549jZfxtJx74r5

Output:

UrunDGyFJu5UFZG7BnFx9R6iaPmWaBX8iqHzRpFRjNp8kBEQYKNt

address: RDomQ4tftJGjcHBVpAUx549jZfxtJx74r5
pubkey:  02dd22c272504af79b220ba37c12f777596eff4f54598e2db65be325a9393a3a26
privkey: UrunDGyFJu5UFZG7BnFx9R6iaPmWaBX8iqHzRpFRjNp8kBEQYKNt