Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.12 KB

Stable Swap

Sample frontend for the contracts is deployed at: https://stable-swap.d2pnswzn282jj5.amplifyapp.com/

Get test jettons

Run the following script to mint test jettons to the test address, update the address in the script to your address to mint to your address:

npx blueprint run scripts/mintTestJettons.ts

Deploy contracts

To deploy the custom contracts, check the following script:

scripts/deployStableSwap.ts

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