use-smart-contract-platform

Deploy, import, interact with, and monitor smart contracts via Circle Smart Contract Platform APIs.

1|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/Lightupwrld/Cycuxio --skill use-smart-contract-platform-lightupwrld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-smart-contract-platform
Source: https://github.com/Lightupwrld/Cycuxio/tree/main/.agents/skills/use-smart-contract-platform
Command: npx skills add https://github.com/Lightupwrld/Cycuxio --skill use-smart-contract-platform-lightupwrld

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @circle-fin/smart-contract-platform, @circle-fin/developer-controlled-wallets, and includes references (resource) components.

What problem does it solve? Managing smart contract lifecycles across multiple EVM chains requires juggling compilers, wallets, RPC endpoints, and event infrastructure. This Skill consolidates deployment, interaction, and event monitoring into Circle's Smart Contract Platform APIs so you can ship contract functionality without running your own node or key management stack. ## Core Features & Use Cases - Contract Deployment: Deploy from raw bytecode or audited templates (ERC-20, ERC-721, ERC-1155, Airdrop) across chains like Arc Testnet, Base, Ethereum, and Polygon. - ABI-Based Interaction: Query read-only functions with queryContract() and execute write transactions through Developer-Controlled Wallets with proper fee configuration. - Event Monitoring: Create webhook subscriptions for contract events like Transfer(address,address,uint256) and fetch historical event logs. - Use Case: Deploy an ERC-1155 token contract on Arc Testnet from a template, mint tokens to a wallet, then set up a webhook monitor to receive notifications whenever tokens are transferred. ## Quick Start Ask the AI to deploy an ERC-1155 template contract on Arc Testnet using Circle Smart Contract Platform and then monitor its Transfer events.

Frequently Asked Questions about use-smart-contract-platform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a smart contract with Circle Smart Contract Platform?

Call scpClient.deployContract() with your ABI JSON, 0x-prefixed bytecode, blockchain identifier, wallet ID, and constructor parameters. Deployment is asynchronous, so poll getContract() until deploymentStatus reaches COMPLETE.

How to deploy an ERC-20 or ERC-1155 token without writing Solidity?

Use scpClient.deployContractTemplate() with a template ID from the Contract Templates table, such as aea21da6-0aa2-4971-9a1a-5098842b1248 for ERC-1155. Provide templateParameters like name, defaultAdmin, and royalty settings.

Which blockchains does Circle Smart Contract Platform support?

Supported networks include Arbitrum, Arc Testnet, Avalanche, Base, Ethereum, Monad, OP Mainnet, Polygon PoS, and Unichain, with both mainnet and testnet variants. SCP is not available on Solana, Aptos, or NEAR.

Why does contract deployment fail with ESTIMATION_ERROR or PUSH0 errors?

Solidity 0.8.20 and later defaults to the Shanghai EVM version, which emits the PUSH0 opcode unsupported on chains like Arc Testnet. Recompile with evmVersion set to paris and redeploy the bytecode.

How do I monitor smart contract events with webhooks?

First import the contract with importContract(), then call createEventMonitor() with the blockchain, contract address, and an event signature like Transfer(address,address,uint256). Notifications arrive as webhook payloads containing topics and data fields.

What is the difference between read and write contract calls in Circle SCP?

Read queries for view or pure functions use scpClient.queryContract() and need no gas wallet. Write executions use walletsClient.createContractExecutionTransaction() from the Developer-Controlled Wallets SDK and require a funded wallet ID plus fee configuration.