mezo
Mezo
Overview
Integrate applications and agent workflows with the Mezo protocol. Use this skill when a task requires Mezo network setup (testnet/mainnet), Hardhat or Foundry configuration, Mezo Passport wallet connection, mezod/validator-kit operations, Mezo Earn automation (lock/vote/claim/poke/incentives), contract deployment verification, or Mezo-specific dApp requirements such as BTC gas and MUSD integration expectations.
Environment
- Requires
bashandcurl. - Node.js is needed for Hardhat/Passport workflows.
- Go is needed for
mezodworkflows.
Execute this workflow when the user needs practical Mezo integration work, not generic blockchain advice.
Workflow
- Pick the integration target first:
- App-level EVM integration (Hardhat/Foundry + RPC + deploy flow).
- Wallet UX integration (standard EVM wallet vs Mezo Passport).
- Node/operator path (
mezodand validator-kit). - Mezo Earn operations (veBTC lifecycle, gauge voting, rewards claims, and incentive posting).
- Configure network and toolchain from network-and-env:
- Set correct chain (
31611testnet or31612mainnet). - Apply Hardhat/Foundry configuration.
- Verify RPC health and chain id with
scripts/check-rpc.shor full preflight withscripts/preflight.sh.
- Implement wallet connection path from passport-and-wallet:
- If app needs BTC-native + EVM wallet options, use Mezo Passport.
- If Passport is not required, use standard EVM wallet flow and manual network config.
- If task is Mezo Earn-related, follow mezo-earn-automation:
- Use canonical mainnet/testnet contracts from Mezo docs + tigris deployments.
- Build an epoch-aware automation loop around
vote,poke, and claims. - Apply safety limits for lock updates, votes, and incentive posting.
- Complete deployment sanity checks:
- Confirm RPC responds with expected chain id.
- Deploy contract using configured signer/provider.
- Confirm tx on correct explorer (
explorer.test.mezo.orgorexplorer.mezo.org).
- Apply Mezo-specific constraints before shipping:
- BTC is the gas asset.
- If user asks about Mezo Market feature readiness, enforce requirements in references (MUSD integration, audit report, mainnet functionality).
- If task is node/validator-related, follow mezod-and-validator-kit:
- Choose deployment mode (docker/native/helm/manual).
- Follow sync and operational requirements.
- Include PoA submission command only when validator onboarding is requested.
Quick Commands
# Testnet RPC health + chain id check
scripts/check-rpc.sh https://rpc.test.mezo.org 31611
# Mainnet provider check
scripts/check-rpc.sh https://rpc-http.mezo.boar.network 31612
# Preflight with signer + RPC failover
scripts/preflight.sh testnet ~/.config/openagents/mezo-agent.env
scripts/preflight.sh mainnet ~/.config/openagents/mezo-agent.env
Reference Files
- network-and-env: chain params, RPC endpoints, Hardhat/Foundry config, deployment verification.
- passport-and-wallet: Mezo Passport setup and wallet path decisioning.
- mezo-earn-automation: contract map, ABI methods, and agent automation loop for Mezo Earn.
- mezod-and-validator-kit: mezod prerequisites, validator-kit modes, sync/PoA operations.
More from openagentsinc/openagents
worker-logs
Tail and inspect Cloudflare Worker logs from the CLI. Use when debugging API 401/500, legacyparity auth, or web app errors. Covers both the homepage worker (apps/web) and the API worker (apps/api).
37moneydevkit
Money Dev Kit workflows for Lightning checkout and agent wallets.
36blink
Bitcoin Lightning wallet for agents — balances, invoices, payments, BTC/USD swaps, QR codes, price conversion, and transaction history via the Blink API. All output is JSON.
34l402
L402 agent commerce workflows with lnd, lnget, scoped macaroons, aperture, and MCP.
34charms
Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.
34neutronpay
Neutronpay MCP and SDK workflows for Lightning, stablecoin, and fiat payments.
34