Last active
May 11, 2021 13:22
-
-
Save yuyasugano/a68d2595578a4ef1e94eb0f3cd67a59f to your computer and use it in GitHub Desktop.
create a new user with KeyStore API in Avalanche
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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