Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve challenge 1 #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HongThaiPham
Copy link

Algorand Coding Challenge Submission

What was the bug?
I setup the project and got the error

Screenshot 2024-03-30 075102

After reviewing the code in the index.ts file, i realized that the parameter of sendRawTransaction method is wrong. The transaction wasn't signed before it was submitted to the network

How did you fix the bug?

Screenshot 2024-03-30 075437

I fixed it by signing the transaction before sending it

There are 2 ways to do that:

  1. Use method signTxn of transaction like this

Screenshot 2024-03-30 080444

OR

  1. Use method signTransaction of algodClient like this

Screenshot 2024-03-30 080323

Console Screenshot:

Screenshot 2024-03-30 080531

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Apr 1, 2024
@iskysun96
Copy link
Contributor

🎉Congrats on solving your first Algorand coding challenge!

I have labeled your PR approved so you can now claim your certificate.

You can claim your certificate of completion NFT here: https://goplausible.xyz/claim/r2747zdbzrvsfxs3zqx5mtmj389k8gwez5tm92m3dsrs8pbj65rn74j175dh1jacnnbrx1rcr1tdm6grsnx2spdnt78ce5tncje7p2r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved ✅ Successfully completed the challenge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants