use-smart-contract-platform

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

1|Updated Sep 4, 2025
One-click install
npx skills add https://github.com/FuzzysTodd/The-Nexus-Protocol-Token-DAO --skill use-smart-contract-platform-fuzzystodd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: use-smart-contract-platform
Source: https://github.com/FuzzysTodd/The-Nexus-Protocol-Token-DAO/tree/main/skills/use-smart-contract-platform
Command: npx skills add https://github.com/FuzzysTodd/The-Nexus-Protocol-Token-DAO --skill use-smart-contract-platform-fuzzystodd

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, wallet infrastructure, ABI interactions, and event monitoring. This Skill consolidates those workflows into Circle's Smart Contract Platform APIs, so you can deploy contracts, execute on-chain calls, and track events without building custom infrastructure. ## Core Features & Use Cases - Contract Deployment: Deploy from raw bytecode or audited templates for ERC-20, ERC-721, ERC-1155, and airdrop contracts across chains like Ethereum, Base, Polygon, and Arc. - ABI-Based Interaction: Run read queries via the SCP client and write transactions via Developer-Controlled Wallets with proper transaction state tracking. - Event Monitoring: Register webhook subscriptions for contract events and retrieve historical logs. - Use Case: Launch an ERC-20 loyalty token on Base Sepolia by deploying the audited Token template, then mint initial supply through a wallet execution transaction and monitor Transfer events via webhook. ## Quick Start Ask the AI to deploy an ERC-20 token contract on Arc Testnet using the Circle Smart Contract Platform template with your configured API key and entity secret.

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 deployContract with compiled bytecode prefixed with 0x, or use audited templates for ERC-20, ERC-721, ERC-1155, and airdrop contracts. Deployment is asynchronous, so poll getContract for deploymentStatus until it completes.

How do I call a smart contract function using Circle APIs?▼

Read functions use scpClient.queryContract with the ABI signature and require no gas wallet. Write functions use walletsClient.createContractExecutionTransaction from the Developer-Controlled Wallets SDK, requiring a funded wallet ID.

Which blockchains does Circle Smart Contract Platform support?▼

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

Why does my contract deployment fail with ESTIMATION_ERROR?▼

This error typically occurs when bytecode contains the PUSH0 opcode from Solidity 0.8.20 or later defaulting to Shanghai EVM. Compile with evmVersion set to paris, then redeploy with the corrected bytecode.

How do I monitor smart contract events with webhooks?▼

Import the contract into SCP first, then create an event monitor with the exact event signature format EventName(type1,type2) with no spaces. Notifications are delivered via webhook, and historical logs can be retrieved through the API.

What is an idempotency key in Circle API requests?▼

An idempotency key is a UUID v4 string required for all mutating SCP operations to prevent duplicate requests. Generate one with crypto.randomUUID() and never reuse it across different API calls.