Commit Graph

7 Commits

Author SHA1 Message Date
IshaVenikar
94bd8b6480 Persist network data (#84)
* Store new network data

* Store default networks in keystore (#86)

* Add default nws in keystore

* Fix duplicate networks

* Display correct currency symbols for eth and cosmos tx

* Fix currency display

* Use wei for eth
2024-04-25 17:08:27 +05:30
IshaVenikar
23fa5415ae Update namespace after adding network (#81)
* Update namespace

* Add eth accounts

* Add isSubmitted

* Send namespace to dApp based on selected network while pairing

* Send transactions on configured chain

* Fix modal UI

* Use namespace by default for chainId

* Use ethereum mainnet as default chain

* Use method names from constants file

* Combine required and optional namespaces

* Fix chainId

* Fix networksData

* Remove cosmos denom

* Remove todo

* Use lowercase denom

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
2024-04-25 17:08:27 +05:30
shreerang6921
e4fe88939c Add support to configure networks (#76)
* Add support to configure cosmos networks

* Fix intents functionality for configured networks

* Add address prefix while initializing stargate client

* Remove unnecessary functions

* Update style for add network page

* Handle review changes

* Fix eth accounts not showing up on configured eth chain
2024-04-25 17:08:27 +05:30
shreerang6921
bdd1b58140 Fix sending transactions on default networks (#78)
* Add default values to networksData state

* Handle review changes

* Get default chains data from constants file
2024-04-25 17:08:27 +05:30
shreerang6921
703ea72c1f Add functionality to configure EVM networks (#74)
* Configure EVM networks

* Display added EVM networks in network drop down

* Add network for configured networks
2024-04-25 17:08:27 +05:30
Adwait Gharpure
4eecdb7e4c
Support SIWE using selected account (#61)
* Sign in using selected address

* Use optional namespace

* Merge namespaces and use combined namespace

* Add todo for lodash merge

* Use walletConnect util buildApprovedNamespaces while approving sessions

* Lint fixes

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
2024-03-28 11:10:55 +05:30
Adwait Gharpure
8ed4c33beb
Refactor code for WalletConnect Integration (#59)
* Disconnect pairing request when app is reset

* Move files to respective folders

* Add comments to describe flow

* Add new line

* remove request session context

* Fix imports

* Move hook to folder

* Add undefined type

* Move types to src

* Move util functions to correct files

* Remove typeroots from tsconfig

---------

Co-authored-by: Adw8 <adwait@deepstacksoft.com>
2024-03-18 10:57:20 +05:30