algoDEA
  • algoDEA - Algorand IntelliJ Plugin
  • Overview
  • Installation using JetBrains Plugin Repository
  • Installation - Manual
  • Algorand Node Configuration
  • Account Management
  • Algorand Project Structure
  • Compile TEAL Program
  • Import an existing project
  • Variables/Placeholders in TEAL program
  • Stateful Smart Contract
    • Create Project - Stateful Smart Contract
    • Stateful Smart Contract - Deploy
  • Multiple Stateful Smart Contract in a Project
  • Stateless Smart Contract
    • Create Project - Stateless Smart Contract
    • Stateless Smart Contract - Delegated Signature
  • Stateless Smart Contract - Contract Account
  • Algorand Standard Assets
    • Create, Manage & Transfer
  • Atomic Transfer
    • Create Atomic Transfer
  • Dry Run
    • Dry Run Stateful / Stateless Contract Call
    • Dry Run - Atomic Transfer
  • PyTeal
    • Configure Python SDK and PyTeal
  • Create PyTeal file
  • Create or Configure a Stateful Contract with PyTeal Programs
  • Compile PyTeal File
  • Debugger Support (Beta)
    • Overview
    • Debugger Configuration
    • Debug Stateless Contract
    • Debug Stateful Smart Contract
    • Debug Stateful Contract using Dry Run Dump file
    • Debug Atomic Transfer
  • Debug Atomic Transfer using Dry Run Dump file
Powered by GitBook
On this page

Was this helpful?

  1. Atomic Transfer

Create Atomic Transfer

PreviousCreate, Manage & TransferNextDry Run Stateful / Stateless Contract Call

Last updated 4 years ago

Was this helpful?

You can create an Atomic Transfer transaction directly inside IntelliJ IDE. Multiple transactions can be grouped inside a single Atomic Transfer transaction, so that either all succeed or all fail.

To create an Atomic Transfer, you need to first export each individual transaction as json file. Once all required transactions are exported to their corresponding json files, you can group them and create an Atomic Transfer transaction in the "Atomic Transfer" option in the IDE.

The following sections describe how to export transactions, create & post Atomic Transfer transactions.

  1. Export Transaction

You can export any type of transaction ( Payment, Stateless contract, Stateful contract) to a json file through "Export Tx" button in the transaction screen. When export button is click, transaction is not posted to the network.

Transaction json files are generated under the build/txns folder.

2. Choose Atomic Transfer

To create an Atomic Transfer transaction, select Algorand > Atomic Transfer

3. Select Individual Transactions

Select and add individual transactions.

4. Create Group

After adding all individual transactions, click on "Create Group" to create and assign group id to each transaction in the group. Once the group id is assigned, "Create Group" button will be disabled.

5. Sign each transaction separately

Right click on each transaction and select "Sign" option to sign that transaction.

6. Post Atomic Transfer transaction

Once all the transactions are signed, you are ready to post the atomic transfer transaction. Click Ok to post the atomic transfer transaction.

Now either all transaction succeed or all fail.