rusk icon indicating copy to clipboard operation
rusk copied to clipboard

Support EVM-compatible wallets

Open HDauven opened this issue 7 months ago • 0 comments

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.

HDauven avatar Jul 24 '24 08:07 HDauven