Vertices Docs
  • Welcome ๐Ÿ‘จโ€๐Ÿ’ป
  • โš™๏ธ Vertices SDK
    • Quickstart
      • Unix
        • New account
        • Pay transaction
        • Application call
      • Microcontrollers
        • PlatformIO
        • ESP-IDF
        • Zephyr (soon)
    • API Reference
      • Providers
      • Accounts
      • Events
      • Transactions
      • Applications
    • Porting guide
      • Starting from scratch
      • New vertex
      • HTTP Client
      • Handling events
Powered by GitBook
On this page

Was this helpful?

  1. โš™๏ธ Vertices SDK
  2. Quickstart
  3. Unix

Pay transaction

Make Alice send money to Bob.

PreviousNew accountNextApplication call

Last updated 3 years ago

Was this helpful?

You should now have money in the previously created account: Alice's account.

You can now run the Unix example program to send money to Bob with the -p flag:

$ ./examples/unix/unix_example -p
๐ŸŸข [examples/unix/main.c:217] ๐Ÿ˜Ž Vertices SDK running on Unix-based OS
๐ŸŸข [examples/unix/main.c:137] ๐Ÿ”‘ Loading private key from: /Users/cyril/Documents/work/vertices/c-vertices-sdk/examples/unix/config/private_key.bin
๐ŸŸข [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] ๐Ÿค‘ 10.000000 Algos on Alice's account (IZV2H3YRLCPOTUL5ATG5T3TRMUEXKLOGFWYO34NVKRMTXKZO2OOAJ34IWI)
๐ŸŸข [src/algorand/algorand_transaction.c:307] ๐Ÿงพ Transaction executed, ID: I5CG4PC7V6XKEGHZUUZF25I3JXBQKLU4AUV4HANQYAHH4TCPVWWQ
๐ŸŸข [examples/unix/main.c:290] ๐Ÿ’ธ Alice sent 1 algo to Bob
๐ŸŸข [src/account.c:89] ๐Ÿ‘› Deleted account from wallet: #0
๐ŸŸข [src/account.c:89] ๐Ÿ‘› Deleted account from wallet: #1

Now you can check the transaction status on , using the transaction ID printed I5CG4PC7V6XKEGHZUUZF25I3JXBQKLU4AUV4HANQYAHH4TCPVWWQ.

Below we can see the Sender and Receiver along with the Note added to the transaction: Alice sent 1 Algo to Bob.

AlgoExplorer for Testnet
Alice sent 1 Algo to Bob