Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active May 11, 2021 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/7a07b2156726a83689d58d2c7caa24e2 to your computer and use it in GitHub Desktop.
Save yuyasugano/7a07b2156726a83689d58d2c7caa24e2 to your computer and use it in GitHub Desktop.
create a new address in P-Chain No.2
curl -X POST --data '{
"jsonrpc": "2.0",
"id": 4,
"method": "platform.createAddress",
"params": {
"username":"testuser_jp01",
"password":"<your user password>"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/P
{"jsonrpc":"2.0","result":{"address":"P-fuji16ng9sc5vyy99twvza8fg3xdl0262ryfsmcxcwp"},"id":4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment