Daniel Chew 498edea355 feat(target_chains/ton): add update_price_feeds (#1870) 1 年之前
..
contracts 498edea355 feat(target_chains/ton): add update_price_feeds (#1870) 1 年之前
scripts 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) 1 年之前
tests 498edea355 feat(target_chains/ton): add update_price_feeds (#1870) 1 年之前
wrappers 498edea355 feat(target_chains/ton): add update_price_feeds (#1870) 1 年之前
README.md e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) 1 年之前
jest.config.ts e82158d82f feat(target_chains/ton): wormhole contract (#1814) 1 年之前
package.json 498edea355 feat(target_chains/ton): add update_price_feeds (#1870) 1 年之前
tsconfig.json e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) 1 年之前

README.md

pyth

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