A Next.js-based API service for DeFi operations on Starknet, providing wallet management, token operations, and Vesu protocol integration.
- Account Creation: Deploy ArgentX accounts on Starknet with gasless transactions
- Balance Tracking: Real-time balance queries for BTC and USD tokens
- Token Operations: Send, swap, and manage various tokens
- Secure Storage: PIN-based encryption for private keys
- Position Management: Create and manage lending positions
- Pool Analytics: Real-time APY and utilization data
- Multi-Asset Support: BTC and USD position handling
- Yield Optimization: Automated yield farming strategies
- Bearer Token Auth: Secure API access control
- CORS Support: Cross-origin request handling
- Encrypted Storage: AES encryption for sensitive data
- Gasless Transactions: User-friendly transaction experience
cavos-core/
├── app/
│ ├── api/
│ │ └── v1/
│ │ ├── card/
│ │ │ └── waitlist/ # Card waitlist endpoints
│ │ ├── invitation/
│ │ │ └── code/ # Invitation code endpoints
│ │ ├── transaction/ # Transaction endpoints
│ │ ├── user/
│ │ │ ├── profile/ # User profile endpoints
│ │ │ └── wallet/ # User wallet endpoints
│ │ ├── vesu/
│ │ │ ├── pool/
│ │ │ │ └── apy/ # Vesu pool APY analytics
│ │ │ ├── position/
│ │ │ │ ├── btc/
│ │ │ │ │ ├── create/ # Create BTC position
│ │ │ │ │ └── withdraw/ # Withdraw BTC position
│ │ │ │ ├── usd/
│ │ │ │ │ ├── claim/ # Claim USD position
│ │ │ │ │ ├── create/ # Create USD position
│ │ │ │ │ └── withdraw/ # Withdraw USD position
│ │ │ └── positions/ # List all Vesu positions
│ │ └── wallet/
│ │ ├── btc/
│ │ │ └── balance/ # BTC wallet balance
│ │ ├── create/ # Create a new wallet
│ │ └── usd/
│ │ ├── balance/ # USD wallet balance
│ │ ├── send/ # Send USD tokens
│ │ └── swap/ # Swap USD tokens
│ └── lib/
│ └── authUtils.ts # Authentication utilities
├── package.json
├── tsconfig.json
└── README.md
POST /api/v1/card/waitlist– Card waitlist operationsPOST /api/v1/invitation/code– Invitation code managementPOST /api/v1/transaction– Transaction operationsPOST /api/v1/user/profile– User profile managementPOST /api/v1/user/wallet– User wallet operationsPOST /api/v1/vesu/pool/apy– Vesu pool APY analyticsPOST /api/v1/vesu/position/btc/create– Create BTC positionPOST /api/v1/vesu/position/btc/withdraw– Withdraw BTC positionPOST /api/v1/vesu/position/usd/create– Create USD positionPOST /api/v1/vesu/position/usd/withdraw– Withdraw USD positionPOST /api/v1/vesu/position/usd/claim– Claim USD positionPOST /api/v1/vesu/positions– List all Vesu positionsPOST /api/v1/wallet/btc/balance– BTC wallet balancePOST /api/v1/wallet/usd/balance– USD wallet balancePOST /api/v1/wallet/usd/send– Send USD tokensPOST /api/v1/wallet/usd/swap– Swap USD tokensPOST /api/v1/wallet/create– Create a new wallet
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by the Cavos Development Team