Skip to content

Official AlgoKit template for smart contract development project using Algorand TypeScript.

Notifications You must be signed in to change notification settings

algorandfoundation/algokit-typescript-template

Repository files navigation


This template provides a beta template for developing and deploying Algorand TypeScript smart contracts.

To use it install AlgoKit and then either pass in -t typescript to algokit init or select the typescript template.

To use it run:

algokit init --template-url https://github.com/algorandfoundation/algokit-typescript-template --UNSAFE-SECURITY-accept-template-url

This is one of the official templates used by AlgoKit to initialize an Algorand smart contract project. It's a Copier template.

Features

This template supports the following features:

Getting started

Once the template is instantiated you can follow the README.md file to see instructions for how to use the template.

Interactive Wizard

To initialize using the algokit CLI:

  • Execute the command algokit init. This initiates an interactive wizard that assists in selecting the most appropriate template for your project requirements.

To initialize within GitHub Codespaces:

  • Follow these steps to leverage GitHub Codespaces for template selection:

    1. Go to the algokit-base-template repository.
    2. Initiate a new codespace by selecting the Create codespace on main option. This can be found by clicking the Code button, then navigating to the Codespaces tab.
    3. Upon codespace preparation, algokit will automatically start LocalNet and present a prompt with the next steps. Executing algokit init will initiate the interactive wizard.