* Display decoded message received while using signDirect method
* Fix permission dialog not exiting after clicking outside
* Handle review changes
* Remove optional chaining in while checking for signDirect method
* Replace QR icon with WC logo
* Change screen title
* Display active sessions
* Change title
* Display sessions on WalletConnect page
* Display session topic in list item
* Fix types
* Add line
* Change message
* Move useEffect to WalletConnectContext
* Disconnect sessions on resetting wallet
* Review changes
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add functionality to use cosmos accounts while pairing
* Sign message using cosmos accounts using signAmino method
* Add todo to debug signDirect
* Use cosmos wallet amino method directly
* Add back displaying wallet connect data while pairing
* Reset state for wallet connect data on closing pairing modal
* Add function to disconnect session
* Replace QR icon with WC logo
* Use separate page for walletconnect
* Change screen title
* Make review changes
* Make walletconnect page empty
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add toast on session_approval
* Handle case where request icon is null
* Change camera permission message
* Fix comments
* Fix import order
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add qr-code scanner button in homescreen header
* Display dapp details on sign request page
* Center details coming from dapp
* Remove request event state from request context
* 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
* Change ui for wc modals
* Add styles
* Remove border radius at the bottom
* Make review changes
* Add dependancy to useEffect
* Move pairing modal methods
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add page for scanning qr code
* Refactor code
* Ask for permission to use camera
* Change Qr to QR
* Seperate imports
* QR instead of Qr
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add url scheme and linking
* Pass account to sign request page
* Provide functionality for accepting or rejecting requests
* Load account state before handling url
* Refactor code
* Make intent work when app is cleared from recents
* Fix bug to populate data from intents
* Fix bug to update data on subsequent requests
* Pass correct network to sign messages from cosmos account
* Fix bug to populate data for incoming intent
* Allow spaces in url
* Bad signature page
* Review changes
* Change page heading
* Use correct regex
* Clean up code
* Use https in url
* Set state properly
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Display HD path on sign message page
* Create component for displaying account details
* Add retrieve accounts function
* Load accounts after closing app
* Fix the retrieve accounts function
* Use hdpath instead of id
* Check if keystore is empty while retrieving accounts
* Add spinner when accounts are being fetched
* Display complete hd paths after reloading the app
* Remove any return type
* Store public key and address
* Modify sign message function to use path
* Fix the add accounts functionality
* Display mnemonic on wallet creation
* Change srp to mnemonic
* Display mnemonic in a grid
* Remove line
* Make review changes
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Create addAccount function
* Make review changes
* Create addAccount function
* Add id for each account
* Modify resetWallet function
* Make review changes
* Integrate functions
* Change button position
* Keep reset button at the bottom
* Use dropdown for accounts in separate component
* Display data of selected account
* Add method to add multiple accounts
* Change reset button position
* Clear account state on reset
* Display correct account info after creating
* Added account info to sign page
* Change variable names
* Use consistent variable names
* Use account id in ui
* Make review changes
* Fix imports
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* Add the creatHDWallet function
* Make review changes
* Add signMessage and signEthMessage functions
* Add signCosmosMessage function
* Add resetWallet function
* Add resetWallet function
* Integrate functions with UI
* Add Alerts to react component
* Make review changes
* Add comment in utils file
* Remove lowerCase conversion in signCosmosmessage function
---------
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
* Add state for selected network
* Make review changes
* Add cosmos signature
* Explicit check for cosmos
* Add dummy method for generating wallet
* Remove logic from component
* Add dummy sign method
* Change network state values
* Use separate file for types
* Add default case to switch
* Use consistent method names
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>
* View dropdown on creating wallet
* Use separate component for network dropdown
* Fix imports
---------
Co-authored-by: Adw8 <adwait@deepstacksoft.com>