Core TypeScript library that implements low level primitives for TON blockchain.
yarn add @ton/corenpm install @ton/core@ton/core concurrently in the same project is not supported. Use the package manager's functionality (npm, yarn) in CI to avoid this.
We use biome as our formatter. It's compatible to prettier, just significantly faster.
yarn run formatBy default tests are running using multiple worker threads. It's faster, but
undesirable during debugging. SINGLETHREADED env variable covers this case
SINGLETHREADED=1 yarn run testWe use test coverage to eliminate blind spots in our tests.
The goal is to run every function at least once.
- Build a coverage report
yarn run coverage-
Coverage report is written to the
/coveragedirectory -
Open
/coverage/index.htmlto check the report
See CONTRIBUTING.
This library has been created and maintained by the Whales Corp. and Dan Volkov. The current maintainer is TON Studio.
MIT