Skip to content

Conversation

@kiliancm94
Copy link

Algorand Coding Challenge Submission

What was the bug?

The bug was that the transaction sent to the network was not signed with the private Key.

How did you fix the bug?

Firstly, I identified what was the bug, and then I read the documentation to understand how to send a transaction. Therefore, I have realised the transaction was not signed and I modified the code to sign it as follows:

const signedTxn = txn.signTxn(sender.sk);

await algodClient.sendRawTransaction(signedTxn).do();

Console Screenshot:

Captura de pantalla 2024-03-17 a las 19 45 59

@iskysun96 iskysun96 added the Approved ✅ Successfully completed the challenge! label Mar 18, 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