dfinity / wg-identity-authentication

Repository of the Identity and Wallet Standards Working Group
https://wiki.internetcomputer.org/wiki/Identity_%26_Authentication
Apache License 2.0
26 stars 8 forks source link

WalletConnect integration #18

Open benjizhai opened 1 year ago

benjizhai commented 1 year ago

During discussions with multiple parties both inside Dfinity and in the community, we seem to agree that while II is great as a next-gen identity solution, it is not suitable as a wallet. Moreover everyone should be able to develop a wallet for their specific usecase without requiring Dapp developers to integrate the wallet specifically.

Thus we propose to introduce a standard wallet interface on the IC, which would serve a similar purpose as WalletConnect on Ethereum, while leveraging IC specific technology.

benjizhai commented 1 year ago
sequenceDiagram
  DApp->>Service: Request Connection
  DApp->>Wallet: Display QR/deeplink
  Service->>Wallet: Get Session Request
  Wallet->>Service: Post Session Status
  Service->>DApp: Get Session Status
benjizhai commented 1 year ago

After discussions at the WG, we agree that instead of coming up with our own WalletConnect-like interface, we would go for an integration with WalletConnect instead.

Steps:

  1. CAIP PRs
  2. Implementation details