Daniel Chew 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) há 1 ano atrás
..
contracts 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) há 1 ano atrás
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) há 1 ano atrás
tests 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) há 1 ano atrás
wrappers 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) há 1 ano atrás
README.md e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) há 1 ano atrás
jest.config.ts e82158d82f feat(target_chains/ton): wormhole contract (#1814) há 1 ano atrás
package.json 0714994eff feat(target_chains/ton): add pyth contract functions (price_unsafe, price_no_older_than, ema_price_unsafe, ema_price_no_older_than) (#1845) há 1 ano atrás
tsconfig.json e73fff2726 feat(target_chains/ton): initialize ton contracts (#1810) há 1 ano atrás

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