rusk
rusk copied to clipboard
Support EVM-compatible wallets
Summary
Add support for EVM-compatible wallets to allow users to interact with the web wallet. This will make it easier for users to migrate their DUSK over, since they do not have to use an external app, nor do they have to copy in their Dusk address anywhere, since the wallet already has it available
Solution
Integrate the WalletConnect library into the existing web wallet codebase. Complementary to WalletConnect, a library like WAGMI can be used to create contract bindings and listen to changes in connectivity.
Given both libraries do not provide Svelte bindings, we need to rely on the Core/vanilla JS API. For an example implementation, see the bond wallet.ts.