Skip to main content
Version: 1.0

Generate an Account

This account generation process happens offline and thus does not confine the generated account to any particular network. Also, this operation is gasless and thus does not cost any AVT.

All API utils also work in offline mode.
// Generate an account using the API
await API.utils.generateNewAccount();

Do not use the account details below, as these details are public and are simply an example.

Example Output

mnemonic: 'flag dynamic laptop often park illegal equip curve game blame junior warm',
seed: '0x5392ca60a61aea99fce14358798de93c1bc11c3696a905718738c71fae539c24',
address: '5EYzWhGxbogEfwNKL52ZRDCgBxu4t8oWDFAsXXVYvH6dMQTo',
publicKey: '0x6e0b67f4590ac2b4e9daa9f229cc4a0c77b3109e8a622e5a1128518ad76e736b'