创建文章

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

Payment Transaction Rookie

Changing Challenge SDK

You are about to change this challenge’s SDK to .
You current progress will not be lost.

Challenges

Payment Transaction Rookie

Payment Transaction Rookie Challenge Badge NFT

Payment Transaction Rookie

Send a basic payment transaction

rookie

In this task you'll be crafting a simple payment transaction. While the transaction itself is simple it represents a powerful concept in Algorand, the Transaction.
All interaction with the network is done by creating, signing, and submitting Transactions.

A Payment Transaction is how an account may transfer Algos from themselves to someone else. In order for the transaction to be approved several checks are made at the protocol level including checking the fee is sufficient, the first/last valid rounds are in the correct range for the current state, the sender has enough algos to make the transaction and that the transaction itself was signed correctly.

Prepare for the challenge

Specifically in the documentation linked above you'll want to familiarize yourself with the suggested parameters present on all transactions and the concept of signing a transaction.

You will complete the challenge with our partner Replit in a new tab. Fork the Replit using the 'Fork Replit' button in the righthand corner to begin. If this is your first challenge, you will need to create a Replit account before forking the challenge code.

In this challenge, you need to:

  • Get the suggested transaction parameters from an API server
  • Construct a Payment Transaction that represents a payment from you, to you, for 1 Algo
  • Sign the transaction with the secret key

Join Discord

Check out our Discord channel, where you can communicate with other Algorand developers.

Visit Discord