ton-blueprint
3
总安装量
3
周安装量
#57171
全站排名
安装命令
npx skills add https://github.com/hairyf/blockchain-skills --skill ton-blueprint
Agent 安装分布
opencode
3
gemini-cli
3
github-copilot
3
codex
3
kimi-cli
3
cursor
3
Skill 文档
Skill is based on Blueprint (ton-org/blueprint), generated at 2026-02-25.
Blueprint is a development environment for the TON blockchain: create projects with npm create ton@latest, then build (Tolk/FunC/Tact), test (Sandbox), and run scripts (deploy via TonConnect, deeplink, or mnemonic). Projects use a fixed layout: contracts/, wrappers/, compilables/, tests/, scripts/, build/.
Core References
| Topic | Description | Reference |
|---|---|---|
| Project structure | Directory layout, contracts/wrappers/compilables/tests/scripts/build | core-project-structure |
| CLI commands | build, test, run, create, rename, help, pack, snapshot, verify, set, convert | core-commands |
| NetworkProvider | sender, open, waitForDeploy, waitForLastTransaction, api, config | core-network-provider |
| Config | blueprint.config.ts, plugins, network, requestTimeout, recursiveWrappers, manifestUrl | core-config |
| UIProvider | write, prompt, input, choose, setActionPrompt, inputAddress for scripts | core-ui-provider |
| Networks and explorers | Network, Explorer, CustomNetwork, NetworkVersion for run/verify/config | core-networks-explorers |
Features
Scripts and compilation
| Topic | Description | Reference |
|---|---|---|
| Scripts | run(provider, args), deploy pattern, blueprint run | features-scripts |
| Compilation | compile(), CompilerConfig, compilables, build output, hooks | features-compilation |
| Build API | buildOne, buildAll, buildAllTact, artifact output | features-build-api |
| Wrappers | Contract, createFromConfig, createFromAddress, sendDeploy | features-wrappers |
| Plugins | Plugin, PluginRunner, custom CLI commands | features-plugins |
| Verify | Verify deployed contract on verifier.ton.org, flags, compiler version | features-verify |
| Pack | Publish-ready wrapper package, package.ts, dist, npm publish | features-pack |
| Create and rename | Create contract from template, rename across wrappers/scripts/tests | features-create-rename |
Best practices
| Topic | Description | Reference |
|---|---|---|
| Deploy | Deploy flow, TonConnect/deeplink/mnemonic, env vars, verify | best-practices-deploy |
| Testing | Sandbox tests, compile(), coverage, gas report/snapshot | best-practices-testing |