Installation
Last updated
Last updated
The Caishen SDK enables Python developers to easily connect to wallets, agents, and cash accounts across multiple chains including Ethereum, Solana, Bitcoin, Sui, and XRP. With just a few lines of code, you can automate balance checks, initiate transfers, and power AI-driven finance tools — all without managing seed phrases or wallet infrastructure.
Caishen's Python SDK is designed for backend services, bots, agents, and batch automation tasks. Whether you're building a DeFi app, running AI finance agents, or integrating payments into your backend, Caishen makes it simple and secure.
For Python (Backend/Automation)
httpx
, requests
, or a similar HTTP client
Familiarity with environment variables and JWT authentication
Access to your
PROJECT_KEY
: from your Caishen dashboard
PROJECT_SECRET
: used to generate JWTs
USER_ID
: can be any string that uniquely identifies your user in your system
: View working wallet + cash agent integrations.
: Common setup issues and sandbox tips.
: Full SDK code and dev toolkits.
Get help directly from the Caishen team or join the community.
🔗 Multi-chain wallet support
🌐 Supports major blockchains:
Ethereum
Bitcoin
Solana
Cardano
Sui, NEAR, Ripple, Tron, TON, Aptos
🔒 Secure wallet management
🐍 Typed Python API interfaces
💸 Token operations: Send, Balance, Swap, Deposit, Withdraw
You can authenticate as either a user or an agent.
Once connected, you can create wallets, check balances, send payments, and more.
Having trouble with finding the package? Another option is to install it from Git. You'll need to .