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
  • 1. Install Python plugin in IntelliJ IDE
  • 2. Configure / Add Python SDK and Install PyTeal
  • 3. Select Python SDK as Project's SDK

Was this helpful?

  1. PyTeal

Configure Python SDK and PyTeal

PreviousDry Run - Atomic TransferNextCreate PyTeal file

Last updated 4 years ago

Was this helpful?

To use PyTeal in your smart contract project, you need to make sure the following steps are done.

1. Install Python plugin in IntelliJ IDE

If you don't have Python plugin installed yet, you can do that from "Plugins" page in IntelliJ IDE.

For IntelliJ IDEA Community Edition, you need to install "Python Community Edition" plugin.

For IntelliJ IDEA Ultimate Edition, check for "Python" plugin

2. Configure / Add Python SDK and Install PyTeal

Once the python plugin is installed, you can create a Python SDK inside IntelliJ IDE. But before that, you need to make sure you already have Python installed on your machine.

To create / configure a new Python SDK

  • Right click on the project and select "Open Module Settings"

  • Select "SDKs" and Click "+" to add a new Python SDK

Install PyTeal

  • Once the Python SDK is there, go to "packages" tab and click "+" to install pyteal.

3. Select Python SDK as Project's SDK

Go to "Project" and select Python SDK.

Now you are ready to write your first PyTeal program.