celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
687 stars 362 forks source link

[WalletConnect] Re-add Alex's changes: Use walletconnect for all Valora integrations in use-contractkit #7490

Closed aslawson closed 3 years ago

aslawson commented 3 years ago

First step toward deprecating dappkit

Changes were made but need to be reapplied on top of Ian's PR merge

AlexBHarley commented 3 years ago

Currently the list in the modal looks like

My suggestion would be to do

Remove the private key option when NODE_ENV=production.

barbaraliau commented 3 years ago

Blocked by WalletConnect landing in Valora

barbaraliau commented 3 years ago

When you click Valora, use WalletConnect. instead of current DappKit connection

barbaraliau commented 3 years ago

Prerequisites: Run Valora on phone locally for testing Code: Replace logo etc.

aslawson commented 3 years ago

@barbaraliau -- one piece to add is that on desktop web browser, it should look like the standard walletconnect experience with a QR code. But in a mobile web browser it should deep link.

AlexBHarley commented 3 years ago

This is basically done. I pushed some code and it's live on https://use-contractkit.vercel.app and released as @celo-tools/use-contractkit v1.0.0-beta.12. I'll wait for the Valora integration with WC to go live though before closing this. I want to verify the deeplinking works on Android too.