Skip to content

Your First Transaction

Hello, Developer! Welcome to your first transaction on Algorand!

This guide shows how to send your first ALGO and ASA (Algorand Standard Asset) transactions using AlgoKit. You will then learn how to combine transactions into an atomic transaction group.

By the end, you will:

  • Send a payment transaction
  • Opt in to an ASA
  • Transfer an ASA
  • Build an atomic transaction group

If you want to learn more about opt-in or atomic transaction groups, see these docs:

When you’re ready, let’s dive in!


  1. Follow the steps in Getting Ready To Build to start LocalNet

  2. Follow the steps in Using LORA (Live Onchain Resource Analyzer) to connect a test wallet funded with Algo.

    When selecting the unencrypted-default-wallet option, LORA will actually give you 3 funded test wallets to easily switch between. This will come in handy for this tutorial.

  3. Follow the steps in Your First Asset to create the asset that we’ll transfer.

  4. Navigate to the Txn Wizard and click Add Transaction, and we will begin building the Atomic Transaction Group.

    Add Transaction
    Add Transaction

    a. Fund the receiving account with 1 Algo.

    The recieving account (Bob) must opt-in to the asset before receiving it. Since opting in requires a transaction, Bob needs ALGO to pay the fee.

    The first transaction sends 1 ALGO from the asset creator account (Alice) to Bob to cover this. Here’s what that looks like:

    Alice Funds Bob's Account
    Alice Funds Bob's Account

    To get Bob’s address, select it from the account dropdown and click the copy symbol beside it. You can then paste it into the transaction builder under Receiver. Remember to switch back to Alice’s account because she will be the main Sender of the transactions in this group.

    Click Add and it will be added to the group.

    b. Add Bob’s Opt-in Transaction.

    Now that Bob has the Algo to pay for transactions, he can opt in to receive MFA. Here’s what that looks like:

    Bob Opts in
    Bob Opts in

    Make sure you are inputting the correct ID for the asset you created in the previous steps. You’ll notice that an opt-in transaction is Bob sending a zero amount of an asset to his own address.

    c. Add MFA transfer Transaction.

    Now that Bob has opted in to receiving MFA, we can add a transaction that sends MFA from Alice to Bob. Here’s what that looks like:

    Send MFA
    Send MFA

    d. Review Transaction Group.

    Look over the transaction group to make sure all the parameters are correct. Here’s what it should look like:

    Complete Transaction Group
    Complete Transaction Group

    e. Submit the Group Transaction.

    Click the Submit button to execute the Transaction Group. You should see a visualization of the sequence of events that looks something like this:

    Transaction Visualizatoin
    Transaction Visualizatoin

Go to the Explore tab to see all the blocks and transactions produced by your script. You should see a block containing your atomic transaction group:

Transaction Group added to a block
Transaction Group added to a block

Click through the transactions to see how each step was executed and grouped together.

You now know multiple ways to create and send assets. Next, we are going to start learning about custom smart contract development by going back to the Hello World template you selected in Getting Ready To Build.