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
Introduce yourself, ChallengerSign In
Check out our Discord channel, where you can communicate with other Algorand developers.