Registry / payments / cdp-sdk

cdp-sdk

JSON →
library1.47.0pypypi✓ verified 79d ago

The Coinbase Developer Platform SDK for Python enables developers to build onchain applications using Coinbase's APIs. Version 1.44.0 requires Python >=3.10. Release cadence is active, with frequent updates.

pip install cdp-sdk
INSTALL
IMPORT
SIG · CDP-SDK
C
cdp-sdk
paymentspythonv1.47.0
Install
12.1s avg
Import
Disk
148MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.47.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 15.5s
py 3.11
✓ —
✓ 12.7s
py 3.12
✓ —
✓ 9.8s
py 3.13
✓ —
✓ 10.5s
py 3.9
✕ build_error
✕ build_error
148MB installed
● package 148MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CdpClient
from cdp import CdpClient
from cdp import Cdp

Quickstart: configure API key and create a wallet.

import os from cdp import Cdp, Wallet Cdp.configure(api_key_name=os.environ.get('CDP_API_KEY_NAME', ''), api_key_private_key=os.environ.get('CDP_API_KEY_PRIVATE_KEY', '')) # Create a wallet wallet = Wallet.create(network_id='base-sepolia') print(f"Wallet created: {wallet.id}")
Debug
Known issues
breakingVersion 1.0.0 renamed from coinbase-sdk to cdp-sdk. All imports changed from coinbase_sdk.* to cdp.*. Update imports and pip install.
fix
pip uninstall coinbase-sdk; pip install cdp-sdk; change all 'from coinbase_sdk' to 'from cdp'.
affects: <1.0.0
gotchaCdp.configure() must be called exactly once at the start of your application. Calling it multiple times will raise an exception.
fix
Ensure Cdp.configure() is called only once (e.g., at module level or in app init).
affects: all
deprecatedThe method Wallet.create() with no arguments defaults to base-mainnet. Always specify network_id to avoid accidentally creating a mainnet wallet.
fix
Always pass network_id='base-sepolia' (or desired testnet) to Wallet.create().
affects: all
Upgrade
Version history
1.47.0latest on PyPI · released May 28, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
56 hits · last 30 days
node
50
Perplexity
1
OpenAI (training)
1
Resources
cdp-sdk — pip install cdp-sdk · libregistry