transact
Installation
SKILL.md
Execute a Convex Transaction
Transactions modify global state atomically. They cost juice (gas) and require a funded, signed account.
Source: $ARGUMENTS
Workflow
- If the user has a signing key stored in the signing service, use
mcp__convex-testnet__signingTransactwith their address and passphrase. - If the user has a raw seed, use
mcp__convex-testnet__transactwith address and seed. - If neither is available, use
mcp__convex-testnet__prepareto prepare the transaction, then guide the user through signing.
CVM Conventions
- Amounts are in copper: 1 CVM = 1,000,000,000 copper
- Never use
import— it mutates the account environment and costs extra juice - For single calls:
(@convex.fungible/transfer #128 #13 100) - For multiple calls to the same actor:
(let [f @convex.fungible] (f/transfer ...) (f/balance ...))