vara-eth-solidity-integrator
Vara.eth Solidity Integrator
Use this skill when the task is about Solidity code that interacts with an existing Vara.eth program through a generated Solidity ABI interface.
Contract authoring in Rust/Sails belongs to vara-eth-contract-writer. Program upload, create, top-up, init, and TypeScript/CLI interaction belong to vara-eth-app-builder.
Core Model
Treat Vara.eth calls from Solidity as asynchronous.
A generated ABI call returns a bytes32 messageId. That means the message was submitted, not that Vara.eth execution has finalized. The final result arrives through a generated success callback or onErrorReply(...).
Required Pattern
For every state-changing Vara.eth call from Solidity:
- Store
messageId -> operation context. - Include enough context to finish the operation later: user, local id, amount, operation kind, expected reply, or payout target.
- Verify callbacks with
msg.sender == address(VARA_ETH_PROGRAM).
More from gear-foundation/vara-eth-skills
vara-eth-contract-writer
Write and review Rust Sails contracts for Vara.eth. Use when an AI agent is asked to scaffold a new contract with `cargo sails new --eth`, implement or explain `Program` and `Service` structure, add events and exported methods, define payable methods, choose ABI-safe public types, or flag `ethexe` runtime limitations and forbidden patterns in contract design.
1vara-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.
1