Generate Keys
The KrypC wallet-dev Service API provides a "Generate Keys" feature, allowing users to obtain private keys, public keys, and addresses with ease.
This creates a wallet using this method.
API Specification
Generate Keys
POST
https://api.krypcore.com/api/v0/devWallet/generateKeys
Generate Keys under the given instance.
Headers
Name
Type
Description
DappId*
String
DappId
Authorization*
String
User Auth key obtained
{
"Data": {
"address": "0x722b17B6802F609ba66xxxxxxxxxxxxxxxxx",
"privateKey": "0xc1a009172xxxxxxxxxxxxxx",
"publicKey": "0x04a85e6b0843c4c7dfb3de68a08b5b3792f852b1f1c9a69182c46876ac1132b168e7ccc1df78e102b5b334362ef341f98ea9xxxxxxxxxxxxxxx"
},
"Message": "Keys generated successfully",
"Status": "SUCCESS"
}
Take a look at how you might call this method using our official libraries, or via curl
curl --location --request POST 'https://api.krypcore.com/api/v0/devWallet/generateKeys' \
--header 'DappId: **********' \
--header 'Authorization: **********' \
Last updated
Was this helpful?