vara-eth-contract-writer
Vara.eth Contract Writer
Use this skill when writing, changing, or reviewing a Rust contract for Vara.eth with Sails.
Core Rule
Treat the target as Vara.eth, not generic Vara, generic Gear, or EVM Solidity. Use Sails with the ethexe feature and the Vara.eth artifact workflow.
Keep examples minimal, runnable, and explicit about generated artifacts. When contract behavior intersects with deployment, ABI, RPC, or runtime semantics, verify against ../../references/source-map.md.
Environment
Make sure the environment has:
- Rust toolchain.
wasm32v1-none, installed withrustup target add wasm32v1-none.sails-cli, installed withcargo install sails-cli.
Scaffold new contracts with --eth:
More from gear-foundation/vara-eth-skills
vara-eth-app-builder
Build and verify Vara.eth deploy, interaction, and integration examples after a contract already exists. Use when an AI agent is asked to upload or create a program, initialize it, fund executable balance, send messages, read state, handle replies, use `ethexe` CLI, script flows with `@vara-eth/api`, or create/interact through a Solidity ABI interface.
1vara-eth-solidity-integrator
Design and review Solidity contracts that integrate with Vara.eth programs through generated Solidity ABI interfaces. Use when an AI agent is asked to build an Ethereum-side adapter, escrow, bridge-like flow, callback handler, or Solidity contract that calls a Vara.eth Mirror/ABI contract and processes async replies.
1