New account
The Unix example allows you to create a new random account.
Create a new account
Using the Unix example
./examples/unix/unix_example [-n]$ ./examples/unix/unix_example -n
π’ [examples/unix/main.c:217] π Vertices SDK running on Unix-based OS
π’ [examples/unix/main.c:137] π Loading private key from: /path/to/c-vertices-sdk/examples/unix/config/private_key.bin
π [examples/unix/main.c:145] π§Ύ Creating new random account and storing it (path /path/to/c-vertices-sdk/examples/unix/config/)
π’ [examples/unix/main.c:194] π³ Alice's account IZV2H3YRLCPOTUL5ATG5T3TRMUEXKLOGFWYO34NVKRMTXKZO2OOAJ34IWI
π’ [examples/unix/main.c:250] π Running on testnet-v1.0 v.2.5.0
π’ [src/account.c:42] π Added account to wallet: #0
π’ [src/account.c:42] π Added account to wallet: #1
π’ [examples/unix/main.c:263] π€ 0.000000 Algos on Alice's account (IZV2H3YRLCPOTUL5ATG5T3TRMUEXKLOGFWYO34NVKRMTXKZO2OOAJ34IWI)
π΄ [examples/unix/main.c:268] π Amount available on account is too low to pass a transaction, consider adding Algos
π’ [examples/unix/main.c:270] π Go to https://bank.testnet.algorand.network/, dispense Algos to: IZV2H3YRLCPOTUL5ATG5T3TRMUEXKLOGFWYO34NVKRMTXKZO2OOAJ34IWI
π’ [examples/unix/main.c:271] π Then wait for a few seconds for transaction to pass...Using Algokey
Last updated
Was this helpful?