Skip to content

algorandfoundation/puya-ts-demo

Repository files navigation

Puya-ts demo

Getting started

1. Install npm deps

npm i

2. Ensure you have puya.exe available on your PATH

This assumes you have a python installation on your machine, if not see algokit install instructions

pipx install puyapy

puya.exe is currently distributed under the puyapy package but will eventually be moved to a puya package.

3. Test that puya is available (you may need to restart your shell)

puya

Expect to see

usage: puya [-h] [--version] [--log-level {notset,debug,info,warning,error,critical}] --options OPTIONS --awst AWST [--source-annotations SOURCE_ANNOTATIONS]
puya: error: the following arguments are required: --options, --awst

4. Build project

Using the npm script

npm run build

OR

Invoke using npx

npx @algorandfoundation/puya-ts build contracts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published