proposals icon indicating copy to clipboard operation
proposals copied to clipboard

Capacitor WalletConnect (Metamask)

Open mariusbolik opened this issue 3 years ago • 22 comments

Plugin Request

Name: WalletConnect Package: @capacitor-community/walletconnect

Platform(s)

  • iOS
  • Android

Existing Solutions

There's no Cordova or Capacitor Plugin available, but WalletConnect provides an iOS and Android SDK:

  • https://docs.walletconnect.com/quick-start/wallets/swift
  • https://docs.walletconnect.com/quick-start/wallets/kotlin

Description

WalletConnect is an easy solution to authenticate users using a Cryptocurrency Wallet App like Metamask. This makes it possible to use the advantages of Web3. The users doesn't need an email address or password to authenticate. The Capacitor Plugin should open the desired Wallet app and receive a callback that can be used to authenticate the user.

Example from Opensea App:

https://user-images.githubusercontent.com/39862171/160425362-f321c2f4-3d50-4867-922b-92c3bc24f4f0.MP4

mariusbolik avatar Mar 28 '22 15:03 mariusbolik

yes please

reslear avatar May 09 '22 16:05 reslear

Please this will really be helpful

ehiosunbishop avatar May 19 '22 04:05 ehiosunbishop

@nomadcalendar @joeflateau

reslear avatar May 19 '22 15:05 reslear

Please this is needed.....

tolutronics avatar Jun 08 '22 06:06 tolutronics

This is so needed

olegfkl avatar Jun 10 '22 20:06 olegfkl

i did make some research on it, i didn't found any doc for the kotlin lib :/ For info it look like the tuto of react native could work in ionic https://docs.walletconnect.com/quick-start/wallets/react-native

riderx avatar Jun 11 '22 02:06 riderx

We have put together an iOS plugin for this - where do we submit the PR? @imhoffd @IT-MikeS

nomadcalendar avatar Jul 04 '22 16:07 nomadcalendar

We have put together an iOS plugin for this - where do we submit the PR? @imhoffd @IT-MikeS

Hey @nomadcalendar, thank you for your effort! If you haven't seen already, you can join the Slack Workspace to coordinate the submission of the plugin to the official capacitor community GitHub organization. More here: https://github.com/capacitor-community/welcome#create-a-new-plugin

mariusbolik avatar Jul 06 '22 17:07 mariusbolik

@mariusbolik the link to join the slack is broken, why that not in the official discord ?

riderx avatar Jul 07 '22 07:07 riderx

@mariusbolik any word on this? unable to join Slack either and would ideally like to get this merged by next week since otherwise it will have to wait until September...

nomadcalendar avatar Jul 13 '22 01:07 nomadcalendar

@nomadcalendar I saw you found your way into the Discord Server. Seems like they moved from Slack!

mariusbolik avatar Jul 14 '22 11:07 mariusbolik

hi, any update on this, i have implemented a real estate dapp, which is a webapp then converted into mobile app using cordova, but wallet connect is not opening metamask in that app

sathudeva7 avatar Aug 01 '22 06:08 sathudeva7

Actually happy to put a cash bounty on this of $2k

@tafelnl @robingenz Would either of you be interested in helping ship this to the community?

I have created a plugin for this, anyone who needs the code can contact me at [email protected] Thanks.

rajatpathak avatar Aug 19 '22 04:08 rajatpathak

@rajatpathak please make it open source on the end ❤️

riderx avatar Aug 19 '22 13:08 riderx

@rajatpathak please make it open source on the end ❤️

Yes, waiting for the bounty amount. ;) https://www.paypal.com/paypalme/appentustech

rajatpathak avatar Aug 22 '22 04:08 rajatpathak

Here is the Open Source Version of the Plugin by @nomadcalendar: https://github.com/nomadcalendar/capacitor-walletconnect

mariusbolik avatar Aug 23 '22 07:08 mariusbolik

Here is the Open Source Version of the Plugin by @nomadcalendar: https://github.com/nomadcalendar/capacitor-walletconnect

this is not really a working version or is it?

mburger81 avatar Sep 13 '22 20:09 mburger81

It's an empty shell with no walletconnect implementation in it: https://github.com/nomadcalendar/capacitor-walletconnect/blob/main/WalletConnect/android/src/main/java/com/app/walletconnect/WallectConnect.java

eluzgin avatar Nov 15 '22 15:11 eluzgin

The WalletConnect can not be a Capacitor plugin because it has to be initialized at an Application (MainActivity) level. It's still very much custom integration. Also WalletConnect V1 is soon to be deprecated by V2.

eluzgin avatar Nov 22 '22 16:11 eluzgin

https://github.com/PolEpie/WalletConnectCapacitor

Work on ios

PolEpie avatar Nov 25 '22 14:11 PolEpie

@PolEpie could we cooperate (sponsor) ?

reslear avatar Nov 25 '22 14:11 reslear

Yes add me in discord Pol#1110 @reslear

PolEpie avatar Nov 25 '22 14:11 PolEpie