Skip to content

sun-rhythms/tutorials

 
 

Repository files navigation

TON Tutorials

Create a wallet, fund it, initialize it, see in explorer, read/write to it with code

01-wallet-npmton 01-wallet-tonweb

Create a simple counter smart contract, build and deploy it, read/write to it with code

02-contract

Create a simple client (TWA+web) that interacts with the counter smart contract

03-client

Create a test suite for the counter smart contract to make sure it works as expected

04-testing

 

The Tutorial System

Design goals

  • A concise list of tutorials that help new TON developers onboard
  • Allow multiple community contributors to help maintain the tutorials
  • Support multiple development flavors, tools and styles side by side
  • Know when tutorials break (for example due to library changes) and need fixing

Build the tutorials

  • Create the file .env in the project root with this content:

    MNEMONIC="unfold sugar water ..."

    The official mnemonic appears in Github repo secrets since it's also used in CI. This should be the 24 word mnemonic for a deployed testnet v4 wallet that contains at least 1 TON.

  • Run ./build.sh

  • Resulting files will be created in the docs/ directory, ready for Github Pages

About

Step by step onboarding tutorials for TON blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.7%
  • SCSS 17.6%
  • EJS 10.0%
  • JavaScript 7.8%
  • Shell 4.6%
  • CSS 2.0%
  • HTML 0.3%