Daniel Chew 4b9fc1ee4c make @pythnetwork/pyth-ton private (#1857) 1 year ago
..
contracts 64c9a28a57 feat(target_chains/ton): add get_update_fee (#1853) 1 year ago
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 year ago
tests 64c9a28a57 feat(target_chains/ton): add get_update_fee (#1853) 1 year ago
wrappers 64c9a28a57 feat(target_chains/ton): add get_update_fee (#1853) 1 year ago
README.md e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) 1 year ago
jest.config.ts e82158d82f feat(target_chains/ton): wormhole contract (#1814) 1 year ago
package.json 4b9fc1ee4c make @pythnetwork/pyth-ton private (#1857) 1 year ago
tsconfig.json e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) 1 year ago

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