Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename walletconnect react native package #3

Closed
shahbhavir opened this issue Sep 1, 2018 · 2 comments
Closed

rename walletconnect react native package #3

shahbhavir opened this issue Sep 1, 2018 · 2 comments

Comments

@shahbhavir
Copy link
Contributor

WalletConnect react-native sdk is not dependent to react-native platform. The sdk's indirect dependency is crypto (a node built-in module) via walletconnect-core and firebase in-app messaging. So, whenever any environment (be it PWA or mobile app) has access to these dependencies, the developer of these platforms (PWA or mobile app) can use this sdk.
The names could be changed to something like:

  • walletconnect-core (unchanged)
  • rn-walletconnect to walletconnect-listener (the app/web-app which will store credentials)
  • walletconnect to walletconnect-client (the web/app which will act as a client to communicate with listener sdk)
@pedrouid
Copy link
Member

pedrouid commented Sep 1, 2018

Technically it's a 2-way communication so both the client/app/dapp and the wallet will listen, so I wouldn't call it listener.

There will be a lot of renaming in the future, specially when we move into a multi-wallet integration but I would maybe just change rn-walletconnect to walletconnect-wallet and keep the client library as walletconnect because this will be the most widely used library.

There may be 5-10 wallets but there will be 1000s of dapps, so this needs to be intuite to install by running npm install --save walletconnect or yarn add walletconnect

What I would like to do instead is have multiple versions of walletconnect client library that include different levels of features:

full featured = import WalletConnect from 'walletconnect'
lite version = import WalletConnect from 'walletconnect/lite'
widget version = import WalletConnect from 'walletconnect/widget'
multi wallet = import WalletConnect from 'walletconnect/multi-wallet'
custom wallet = import WalletConnect from 'walletconnect/custom-wallet'

cc @ligi @jdkanani @jinchung @Dobrokhvalov @vikmeup @localethereumMichael

@pedrouid
Copy link
Member

pedrouid commented Sep 5, 2018

Discussion to be followed on: https://discuss.walletconnect.org/t/renaming-javascript-libraries/73

@pedrouid pedrouid closed this as completed Sep 5, 2018
pedrouid pushed a commit that referenced this issue Apr 28, 2021
# This is the 1st commit message:

Update dockerignore for slimmer build context

# This is the commit message #2:

Remove innefective node flat

# This is the commit message #3:

Re-add relay1

# This is the commit message #4:

Formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants