Welcome to Acton
Acton is an all-in-one TON smart contract development toolkit
Acton is an all-in-one TON smart contract development toolkit written in Rust. It combines project scaffolding, build, testing, scripting, wallet and network operations, verification, linting, formatting, and low-level VM tooling in one CLI.
New to Acton? Start with the installation, then follow the quickstart.
What one can do with Acton
- Create a new Tolk project from a ready-made template.
- Build contracts, run tests, and script interactions with a single CLI.
- Lint, format, and ensure contract code quality through coverage, mutation, and integration tests.
- Manage wallets, deploy to the network, and verify published contracts.
Start here
Installation
Install Acton and verify that the binary is available in the shell.
Quickstart
Create a counter project from the built-in template.
Walkthrough
Continue exploring Acton facilities within the quick start project.
Tutorial
Write your first smart contract with Tolk and Acton.
For an existing repository, start with acton init and grow the project instead of creating a new scaffold.
First production workflow
Test runner
Write unit and integration tests in Tolk, inspect traces, and measure coverage.
Linting
Check Tolk code, configure rules, and integrate checks into CI.
Wallet setup
Create local or global wallets and prepare them for deployment workflows.
Deployment
Deploy compiled contracts through scripts and understand the required inputs.
Verification
Verify that deployed bytecode matches the source code of the contract.
References
Acton.toml manifest
Define package metadata, contract entrypoints, various settings, and custom scripts.
Acton libraries
Explore the Acton's @acton Tolk libraries.
Tolk standard library
Explore the Tolk standard library: @stdlib.
Command reference
Browse Acton CLI commands, flags, and related workflows.
Linting rules
Browse Acton linting rules.
CLI help
Run:
acton --helpfor the command overview;acton help <command>for the long manual for each command;<nested> --helpfor nested subcommands.
For example, acton wallet list --help prints a brief help message for the list subcommand of the wallet command.
Quick links
- Shortest path to a running project: Quickstart.
- Command syntax: Commands.
- Tests: Test runner.
- Build configuration, outputs, and dependency handling: Build system.
- Standalone Tolk scripts for deployment and automation: Scripting
- Configuration manifest:
Acton.toml. - Path or resolution issues: run
acton doctor.
Last updated on