Since this is a server-side SDK, the wallets are not self-custodial.
1
Install the Backend SDK
2
Get your API Keys
- Go to your API Keys in the Chipi Dashboard
- Copy your Public Key (
pk_prod_xxxx
) and Secret Key (sk_prod_xxxx
)
Keep your Secret Key secure and never expose it in client-side code or version control.
3
Initialize the SDK
Create a new instance of the ChipiServerSDK with your API keys:
4
Create Your First Wallet
Now you can create a wallet for your users:
5
Make Your First Transfer
Transfer tokens between wallets:
6
Environment Variables (Recommended)
For production applications, store your API keys as environment variables:Then initialize the SDK:
Next Steps
Now that you have the basic setup working, explore more advanced features:- Wallet Management - Complete wallet operations
- API Reference - Full API documentation
Security Best Practices
- Never expose your secret API key in client-side code
- Use environment variables for API keys in production
- Validate user inputs before making API calls
- Implement proper error handling and logging
Need help? Join our Telegram Community for support and to connect with other developers.