Cashmere Agent SDK
The official TypeScript SDK for programmatic and AI-agent-driven USDC transfers:See the Agent Integration guide for AI framework-specific setup (LangChain, OpenAI function calling, crewAI).
Direct Integration (No SDK)
You can also integrate without the SDK:- Call the Gas API to fetch fees and signatures.
- Interact directly with the
CashmereCCTPcontracts. - Use the Monitoring API for analytics and monitoring.
This approach keeps client code transparent and portable across frameworks.
Helper Snippets
TypeScript Utility
Go Utility
Rust (Solana Client)
Ed25519Quote should mirror the Gas API response fields (signature, message, publicKey, fee, deadline, isNative, version).
Resources
- @cashmerelabs/cashmere-agent-sdk on GitHub — source code, issues, SKILL.md
- @cashmerelabs/cashmere-agent-sdk on NPM — published package
- Agent Integration Guide — LangChain, OpenAI, crewAI setup
- Contract Addresses — all deployed addresses