Task: Opt-In to ASAs

This task is now expired.

Task: Opt-In to ASAs

In this task, use goal or any of our SDKs, to opt-in to receive the Algorand Standard Asset called Algorand Developer Coins with Asset ID 3797.

Task instructions

  1. Issue an opt-in transaction for the asset id 3797 - AlgorandDeveloperCoins.

  2. Reply to this post with the public address that opted-in.

  3. Within a few days, we will send you 10 DevCoins on TestNet! Hang onto the coins. We may ask you to use them in future tasks.

Prerequisites

  1. Review the Algorand Standard Assets documentation to learn more about how ASAs work in goal.

  2. Check out how to use Algorand Standard Assets in Go, Java, JavaScript, and Python.

Hint

An opt-in transaction is simply an Asset Transfer Transaction (TxType = axfer) with amount == 0 of the desired asset both from and to the account that wants to opt-in.

Why This Task Matters

To receive a particular Algorand Standard Asset, an account owner must issue a transaction to opt-in to that asset. This ensures protection against users sending you assets that may somehow negatively impact you.

Have Questions?

Post them here!

1 Like

Public Address:
PARISU2VOLPDLRTSWIP2P2C5MR5KBBO6GBFD7L4C5TZGYSQHBRD7SFTSUM

JW6L2ZCQT3UIQH5AFM3CVW3C7M3QFYHXA3EU4WHREOATRWMXP6MBFNKILM
1 Like

Public address: Q2SLSQTBMVJYVT2AANUAXY4A5G7A3Y6L2M6L3WIXKNYBTMMQFGUOQGKSRQ

1 Like

Public address:

FT43JWVPZQ4U3M5BL5DFENHG3LXWXD7Q34YZP6SWWQCEB7OBREMDM3RKC4
1 Like

Public Address: QA75IQ76F6H2T55G65BY7BPLF5QNWSLT5XGI62COZSYB4ZQ3MSKI3EQ25A

I have one query regarding opt-in:

Opt-in works for an asset-id from any specific account?

Or if someone has opt-in for an asset id from the originator account, can the opt-in account receive asset from any account?

1 Like

Your account can opt-in to any asset on the Algorand blockchain assuming you know the asset ID and the asset is not frozen by default by the creator. Once you opt-in, anyone who owns the asset (and is not in a frozen state) can send you some of that asset.

So for example, after you opt-in to DevCoins, the others on this thread could send you some of theirs if they wanted to. It doesn’t just have to come from the creator.

Public key: VBFLYZSXPTB3ZU6GOWSZINHERSP4BCZ5VLSA73RMX2FVPDCGOYDK2KUYBY

Account: OGPJ6O37IUFQZNL7K6B742UH7A7E5HRKZNWK4MUTNQCTNM6RZHOLSSCA6Y

Public address: 2HAQEJDIOA2GNUXXMHVFHLDYXQBI7A3Y2DQ45NNR6UEHCXZBUGSTUORFBU

public address: SJQOZU6RYTAEUN4SGZWWR4DTAPO4ELGC6CM4AX2S4TA5KFBJXLPQGAMWT4