Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active May 11, 2021 13:23
Show Gist options
  • Save yuyasugano/0d0e03caaf01889b928971bf2a91c52b to your computer and use it in GitHub Desktop.
Save yuyasugano/0d0e03caaf01889b928971bf2a91c52b to your computer and use it in GitHub Desktop.
create a new address with the created key store in Avalanche
curl -X POST --data '{
"jsonrpc":"2.0",
"id" :2,
"method" :"avm.createAddress",
"params" :{
"username": "testuser_jp01",
"password": "<your user password>"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/X
{"jsonrpc":"2.0","result":{"address":"X-fuji14gnzvppj3ydjdkt49jdgrn67ha4fysk26jwm5g"},"id":2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment