Add functionality to scan QR while connecting wallet (#40)

* Connect with dapp using WalletConnect

* Pair dapp with wallet

* Sign message taken from dapp and return the signature

* Add todos

* Move wallet connect functions to seperate screen

* Change ui for wc modals

* Make review changes

* Add dependancy to useEffect

* Move pairing modal methods

* Integrate QR in walletconnect page

* Move styles

* Add currentEthAddresses

* Handle review changes

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
This commit is contained in:
Adwait Gharpure
2024-03-06 15:16:00 +05:30
committed by GitHub
co-authored by Shreerang Kale adwait
parent 276cb3695a
commit 19e39281a6
5 changed files with 107 additions and 47 deletions
+11
View File
@@ -191,6 +191,17 @@ const styles = StyleSheet.create({
paddingHorizontal: 10,
marginVertical: 20,
},
cameraContainer: {
justifyContent: 'center',
alignItems: 'center',
},
inputContainer: {
marginTop: 20,
},
camera: {
width: 400,
height: 400,
},
});
export default styles;