Creating a Wallet

Key pairs created by the CLI are offline. You are responsible for safe storage of your seed phrase.

{public_key, seed} = API.Wallet.generate_key()
{"6szjTAfFU1KqxGVqyhuhGoA9GTJH93dEw6hDccVur2KV3Tc3juFfW5vYTENFe3hcPc",
 "2k3LidUYf6c6Lxs5YR2RY9mT7gJS6663XbyfarMQx8V5Pf28NF5XCQaecZrvYty6sKHxr5w4RoUct2t16agNTAQd"}

The output is your Base58 encoded BLS12-381 - 48byte public key and 64 byte seed. Your receiver wallet address is your public key. Keep your seed secret.

Last updated