Generate a Wallet
Generate a wallet for a user
A wallet comprises a private key, a public key, and many addresses. To enable a user to accept tokens or digital assets, create a wallet for them using our SDK.
You can create one wallet per blockchain.
You only need to initialize the client once at the start of the application.
Here are the properties for generateWallet
function:
property | description | required | type |
---|---|---|---|
network | specify which blockchain | required | networkType |
reference | specify which user | required | string |
For Example,
The expected output
Last updated