* Update readme to contain instructions for creating file
* Add method for sending transaction to chain
* Rename approve transaction component to approve transfer
* Create component for approving transactions
* Display transaction message in Approve transaction component
* Install registry-sdk
* Display gas limit on receiving transaction request
* Add functionality for sending transaction to chain
* Add memo in simulate gas method
* Remove unnecessary TODO
* Display error in dialog box
* Add support for onboarding transaction
* Pass address of signer in wallet connect request from app
* Make eth gas limit and gas price editable on approve transaction
* Make max fee and max priority fee editable for EIP 1559 supported chains
* Refactor approve transaction code
* Use gas limit from dapp if sent
* Refactor regex to constants file
* Simulate gas limit for cosmos transactions
* Reject request if funds are not sufficient
* Fix submit button disable condition
* Dont estimate gas if funds are not sufficient for evm chains
* Handle review changes
* Take gas limit and fees from user
* Update text input ui
* Use gasPrice from networks data
* Use default gas limit from env
* Use default gas price if not found in registry
* Remove appended denom in gas price
* Use gas limit from env
* Show error dialog when transaction fails
* Calculate gas limit and gas price if not received from dapp
* Update example env
* Improve syntax
---------
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
* Update keystore data structure (#83)
* Update create wallet and retrieve accounts functionality for updated data structure
* Refactor accounts state
* Use constant variable for cosmos
* Update add accounts incrementally and with custom HD path for updated data structure (#85)
* Change data structure
* Reset wallet change
* Fix signEthMessage
* Fix sign request
* Fix pairing with laconic pay dApp and sending tokens
* Add accounts to configured networks
* Update add account from hd path flow
* Handle review changes
---------
Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
* Remove network type state
* Refactor create wallet code (#89)
* Refactor create wallet code
* Create cosmos accounts with correct address prefix
* Use networks data from state while creating wallet
* Refactor code and add network id in types (#91)
* Refactor add new networks component
* Add selected network state in context
* Remove returning account from create wallet
---------
Co-authored-by: IshaVenikar <145848618+IshaVenikar@users.noreply.github.com>
* 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
* 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>
* 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
* 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>
* Display funds on signRequest page
* Format balance value
* Display upto 18 digits
* Use useMemo for provider
* Display balance in wei
* Make UI changes
* Make review changes
* Add page to approve eth transactions
* Update approve transaction page ui
* Update balance unit display
---------
Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>