This project shows how to use Cobo's WaaS 2 APIs/SDKs to create a basic User-Controlled Wallets (UCW) Flutter App.
-
Set Up Flutter: Make sure you have Flutter installed on your machine. If not, follow the Flutter official documentation
-
Run the App: Use the following commands in your terminal to fetch dependencies, and run the app:
fvm flutter pub get
fvm flutter run
- Initial Setup:
- User login
- Install and initialize the UCW SDK
- Create a vault and a Main Group
- Wallet Management:
- Create a wallet and generate an address
- Perform transactions
- Backup your secrets data
For detailed instructions, refer to the Cobo developer documentation Get started with MPC Wallets
- WaaS API Usage: The app integrates with the Cobo WaaS 2 Demo Server to leverage the WaaS API for various UCW wallet functionalities.
- UCW SDK Integration: It uses the Cobo UCW Flutter SDK to manage the creation of the MPC Main Key group and execute web3 transaction signing seamlessly.