Installation
Quick start
1. Read-only operations
For read-only operations (listing wallets, fetching balances, etc.), you only need an auth token:2. Signing requests
State-changing operations (creating wallets, signing transactions, etc.) require cryptographic request signing. Choose your approach based on where the private key lives:- Direct signing
- Delegated signing
Use
DfnsClient with a KeySigner when your backend has direct access to the private key (e.g., stored in a file or environment variable).This is ideal for service accounts where the private key is securely stored on your server.Next steps
- Create a service account for server-to-server authentication with long-lived tokens
- Development guide for detailed request signing architecture
- Delegated wallets for implementing user passkey flows