Polygon for Openclaw

A specialized skill for managing transactions, bridging assets, and navigating the nuances of Polygon PoS and zkEVM networks.

ivangdavila
v1.0.0
Feb 11, 2026
2
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install polygon

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install polygon using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Polygon?

This skill provides a comprehensive framework for AI agents to interact with the Polygon ecosystem. It addresses the critical distinctions between Polygon PoS and the zkEVM rollup, ensuring that agents do not lose funds due to network confusion. By utilizing this within Openclaw Skills, users gain access to technical knowledge regarding the MATIC to POL rebranding, gas token requirements, and the specific security models of various bridging protocols.

The skill acts as a technical safeguard, providing the necessary RPC configurations, Chain IDs, and transaction lifecycle steps. It simplifies the complexity of Ethereum-compatible sidechains and rollups, making it an essential component for any developer building on Openclaw Skills for decentralized finance or NFT management.

Polygon Use Cases

  • Distinguishing between Polygon PoS (MATIC gas) and Polygon zkEVM (ETH gas) to prevent transaction failures.
  • Navigating the official bridge for secure asset transfers or selecting third-party bridges for faster withdrawals.
  • Managing the migration process from MATIC tokens to the new POL standard.
  • Optimizing gas strategies during high-traffic events like NFT mints or popular DeFi launches.
  • Automating wallet configurations for MetaMask and other Web3 providers using validated RPC data.

How Polygon Works

  1. The agent identifies the specific Polygon sub-network (PoS or zkEVM) required for the requested operation.
  2. It verifies the presence of the correct native gas token (MATIC for PoS or bridged ETH for zkEVM) before initiating transactions.
  3. For cross-chain movements, the skill determines the optimal bridge path, accounting for the 7-day withdrawal period on official checkpoints.
  4. Transaction parameters are formatted according to the EIP-1559 model, ensuring appropriate priority fees for inclusion.
  5. Post-execution, the skill leverages block explorers like Polygonscan to monitor transaction finality and contract interactions.

Polygon Setup

To integrate this capability into your agent environment, configure your workspace using the following steps:

# Initialize the Polygon environment within Openclaw Skills
openclaw add polygon-network

# Configure the default RPC for Polygon PoS
export POLYGON_RPC_URL="https://polygon-rpc.com"

# Set the Chain ID for zkEVM operations
export ZKEVM_CHAIN_ID=1101

Polygon Data Schema & Taxonomy

The skill organizes network and token metadata to ensure precision across all operations:

Property Polygon PoS Details Polygon zkEVM Details
Chain ID 137 1101
Gas Token MATIC (rebranding to POL) ETH
Bridge Logic Plasma / PoS Bridge ZK-Rollup Bridge
Withdrawal Time ~3 hours to 7 days Minutes to hours (ZK-proof dependent)
Block Explorer polygonscan.com zkevm.polygonscan.com

Polygon Advanced Features

  • Support for liquid staking protocols including stMATIC and MaticX delegation.
  • Automated monitoring of checkpoint mechanisms for secure withdrawal tracking.
  • Priority gas fee estimation based on real-time network congestion data.
  • Smart contract approval management to facilitate secure interaction with DeFi protocols like QuickSwap and Aave.
  • Multi-network address validation to prevent asset loss during cross-chain transfers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*