Skip to content

p2p-org/ton-splitter

Repository files navigation

ton-splitter

This project is a modified version of https://github.com/tonwhales/nominators-dao.

It introduces @ton/blueprint to the project for

  • updated Tact compiler
  • easy to use scripts to interact with the contract

Project structure

  • contracts - source code of all the smart contracts of the project and their dependencies.
  • wrappers - wrapper classes (implementing Contract from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.
  • tests - tests for the contracts.
  • scripts - scripts used by the project, mainly the deployment scripts.

How to use

Build

npx blueprint build or yarn blueprint build

Test

npx blueprint test or yarn blueprint test

Deploy or run another script

npx blueprint run or yarn blueprint run

Add a new contract

npx blueprint create ContractName or yarn blueprint create ContractName

About

TON smart contracts that splits obtained token between its members

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published