Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
create-ton
Advanced tools
Starter template for a new TON project - FunC contracts, unit tests, compilation and deployment scripts.
This repo is a work in progress and is subject to change
contracts
- contains the source code of all the smart contracts of the project and their dependencies.wrappers
- contains the wrapper classes (implementing Contract
from ton-core) for the contracts, including any [de]serialization primitives and compilation functions.tests
- tests for the contracts. Would typically use the wrappers.scripts
- contains scripts used by the project, mainly the deployment scripts.We ask the community to provide any comments on this layout, the wanted/required changes, or even suggestions for entirely different project structures and/or tool concepts.
PRs are welcome!
ton://
deeplinkyarn install
yarn blueprint build
yarn blueprint build <CONTRACT>
yarn blueprint build pingpong
yarn blueprint run
ton://
deep link / QR codeyarn blueprint run <CONTRACT> --<NETWORK> --<DEPLOY_METHOD>
yarn blueprint run pingpong --mainnet --tonconnect
yarn test
yarn blueprint create <CONTRACT>
yarn blueprint create MyContract
Write code
contracts/*.fc
contracts/*.fc
contracts/imports/*.fc
test/*.spec.ts
wrappers/*.ts
scripts/*.ts
Build
wrappers/*.compile.ts
yarn blueprint build
build/*.compiled.json
- the binary code cell of the compiled contract (for deployment). Saved in a hex format within a json file to support webapp importsTest
yarn test
Deploy
yarn blueprint run <deployscript>
MIT
FAQs
Tool to quickly create TON projects
The npm package create-ton receives a total of 1,375 weekly downloads. As such, create-ton popularity was classified as popular.
We found that create-ton demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.