In this workshop, you will discover how to create a hedera client to work with the test network. You will then build a transaction to transfer test HBAR to another account. After the transfer, you will create a mirror node client and query the mirror node to get an account's HBAR balance.
- Clone repo,
- Set up an .env file with your testnet credentials,
- Make sure you're on the main branch
- Run
npm run start
If you want to use this code as an exercise, switch to the start-exercise
branch and complete the files.
Visit portal.hedera.com to sign up for a testnet account and recieve 10,000 test HBAR every 24 hours.