Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active May 11, 2021 13:22
Show Gist options
  • Save yuyasugano/a68d2595578a4ef1e94eb0f3cd67a59f to your computer and use it in GitHub Desktop.
Save yuyasugano/a68d2595578a4ef1e94eb0f3cd67a59f to your computer and use it in GitHub Desktop.
create a new user with KeyStore API in Avalanche
curl -X POST --data '{
"jsonrpc": "2.0",
"id": 1,
"method": "keystore.createUser",
"params": {
"username": "testuser_jp01",
"password": "<your user password>"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/keystore
{"jsonrpc":"2.0","result":{"success":true},"id":1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment