Use this file to discover all available pages before exploring further.
acton wrapper generates a Tolk wrapper for a contract defined in Acton.toml
and optionally produces a stub test file or a TypeScript wrapper for frontend
and tooling integrations. Wrapper generation uses the ABI emitted by the Tolk
compiler from the contract source (or from a configured types interface file
for precompiled .boc contracts). No prior acton build run is required.
# Generate wrapper for one contractacton wrapper [OPTIONS] <CONTRACT_NAME># Generate wrappers for every contract in Acton.tomlacton wrapper [OPTIONS] --all
Generate a TypeScript wrapper via @ton/tolk-abi-to-typescript@0.5.0. Requires Node.js, npm, and npx in PATH. Conflicts with --test, --test-output, and --test-output-dir.
Generates send{Message}(...) and sendAny(...) helpers
Declared get methods
Generated as typed wrapper methods
When incomingMessages is absent, message-sending helpers are not generated.
When storage is absent, storage helpers fall back to an untyped initializer.
acton wrapper --ts shells out to npx @ton/tolk-abi-to-typescript@0.5.0.
Node.js, npm, and npx must be in PATH. The --ts flag cannot be combined
with --test, --test-output, or --test-output-dir.
acton wrapper compiles the contract source directly each time it runs —
you do not need to run acton build first. For .boc contracts, configure
a types interface file in Acton.toml to enable ABI-backed wrapper
generation.