Typescript Hello World

Creator Algorand Foundation

typescript
smart-contract

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

Features

Feature 1
Feature 2
Feature 3
Typescript Hello World

typescript-hello-world

Welcome to your new AlgoKit project!

This is your workspace root. A workspace in AlgoKit is an orchestrated collection of standalone projects (backends, smart contracts, frontend apps and etc).

By default, projects_root_path parameter is set to projects. Which instructs AlgoKit CLI to create a new directory under projects directory when new project is instantiated via algokit init at the root of the workspace.

Getting Started

To get started refer to README.md files in respective sub-projects in the projects directory.

To learn more about algokit, visit documentation.

GitHub Codespaces

To get started execute:

  1. algokit generate devcontainer - invoking this command from the root of this repository will create a devcontainer.json file with all the configuration needed to run this project in a GitHub codespace. Run the repository inside a codespace to get started.
  2. algokit init - invoke this command inside a github codespace to launch an interactive wizard to guide you through the process of creating a new AlgoKit project

Powered by Copier templates.

import { Contract } from '@algorandfoundation/algorand-typescript'

export class HelloWorld extends Contract {
  public hello(name: string): string {
    return `${this.getHello()} ${name}`
  }

  private getHello() {
    return 'Hello'
  }
}