Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@ton-community/blueprint
Advanced tools
A development environment for TON blockchain for writing, testing, and deploying smart contracts.
Run the following in terminal to create a new project and follow the on-screen instructions:
npm create ton@latest
npm create ton@latest
ton://
deeplinknode -v
npm create ton@latest
or npx create-ton@latest
npm install
or yarn install
contracts/
- Source code in FunC for all smart contracts and their importswrappers/
- TypeScript interface classes for all contracts (implementing Contract
from ton-core)
tests/
- TypeScript test suite for all contracts (relying on Sandbox for in-process tests)scripts/
- Deployment scripts to mainnet/testnet and other scripts interacting with live contractsbuild/
- Compilation artifacts created here after running a build commandwrappers/<CONTRACT>.compile.ts
- examplenpx blueprint build
or yarn blueprint build
npx/yarn blueprint build <CONTRACT>
yarn blueprint build counter
build/<CONTRACT>.compiled.json
npx blueprint test
or yarn blueprint test
npm test
or yarn test
scripts/deploy<CONTRACT>.ts
- examplenpx blueprint run
or yarn blueprint run
npx/yarn blueprint run <CONTRACT> --<NETWORK> --<DEPLOY_METHOD>
yarn blueprint run deployCounter --mainnet --tonconnect
Run in terminal: npx blueprint help
or yarn blueprint help
npx blueprint create
or yarn blueprint create
npx/yarn blueprint create <CONTRACT> --type <TYPE>
(type can be func-empty
, func-counter
, tact-empty
, tact-counter
)
yarn blueprint create MyNewContract --type func-empty
contracts/<CONTRACT>.fc
contracts/imports/*.fc
wrappers/<CONTRACT>.ts
to encode messages and decode getterstests/<CONTRACT>.spec.ts
wrappers/<CONTRACT>.ts
to interact with the contractwrappers/<CONTRACT>.compile.ts
scripts/deploy<CONTRACT>.ts
wrappers/<CONTRACT>.ts
to initialize the contract
Special thanks to @qdevstudio for their logo for blueprint.
MIT
TON - EQAQR1d1Q4NaE5EefwUMdrr1QvXg-8mDB0XI2-fwDBD0nYxC
[0.12.0] - 2023-07-14
FAQs
Framework for development of TON smart contracts
The npm package @ton-community/blueprint receives a total of 1,426 weekly downloads. As such, @ton-community/blueprint popularity was classified as popular.
We found that @ton-community/blueprint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.