Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active May 11, 2021 13:25
Show Gist options
  • Save yuyasugano/a9bcfcc67f10dd8cfc64e58ae36213bb to your computer and use it in GitHub Desktop.
Save yuyasugano/a9bcfcc67f10dd8cfc64e58ae36213bb to your computer and use it in GitHub Desktop.
create a new address in P-Chain No.1
curl -X POST --data '{
"jsonrpc": "2.0",
"id": 3,
"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-fuji1s3056zrcm36y0pzx5d3g9p5quavvpxk2yhssvp"},"id":3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment