com.coinbase.cdp package.
Installation
The Java SDK is distributed through GitHub Packages. Configure Gradle with a GitHub token that has theread:packages scope.
- Add credentials to
~/.gradle/gradle.properties:
- Add the GitHub Packages repository and dependency to
build.gradle.kts:
Configure a client
CDP_WALLET_SECRET is required only for operations that require wallet authentication. API-key-authenticated flexible custody operations do not require it.
API resources
The client exposes API resources such as:client.evmAccounts()andclient.evmSmartAccounts()client.solanaAccounts()client.accounts(),client.paymentMethods(),client.depositDestinations(), andclient.transfers()client.policyEngine(),client.endUserAccountManagement(), andclient.endUserAccounts()