|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| contracts | 5e14d51ad3 fix: handle remaining data in read_and_store_large_data when size > input | 3 months ago |
| scripts | 1b5195aa0a fix: run turbo fix | 8 months ago |
| tests | 0b3f734c79 chore(ton): increase test timeout | 2 weeks ago |
| wrappers | 5f7408b076 chore: went back to previous engines versions | 3 weeks ago |
| .prettierignore | 6efbe89542 chore: updated prettier ignores to prevent bikeshedding | 2 weeks ago |
| README.md | 7bf23f24b8 add comments and ignore bounced messages (#2151) | 11 months ago |
| jest.config.js | 0b3f734c79 chore(ton): increase test timeout | 2 weeks ago |
| package.json | 1eeca8ea7d chore: responded to offline PR feedback | 2 weeks ago |
| tsconfig.build.json | a615b5a17f chore: linting and typechecking yak shaving to the nth degree | 3 weeks ago |
| tsconfig.json | 5ccba32169 fix: builds are back. updated to latest ts-duality which formats with prettier if it's available | 3 weeks ago |
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.npx blueprint build or yarn blueprint build
npx blueprint test or yarn blueprint test
First, visit TON Center and register to get an API key to bypass rate limits. Replace <YOUR-API-KEY> with the API key you obtained from TON Center. <CUSTOM-TYPE> is either testnet or mainnet. <CHAIN-ID> is the chain ID of the chain you want to deploy to.
Then run:
CHAIN_ID=<CHAIN-ID> npx blueprint run --custom https://testnet.toncenter.com/api/v2/jsonRPC --custom-version v2 --custom-type <CUSTOM-TYPE> --custom-key <YOUR-API-KEY>
npx blueprint create ContractName or yarn blueprint create ContractName
When using the Pyth price feed in the recommended flow (User/App -> Pyth -> Protocol), be aware that:
CRITICAL: Integrators MUST validate the sender address in their receive function to ensure messages are coming from the Pyth Oracle contract. Failure to do so could allow attackers to: