Skip to content

Conversation

@vijayanand01
Copy link

@vijayanand01 vijayanand01 commented May 4, 2024

  1. The problem is there was no actual transaction to opt in to the asa in the function opt_in_to_asset(). You can see a proper transaction written within the withdraw_asa() function.

  2. By adding an inner transaction (itxn) with the AssetTransfer() method, we call xfer_asset=self.asset_id and asset_receiver=Global.current_application_address to ensure we're opted in to the ASA.

Screenshot 2024-05-04 234308

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

🎉 Congrats on solving the 3rd Algorand Python 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/h82968w2n76k9t6tz2ekm7zg790t6y7xwmqj0esqcbgaqd8641merqczya8mcmm238p1n1j6vjzwc23a3ztat3jew07z4ahrs56z41r

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