safe-multisigPropose, confirm, and execute Safe multisig transactions using the Safe{Core} SDK (protocol-kit v6 / api-kit v4). TypeScript strict. Use when an agent needs to operate a Safe smart account — (1) create/predict a new Safe, (2) fetch Safe owners/threshold/nonce, (3) list pending multisig txs, (4) build + propose a tx, (5) add confirmations, (6) execute a tx onchain, or (7) troubleshoot Safe nonce/signature issues across chains (Base/Ethereum/Optimism/Arbitrum/Polygon/etc.).
Install via ClawdBot CLI:
clawdbot install openclaw-consensus-bot/safe-multisigTypeScript-strict scripts for interacting with Safe multisig accounts via:
All scripts use ethers v6, validate inputs (addresses, tx hashes), and output JSON.
cd <this-skill>
./scripts/bootstrap.sh
# sanity check network + service
./scripts/safe_about.sh --chain base
| Script | Description |
|--------|-------------|
| create-safe.ts | Predict address + optionally deploy a new Safe |
| safe-info.ts | Fetch Safe info (owners/threshold/nonce) |
| list-pending.ts | List pending (queued) multisig transactions |
| safe_txs_list.ts | List all multisig transactions (queued + executed) |
| propose-tx.ts | Create + propose a multisig tx |
| approve-tx.ts | Add an off-chain confirmation for a tx hash |
| execute-tx.ts | Execute a fully-confirmed tx onchain |
All scripts: npx tsx scripts/
npx tsx scripts/create-safe.ts \
--chain base \
--owners 0xOwner1,0xOwner2,0xOwner3 \
--threshold 2
Add --deploy + SAFE_SIGNER_PRIVATE_KEY to send the deployment tx.
npx tsx scripts/safe-info.ts --chain base --safe 0xYourSafe
npx tsx scripts/list-pending.ts --chain base --safe 0xYourSafe
Create a tx request JSON (see references/tx_request.schema.json and references/examples.md).
export SAFE_SIGNER_PRIVATE_KEY="..."
npx tsx scripts/propose-tx.ts \
--chain base \
--rpc-url "$BASE_RPC_URL" \
--tx-file ./references/example.tx.json
export SAFE_SIGNER_PRIVATE_KEY="..."
npx tsx scripts/approve-tx.ts \
--chain base \
--safe 0xYourSafe \
--safe-tx-hash 0x...
export SAFE_SIGNER_PRIVATE_KEY="..."
npx tsx scripts/execute-tx.ts \
--chain base \
--rpc-url "$BASE_RPC_URL" \
--safe 0xYourSafe \
--safe-tx-hash 0x...
All scripts accept:
--chain (recommended): e.g. base, base-sepolia, mainnet, arbitrum, optimism--tx-service-url : Override the transaction service URL--rpc-url : RPC endpoint (or RPC_URL env var)--api-key : Safe Transaction Service API key (or SAFE_TX_SERVICE_API_KEY env var)references/examples.md — example requests + workflowsreferences/tx_request.schema.json — tx request JSON shapereferences/tx_service_slugs.md — chain slugs + notesGenerated Mar 1, 2026
A decentralized autonomous organization uses the skill to manage its treasury held in a Safe multisig. Members propose transactions for funding grants or paying contributors, confirm votes off-chain to save gas, and execute payments once the threshold is met, ensuring transparent and secure fund allocation across Ethereum and Layer 2 networks like Base and Arbitrum.
A company employs the skill to handle multi-signature approvals for corporate payments or smart contract interactions. Authorized executives propose transactions, such as transferring funds or deploying contracts, and require confirmations from designated signers before execution, reducing fraud risk and automating audit trails on chains like Polygon or Optimism.
An NFT marketplace integrates the skill to manage escrow Safes for high-value transactions. Sellers and buyers use multisig to secure funds, with the marketplace proposing release transactions upon delivery confirmation and requiring approvals from both parties, ensuring trustless settlements on Ethereum or Base networks.
A bridge protocol uses the skill to operate Safes for managing liquidity pools across multiple chains. Operators propose transactions to rebalance assets or update parameters, with confirmations from a threshold of validators before execution, enhancing security and interoperability on networks like Arbitrum and Base.
A non-profit organization leverages the skill to distribute grants via a Safe multisig. Board members propose payments to recipients, confirm approvals off-chain to minimize costs, and execute transactions onchain, ensuring accountable and efficient fund disbursement on low-fee chains like Polygon or Base Sepolia.
Offer a subscription-based platform that uses this skill to provide automated Safe multisig tools for businesses. Clients pay monthly fees for features like transaction monitoring, proposal automation, and integration support, generating recurring revenue from enterprises managing decentralized treasuries or payment systems.
Provide consulting services to help organizations integrate this skill into their existing workflows, such as customizing scripts for specific chains or training teams on Safe operations. Charge project-based fees or hourly rates for setup, troubleshooting, and security audits, leveraging expertise in TypeScript and Safe{Core} SDK.
Develop a tool that uses this skill to optimize gas costs and nonce management for multisig transactions across chains. Monetize through a freemium model where basic features are free, but advanced analytics and batch processing require a paid license, targeting users in DeFi and DAOs seeking cost efficiency.
💬 Integration Tip
Ensure environment variables like SAFE_SIGNER_PRIVATE_KEY are securely managed using tools like dotenv or secret managers, and always verify chain configurations and Safe addresses before executing transactions to prevent errors.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.