--- id: cdp-sdk version: "1.47.1" license: MIT license_treatment: permissive maintenance: active --- # cdp-sdk — CDP SDK License: permissive · Maintenance: active · Downloads: 79.4K/mo ## What it is and what it does The CDP SDK is a Python client for Coinbase's Developer Platform that abstracts blockchain account management and transaction operations across EVM and Solana networks. It provides async-first APIs to create accounts (with optional import from existing private keys), manage transaction permissions through policies, and execute blockchain operations like token transfers and swaps. The client handles authentication via API keys and wallet secrets, manages connection pooling internally, and is designed to be instantiated once per application lifecycle and reused across concurrent operations. The package wraps lower-level blockchain libraries (web3, solana, solders) and Coinbase's own APIs, letting developers focus on application logic rather than key management, signing, or network details. It supports both simple accounts and EVM smart accounts, end-user management for multi-tenant scenarios, and webhook subscriptions for transaction events. Use it for: - Build a custodial wallet service that creates and manages user accounts on EVM or Solana without exposing private keys - Implement transaction policies to enforce spending limits or approval workflows before blockchain operations execute - Create a multi-chain token swap interface that abstracts EVM swap mechanics through the SDK's high-level API - Develop a serverless function that processes blockchain transactions on-demand, reusing a singleton CDP client across invocations - Manage end-user accounts and delegated operations in a multi-tenant application with fine-grained access control ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for the Coinbase Developer Platform that enables creating and managing EVM and Solana blockchain accounts, sending transactions, and interacting with wallet and policy APIs. Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and requires Python 3.10+. It is purpose-built for Coinbase platform users who need programmatic account and transaction management across EVM and Solana. Install it if you are building on Coinbase Developer Platform; avoid it if you need a general-purpose web3 library or are not using Coinbase's infrastructure. ## Install pip install cdp-sdk uv add cdp-sdk poetry add cdp-sdk ## Installing cdp-sdk Before you install: Low install friction with a pure Python wheel distribution. The package is actively maintained with a recent release and depends on well-established libraries like aiohttp, web3, and solana for async HTTP and blockchain operations. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects. Quickstart: pip install cdp-sdk from cdp import CdpClient import asyncio async def main(): async with CdpClient( api_key_id="YOUR_API_KEY_ID", api_key_secret="YOUR_API_KEY_SECRET", wallet_secret="YOUR_WALLET_SECRET", ) as cdp: account = await cdp.evm.create_account() print(account) asyncio.run(main()) Requires Python 3.10 or later. You must obtain a Coinbase Developer Platform API Key ID, API Key Secret, and Wallet Secret from the Coinbase portal before initializing the client. Verify before relying: - Whether the SDK supports all EVM chains or is limited to specific networks - Rate limiting or quota details for the Coinbase Developer Platform API - Whether smart account functionality requires additional setup beyond the owner account ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 79.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags coinbase blockchain SDK, EVM Solana account management, cryptocurrency wallet API client, blockchain transaction library, web3 account creation, CDP API Python client, crypto wallet SDK, blockchain, async-first, coinbase [View on SkillFed](https://skillfed.io/packages/cdp-sdk) · [View on PyPI](https://pypi.org/project/cdp-sdk/)