contract
Installation
SKILL.md
Contract Skill
Provides Clarity smart contract deployment and interaction on the Stacks blockchain. Deploy contracts from .clar source files, call public functions (with optional post conditions), and call read-only functions to query on-chain state.
- read — Read-only, no wallet required.
- deploy and call — Write operations that broadcast transactions; require an unlocked wallet.
Usage
bun run contract/contract.ts <subcommand> [options]
Subcommands
deploy
Deploy a Clarity smart contract to the Stacks blockchain. Reads the contract source from a .clar file and broadcasts a smart_contract transaction.