StarterServer Wallet v1OnchainKitOnramp
CDP Wallet Manager
The CDP Wallet Manager is a comprehensive web application that showcases the capabilities of the Coinbase Developer Platform (CDP) SDK. This project serves as a powerful demonstration of how developers can leverage CDP to build robust, user-friendly blockchain applications. To learn more about CDP, check out the developer docs.Key Features:
- Wallet Management: Create, view, and manage API Wallets across different networks.
- Address Handling: Generate and manage addresses within each wallet, supporting various blockchain networks.
- Balance Tracking: Real-time balance display for each address, supporting multiple cryptocurrencies.
- Faucet Integration: Easy access to testnet faucets for quick funding of addresses during development and testing.
- Transfer Functionality: Seamless creation and execution of cryptocurrency transfers between addresses.
- Onramp Support: Integration with Coinbase’s onramp feature, allowing users to buy cryptocurrencies directly within the application.
- Network Flexibility: Support for both mainnet and testnet environments, with easy switching between networks.
- Responsive Design: A clean, intuitive user interface that works across desktop and mobile devices.
- Dark Mode: Built-in dark mode support for enhanced user experience in different lighting conditions.
Getting Started
Get your API keys
Go to https://portal.cdp.coinbase.com/ and create an API key if you don’t already have one.Create an encryption key
This encryption key is used to secure your private keys stored in vercel postgres. You can generate one using the following command:Setup your environment variables
Create a.env
file in the root of the project with the following:
Run the Postgres DB
Run the app
app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
Deploy on Vercel
Desired features
- Tagging wallets with display name; more generally, metadata.
Video: Watch and learn
Watch the video to learn how to build a comprehensive wallet management application using CDP Wallets, which covers:- Create and manage multiple wallets
- View wallet details and balances
- Demonstrate advanced wallet operations