Commit Graph

8 Commits

Author SHA1 Message Date
shreerang6921
2a92e71594
Display decoded message received while using signDirect method (#52)
* 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
2024-03-13 12:02:08 +05:30
Adwait Gharpure
cf197f386f
Display active sessions on walletconnect page (#50)
* 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>
2024-03-12 18:23:16 +05:30
shreerang6921
5b6f4e9f61
Sign message with cosmos accounts using signAmino method (#49)
* 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
2024-03-12 13:40:34 +05:30
Adwait Gharpure
4b0ed0ba9f
Add toast on session approval (#46)
* 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>
2024-03-07 19:28:30 +05:30
shreerang6921
9ab8c2ce4f
Display details coming from dapp in sign request page (#44)
* 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
2024-03-07 16:02:35 +05:30
Adwait Gharpure
d44d8a3092
UI changes for wallet-connect integration (#43)
* Change button position

* Add check for counterId

* Display complete uri

* Update readme

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-07 15:28:12 +05:30
Adwait Gharpure
05be6008de
Use page for handling sign requests (#42)
* Use sign request page instead of modal

* Fix context

* Remove multiple if statements

* Change metadata

* Remove sign modal

* Make review changes

* Remove state

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-07 12:44:05 +05:30
Adwait Gharpure
7db0edce75
Allow incoming signature requests from intents (#32)
* 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>
2024-02-28 19:37:26 +05:30