Create an Account
This How-To will show you how to create an account.
Account Approaches
The SDK supports a multi-account approach and a single-account approach.
Code Example
The following example will:
- Create a wallet.
- Use it to store the Stronghold mnemonic.
- Create an account with the alias "Alice".
- Rust
- Nodejs
- Python
sdk/examples/how_tos/accounts_and_addresses/create_account.rs
loading...
bindings/nodejs/examples/how_tos/accounts_and_addresses/create-account.ts
loading...
bindings/python/examples/how_tos/accounts_and_addresses/create_account.py
loading...
Expected Output
Account created: Alice