Howto create a DApp
This documentation aims to guide developers in integrating with Archethic Wallet (aeWallet). It explains various communication methods and includes code snippets in Dart (Flutter) and Javacript / TypeScript.
If you are more interested in Archethic Wallet RPC protocol fundamentals, check these documents.
Before going further, you must have a minimal understanding of the way Archethic blockchain works.
If not, these docs are a good start
Introduction
Archethic wallets enable DApps (Decentralized Applications) to interact with the Archethic blockchain. This interaction is essential for:
- Signing transactions.
- Managing accounts.
While keeping your secrets protected in aeWallet.
Communication Channels
Below are the supported communication methods with Archethic wallets:
DApp platform | aeWallet platform | Channel | Typescript Lib | Flutter Lib |
---|---|---|---|---|
Web (Desktop browser) | Desktop | WebSocket | ✅ | ✅ |
Web (Mobile browser) | Mobile | Web Message Channel | ⛔️ Not implemented yet | ⛔️ Not implemented yet |
Web (Desktop browser) | Chrome Extension | Web Message Channel | ✅ | ✅ |
Desktop | Desktop | WebSocket | ✅ | ✅ |
Mobile | Mobile | DeepLink | ⛔️ | ✅ |
Mobile browsers are currently not supported. In the future, mobile wallet will support Web DApps through an embedded browser.
Tools and Libraries
- Flutter/Dart:
- Javascript/TypeScript: @archethicjs/sdk
- AEIP 4 / Specifications