abstract-onboard
Deploy smart contracts and bridge assets to Abstract (ZK Stack L2). Use when an agent needs to deploy contracts on Abstract, bridge ETH/tokens to Abstract, trade/swap tokens, check balances, transfer assets, or interact with Abstract mainnet. Covers zksolc compilation, Hardhat deployment, Relay bridging, DEX trading, and key contract addresses.
Why use this skill?
Deploy contracts, bridge assets, and manage your Abstract Global Wallet with this comprehensive AI agent toolkit for the Abstract ZK Stack L2 network.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/masoncags-tech/abstract-toolkitWhat This Skill Does
The abstract-onboard skill provides a comprehensive toolkit for AI agents to interact with the Abstract blockchain (a ZK Stack L2 network). It simplifies complex operations such as deploying smart contracts, bridging assets from other chains, managing Abstract Global Wallets (AGW), and executing on-chain transactions like token swaps and transfers. By leveraging specialized scripts for zksolc compilation, Hardhat deployment, and Relay integration, this skill serves as the primary gateway for agents to become active participants on the Abstract network. Whether your agent needs to check token balances, execute contract logic, or participate in the ecosystem by earning XP through AGW, this skill handles the heavy lifting of blockchain interaction.
Installation
To integrate this skill into your agentic environment, execute the following command via the ClawHub CLI:
clawhub install openclaw/skills/skills/masoncags-tech/abstract-toolkit
Ensure you have the core dependencies installed in your project:
npm install ethers zksync-ethers viem @matterlabs/hardhat-zksync @abstract-foundation/agw-client
Use Cases
- Asset Management: Automatically bridge ETH from Ethereum or other L2s to Abstract to fund operations.
- Smart Contract Lifecycle: Deploy decentralized applications directly from the agent using Abstract-compatible configurations.
- On-chain Interaction: Perform arbitrary read/write operations on any deployed contract using ABI-based script calls.
- DEX Trading: Execute automated token swaps between ETH and ecosystem tokens like USDC to optimize agent liquidity.
- Agent Identity: Create and maintain an Abstract Global Wallet (AGW) to track on-chain reputation and earn network-specific XP for your agent.
Example Prompts
- "Please bridge 0.05 ETH from Base to Abstract and then swap 50% of the received balance for USDC using the DEX router."
- "Deploy the contract located at ./artifacts/AgentVault.json to the Abstract mainnet and confirm the transaction receipt."
- "Check the current USDC balance of my AGW address and report any anomalies if the balance is below 10 USDC."
Tips & Limitations
- Gas Handling: Always ensure your wallet is sufficiently funded before initiating deployments. If gas estimation fails, revert to standard Hardhat configurations instead of foundry-zksync.
- Versioning: Ensure you are using Solidity version 0.8.x with the zksolc compiler to avoid common deployment errors.
- Transaction Monitoring: Always verify transaction status on abscan.org if an operation appears to be stuck.
- Security: Always protect your private keys. Store them in environment variables rather than hard-coding them into scripts. Use the
scripts/check-balances.jsutility frequently to maintain awareness of agent assets.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-masoncags-tech-abstract-toolkit": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution