use-smart-contract-platform

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

3|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/levantuy/arc-quantum --skill use-smart-contract-platform-levantuy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-smart-contract-platform
Source: https://github.com/levantuy/arc-quantum/tree/main/.agents/skills/use-smart-contract-platform
Command: npx skills add https://github.com/levantuy/arc-quantum --skill use-smart-contract-platform-levantuy

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 blockchains requires juggling deployment tooling, ABI encoding, wallet gas management, and event monitoring. This Skill consolidates those workflows into guided patterns using Circle's Smart Contract Platform and Developer-Controlled Wallets SDKs. ## Core Features & Use Cases - Contract Deployment: Deploy contracts from raw bytecode or audited templates (ERC-20, ERC-721, ERC-1155, Airdrop) across nine supported networks. - Contract Interaction: Execute ABI-based read queries and write transactions with proper fee configuration and async transaction polling. - Event Monitoring: Create webhook-based event monitors and fetch historical event logs for imported contracts. - Use Case: Deploy an ERC-1155 token contract on Arc Testnet from a template, mint tokens to a wallet, and set up a webhook to receive Transfer event notifications. ## Quick Start Ask the assistant to deploy an ERC-1155 template contract on Arc Testnet using the Circle Smart Contract Platform SDK and confirm the deployment status.

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?

Deploy contracts by calling scpClient.deployContract with ABI JSON, 0x-prefixed bytecode, constructor parameters, and a wallet ID, or use deployContractTemplate with a template ID for audited ERC-20, ERC-721, or ERC-1155 contracts. Deployment is asynchronous, so poll getContract for deploymentStatus.

How to execute a write function on a deployed smart contract?

Execute write functions using walletsClient.createContractExecutionTransaction with the wallet ID, contract address, ABI function signature, and parameters. Read-only view functions instead use scpClient.queryContract and require no gas wallet.

Which blockchains does Circle Smart Contract Platform support?

Supported networks include Arbitrum, Arc, Avalanche, Base, Ethereum, Monad, OP Mainnet, Polygon PoS, and Unichain, each with mainnet and testnet identifiers like ETH-SEPOLIA or ARC-TESTNET. Solana, Aptos, and NEAR are not supported.

Why does contract deployment fail with ESTIMATION_ERROR or PUSH0 errors?

Deployment fails when Solidity 0.8.20 or later compiles with the default Shanghai EVM version, producing the PUSH0 opcode unsupported on chains like Arc Testnet. Compile with evmVersion set to paris or earlier to resolve this.

How do I monitor smart contract events with webhooks?

Monitor events by first importing the contract with importContract, then calling createEventMonitor with the blockchain, contract address, and event signature like Transfer(address,address,uint256). Notifications arrive via webhook, and historical logs are available through getEventHistory.

What happens when importing a contract that already exists?

Importing a duplicate contract returns error 175004. Recover by calling listContracts for the blockchain, matching the address case-insensitively, and retrieving the existing contract ID with getContract instead of failing the flow.