Using Wallets
The Term “Wallet” refers to a cryptographic keypair. The Address is the public part, being generated from the public key. There are different ways how to generate private keys. You can use any Ethereum key-generator. A valid keypair looks like this:
Address (20 Bytes): 0xb44448Acd78B5b1C545942C0b7fCBD284E7debe8
Private Key (32 Bytes): 0x27dd130d5bbaf28bfd36a8f85d0ab693282363a513ffd3c2c1d12a7649aad068
The private key must be kept secret and safe. It is used for signing transactions. The Address can be shared with each an everyone on the planet. For signing transactions, there must be SparkNet Ether on the address.
There are two ways how to use Wallets within the Notardec API
- Either users register their wallets directly. Then you need to use the TEOS Authentication Services and supply a user authentication token with each request
- Or your solution has it’s own way how to manage user wallets, e.g. a custodial solution.