The contract can be used to lock the jettons to a specific recipient, preventing them from being transferred or used until the timer expires or the owner gives them up.
docs- demo frontend for interacting with contractcontracts- contains the source code of all the smart contracts of the project and their dependencies.wrappers- contains the wrapper classes (implementingContractfrom ton-core) for the contracts, including any [de]serialization primitives and compilation functions.tests- tests for the contracts. Would typically use the wrappers.scripts- contains scripts used by the project, mainly the deployment scripts.
- Clone this repo
- Run
yarn install
- Interactively
- Run
yarn blueprint build - Choose the contract you'd like to build
- Run
- Non-interactively
- Run
yarn blueprint build jettonLockup
- Run
- Interactively
- Run
yarn blueprint run - Choose the contract you'd like to deploy
- Choose whether you're deploying on mainnet or testnet
- Choose how to deploy:
- With a TON Connect compatible wallet
- A
ton://deep link / QR code - Tonhub wallet
- Deploy the contract
- Run
- Non-interactively
- Run
yarn blueprint run jettonLockup --<NETWORK> --<DEPLOY_METHOD>
- Run
- Run
yarn test
GPLv2