coinbase-prod

📁 mintlify/com
3
总安装量
3
周安装量
#32688
全站排名
安装命令
npx skills add mintlify --skill coinbase-prod

Agent 安装分布

opencode 3
cursor 3
codex 3
kilo 2
windsurf 2
clawdbot 2

Skill 文档

Capabilities

The Coinbase Developer Platform (CDP) enables agents to build and interact with blockchain applications through a comprehensive suite of APIs and SDKs. Agents can create wallets, execute trades, manage payments, deploy smart contracts, stake assets, and analyze onchain data across multiple blockchain networks including Ethereum, Base, Solana, and other EVM-compatible chains.

Skills

Wallet Management

  • Create and manage wallets: Generate secure crypto wallets with CDP-managed keys or user-controlled embedded wallets
  • Multi-network support: Deploy wallets across EVM chains (Ethereum, Base, Polygon, etc.) and Solana
  • Smart accounts: Create EIP-4337 smart contract wallets with gas sponsorship and transaction batching
  • Account operations: Import/export accounts, manage multiple addresses, rotate wallet secrets
  • Authentication methods: Support email OTP, SMS, social logins (Google, Apple), and custom auth

Payment Processing

  • Onramp/Offramp: Convert between fiat and crypto using Coinbase accounts or guest checkout
  • Token transfers: Send and receive crypto payments across supported networks
  • x402 protocol: Enable programmatic HTTP-based micropayments for APIs and services
  • Payment links: Create shareable payment links for invoicing and commerce
  • USDC rewards: Earn 3.35% rewards on USDC balances in CDP wallets

Trading and Swaps

  • Token swaps: Execute onchain swaps with sub-500ms latency across DEXes
  • Advanced trading: Access order books, market data, and execute complex trading strategies
  • Price discovery: Get real-time quotes and best execution prices
  • Slippage protection: Built-in MEV protection and optimized gas management
  • Multi-asset support: Trade spot, futures, and perpetual contracts

Smart Contract Operations

  • Deploy contracts: Create ERC-20 tokens, ERC-721 NFTs, and ERC-1155 multi-tokens
  • Contract interactions: Read and write to smart contracts, call functions
  • Custom contracts: Deploy escrow contracts, DeFi protocols, and gaming assets
  • Message signing: Sign messages with EIP-191 and EIP-712 standards
  • Gas management: Sponsor gas fees for users via paymaster integration

Staking Services

  • Multi-protocol staking: Stake ETH (shared or dedicated validators), SOL, and other assets
  • Rewards tracking: Monitor staking balances and accrued rewards over time
  • Validator management: Choose validators and manage delegation
  • Unstaking operations: Handle withdrawal requests and claim rewards
  • Historical data: Access staking balance history and performance metrics

Onchain Data & Analytics

  • SQL queries: Query blockchain data with CoinbaSeQL (sub-500ms latency)
  • Real-time webhooks: Subscribe to onchain events with guaranteed delivery
  • Token balances: Get current and historical token balances for any address
  • Transaction history: Access complete wallet transaction records
  • Address monitoring: Track wallet activity and balance changes

AI Agent Tools (AgentKit)

  • Autonomous operations: Enable AI agents to perform blockchain transactions
  • Secure wallet access: Manage agent wallets with policy-based controls
  • Framework integration: Compatible with LangChain, Eliza, Vercel AI SDK
  • Model Context Protocol: MCP server for Claude and other AI assistants
  • Natural language actions: Convert text commands to blockchain operations

Workflows

Create and Fund a Wallet

  1. Initialize CDP SDK with API credentials
  2. Create a new wallet (EOA or smart account)
  3. Generate deposit address
  4. Use onramp API to convert fiat to crypto
  5. Monitor balance via webhooks or polling

Execute a Token Swap

  1. Get price quote for desired token pair
  2. Review slippage and gas estimates
  3. Create and sign swap transaction
  4. Submit transaction to network
  5. Monitor execution status

Deploy an NFT Collection

  1. Create wallet for deployment
  2. Prepare NFT metadata and assets
  3. Deploy ERC-721 contract
  4. Mint NFTs to specified addresses
  5. Track ownership and transfers

Build a Payment Application

  1. Set up embedded wallets for users
  2. Implement authentication flow
  3. Create payment UI with CDP React components
  4. Process payments via transfers or x402
  5. Handle webhooks for payment confirmations

Implement Staking

  1. Check available staking options for asset
  2. Select validator and staking amount
  3. Build and broadcast staking transaction
  4. Monitor staking status and rewards
  5. Handle unstaking when needed

Integration

Compatible Frameworks

  • Frontend: React, Next.js, React Native, vanilla JavaScript
  • Backend: Node.js, Python, Go, Rust
  • AI Frameworks: LangChain, Vercel AI SDK, Eliza, Claude MCP
  • Web3 Libraries: viem, ethers.js, web3.js, web3.py

Supported Networks

  • EVM Networks: Ethereum, Base, Arbitrum, Optimism, Polygon, Avalanche
  • Non-EVM: Solana
  • Testnets: Base Sepolia, Ethereum Sepolia, Solana Devnet

Authentication Providers

  • OAuth: Google, Apple
  • Web3: MetaMask, Coinbase Wallet
  • Traditional: Email OTP, SMS OTP

External Services

  • DEX Aggregation: 0x protocol integration
  • Fiat Rails: ACH, debit cards, Apple Pay
  • KYC/Compliance: Built-in travel rule support

Context

Security Architecture

CDP uses Trusted Execution Environments (TEEs) to secure private keys, ensuring cryptographic material is never exposed. Wallet secrets are device-specific and rotatable. Smart accounts provide additional security through account abstraction.

Rate Limits and Performance

  • API rate limits vary by endpoint (typically 10-100 requests/second)
  • Sub-500ms latency for trading and data queries
  • Webhook delivery with automatic retries
  • High-throughput support for trading bots

Compliance Features

  • Travel rule compliance for transfers
  • KYC integration options
  • Geographic restrictions support
  • Audit trails for all operations

Developer Resources

  • Comprehensive SDKs in TypeScript, Python, Go, and Rust
  • Interactive API playground in CDP Portal
  • Demo applications and starter templates
  • Active Discord community for support

Pricing Considerations

  • USDC rewards: 3.35% on balances
  • Gas sponsorship available via paymaster
  • Fee-free USDC transfers on Base via x402
  • Volume-based pricing for enterprise

For additional documentation and navigation, see: https://docs.cdp.coinbase.com/llms.txt