/pyteal-starter

PyTeal projects and smart contracts samples for Algorand blockchain

Primary LanguagePython

Setup

  1. Install Docker Desktop
  2. Install Algorand sandbox
  3. Add this project folder as bind volume in sandbox docker-compose.yml under key services.algod:
    volumes:
      - type: bind
        source: <path>
        target: /data
  4. Start sandbox:
    $ ./sandbox up
  5. Install Python virtual environment in project folder:
    $ python -m venv venv
    $ source ./venv/Scripts/activate # Windows
    $ source ./venv/bin/activate # Linux
  6. Use Python interpreter: ./venv/Scripts/python.exe VSCode: Python: Select Interpreter

Links