Code Monkey home page Code Monkey logo

tutorials's Introduction

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

Notice

Due to limitations in GitHub Actions, we are unable to use secrets to store a secure mnemonic for the wallet during the testing of pull requests from forked repositories by our contributors. As a result, we are currently using a public wallet with an exposed mnemonic in our test files when running tests in GH Actions.

tutorials's People

Contributors

1b00 avatar anandsinha07 avatar coalus avatar delovoyhomie avatar destinywei avatar expectfun avatar howardpen9 avatar hyperpotamus avatar krau5 avatar nikitindenis1 avatar razzwan avatar shaharyakir avatar sukhsinghcodes avatar sun-rhythms avatar swiftadviser avatar talkol avatar vtamara avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.