Overview
The goal is to add support for WebAssembly (WASM) dApps to SubConnect. An example of a WASM dApp is available at https://github.com/AstarNetwork/wasm-showcase-dapps.
Tasks
- Research the differences between a WASM dApp and a traditional dApp when connected to a Substrate or EVM wallet. Consider the following questions:
- How do they interact with the account list?
- How do they use signer objects published by the wallet?
- Implement a connector to enable WASM dApps to connect to Substrate or EVM wallets in the same way as traditional dApps.
- Fork the Astar dApps repository and move it into the
examples folder of SubConnect.
- Ensure that the Astar dApp can interact with the wallet via
packages/wallet-connect.
- Test and verify that the following features work correctly:
- Connecting to the wallet
- Signing data
- Sending transactions in the EVM interface
Overview
The goal is to add support for WebAssembly (WASM) dApps to SubConnect. An example of a WASM dApp is available at https://github.com/AstarNetwork/wasm-showcase-dapps.
Tasks
examplesfolder of SubConnect.packages/wallet-connect.