Async Rust client for the Circle Web3 Services Developer-Controlled Wallets API.
With Developer-Controlled Wallets, your backend service manages signing keys on behalf of users, enabling a seamless UX without user-managed private keys.
[dependencies]
circle-developer-controlled-wallets = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }use circle_developer_controlled_wallets::
{DeveloperWalletsClient, models::wallet::ListWalletsParams};
#[tokio::main]
async fn main() -> Result<(), circle_developer_controlled_wallets::Error> {
let client = DeveloperWalletsClient::new("your_api_key");
let params = ListWalletsParams::default();
let resp = client.list_wallets(¶ms).await?;
for wallet in &resp.data.wallets {
println!("Wallet {:?} on {:?}", wallet.id, wallet.blockchain);
}
Ok(())
}| Area | Endpoints |
|---|---|
| Wallet Sets | List wallet sets, Get wallet set |
| Wallets | List wallets, Get wallet, Create wallet, List balances, List NFTs |
| Transactions | Initiate transaction, List transactions, Get transaction, Cancel transaction |
| Signing | Sign message, Sign typed data |
| Tokens | Get token |
| Addresses | Validate address |
Obtain an API key from the Circle Developer Console and pass it to the client constructor, or set the CIRCLE_API_KEY environment variable.
Licensed under the Apache-2.0 License.