Commit Graph

51 Commits

Author SHA1 Message Date
JohnGuilding
2f8df2fe3a Publish experimental release, update extension & aggregator 2023-03-06 18:06:26 +00:00
Blake Duncan
6af93bde8c Add recovery methods to bls-wallet-clients module(#486) 2023-02-01 19:32:34 +00:00
Blake Duncan
9078f6189a Wallet recovery (#342)
* Add addRecoveryWallet function to the keyring controller

* Get wallet hash from the recovery address so user no longer needs to copy that over

* Update types for addRecoveryWallet method

* Fixing the add recovery wallet function

* Use aggregator url from currently selected network

* Adding a param for the signers private key and saving the new wallet in the keyring

* added UI for entering recovery hash (#355)

* added UI for entering recovery hash

* added ui for salt

* completed workflow for wallet recovery

* lint: fix

* updated hex conversion of salt

* using temp wallet for recovery

* replace address after recovery

* Lint fix

* Adding randFr() for PK generation

* Add back button to recovery modal

* Missed some files to commit

* Fix address issues using randFr

* Fix randFr function by initing the mcl

* Fix lint issue

Co-authored-by: Kautuk Kundan <kautukkundan@gmail.com>
2022-12-15 15:58:53 -05:00
Jacob Caban-Tomski
ce5d8b3a01 Add error path on submit error to extension 2022-12-14 20:01:44 -05:00
Blake Duncan
231bf59184 Removing 202 error code 2022-12-02 10:58:09 +00:00
Blake Duncan
e243212e67 Idk how I'm missing these lint errors 2022-11-30 13:22:41 +00:00
Blake Duncan
916ba7285a Fixing type issue in the extension 2022-11-30 13:16:27 +00:00
Blake Duncan
56f33ecf4e Fix BundleReceipt type and update the extension 2022-11-30 11:28:37 +00:00
Blake Duncan
771de1fbab Return txhash from aggregator and display in Quill (#369)
* Add bundle hash and txhash to receipt request

* Save txhash on transaction in local storage

* Fix case issue with filtering in the tx table
2022-11-03 13:37:02 +00:00
Andrew Morris
e7decded4c Merge commit '356b067' into bw-251-currency-switching 2022-09-15 13:32:14 +10:00
Jacob Caban-Tomski
7a37dc89d0 Fix file misspelling 2022-09-03 14:10:14 -06:00
Jacob Caban-Tomski
17654c5042 Use MultiNetworkConfig from clients lib. 2022-09-03 13:59:48 -06:00
Jacob Caban-Tomski
ee2a533c72 Move MultiNetowrkConfig to bls-wallet-clients
Add MultiNetworkConfig to clients. Deprecate NetworkConfig.
Update deps in clients.
Add chai-as-promised, ts-node to clients.
Remove need for transpiliation before client tests.
Finish getAndUpdateWalletsNetworkData changes in extension.
2022-09-03 13:24:56 -06:00
Jacob Caban-Tomski
eebff6d205 Update with PR feedback
Switch $preferences to non-$ name.
Add hidden field to networks to hide from end users.
Refactor wallet network data generation. Needs one more pass.
2022-08-18 17:45:17 -06:00
Andrew Morris
668362304b Merge branch 'bw-252-network-switching' into bw-251-currency-switching 2022-08-05 13:57:09 +09:00
Andrew Morris
e89a9151e6 Merge remote-tracking branch 'origin/main' into bw-252-network-switching 2022-08-05 13:53:13 +09:00
Blake Duncan
04af3ae83a Encrypting necessary local storage data (#286)
* First attempt at encrypting the local storage

* Enable encrypted and decrypted storage

* Lint fixes and remove console log

* Update variable naming

* Creating new StorageConfig type

* Removing unused variable
2022-07-29 10:32:45 +01:00
Andrew Morris
83e30afea1 Put fields into currency conversion, CurrencyDisplay 2022-07-21 10:28:25 +10:00
Andrew Morris
767eafe338 Add TODO 2022-07-20 18:09:36 +10:00
Andrew Morris
d76fb1c227 Add currency selection in general settings 2022-07-20 18:07:03 +10:00
Andrew Morris
ec2ae3eb2d Get default currency from ip api, remove preference identities 2022-07-20 17:40:28 +10:00
Andrew Morris
2a24a15460 Fix global config access 2022-07-19 11:12:56 +10:00
Andrew Morris
9040e90457 Fix global access of blsNetworksConfig 2022-07-19 11:03:56 +10:00
Andrew Morris
3d483d6b76 Restore preferred nonce sourcing 2022-07-19 10:55:28 +10:00
Andrew Morris
7d6aa698ec Fix duplication of getting bls network config 2022-07-19 10:53:44 +10:00
Andrew Morris
7d240daaa5 lookupAddress -> pkHashToAddress 2022-07-19 10:45:12 +10:00
Andrew Morris
5f866991dc Implement per-network information for wallets 2022-07-19 10:13:01 +10:00
Andrew Morris
d4bf0b38c4 Fix issue where ethers Web3Provider assumes network doesn't change, handle addresses changing per network 2022-07-15 17:54:09 +10:00
Andrew Morris
64db0b7eba Move currencyConversionConfig into config 2022-07-15 15:04:57 +10:00
Andrew Morris
b809a22cee Move builtinNetworks into config 2022-07-15 14:48:12 +10:00
Andrew Morris
94ae095acf Update config system in prep for network switching 2022-07-15 13:52:57 +10:00
Andrew Morris
89c8b28d20 Rebuild config for typescript and eslint, lint fixes 2022-07-12 14:59:41 +10:00
Andrew Morris
1c3b1c76b3 Require confirm dialog for Quill txs, but add todo 2022-07-11 16:08:44 +05:30
Andrew Morris
b38547126e Restore enum 2022-07-11 16:08:44 +05:30
Andrew Morris
e1aa4de7fb Don't require popup for quill-initiated transactions 2022-07-11 16:08:44 +05:30
Andrew Morris
c0fa1cdb91 Clearer failure when user doesn't approve 2022-07-11 16:08:44 +05:30
Andrew Morris
7f5e5e2f27 Reject invalid transitions, simplify transition table, require valid status in rpc 2022-07-11 16:08:44 +05:30
Andrew Morris
8761d5e7f6 Move transaction typing into QuillStorageCells 2022-07-11 16:08:44 +05:30
Andrew Morris
c62dceb6a9 Improve typing of prompt messaging 2022-07-11 16:08:44 +05:30
Andrew Morris
d8dd145ae8 Use local InternalRpc 2022-07-11 16:08:44 +05:30
Andrew Morris
e43ddbd0fe Prompt user before connecting wallet (since connecting wallet is slow) 2022-07-11 16:08:44 +05:30
Andrew Morris
ce73b22a50 uuid -> RandomId 2022-07-11 16:08:44 +05:30
kautukkundan
7fb3a62655 lint fixes 2022-07-10 22:15:44 +05:30
kautukkundan
b15c81ed2e added default value and gasPrice to txs 2022-07-10 20:37:14 +05:30
kautukkundan
7fc2b45419 fixed transaction state change bug 2022-07-10 20:06:40 +05:30
kautukkundan
ba83438cf0 completed popup for tx confirmation 2022-07-10 19:52:19 +05:30
kautukkundan
e0d47566db updated UI for confirmation dialog 2022-07-10 17:34:31 +05:30
kautukkundan
39d02cbea0 extension: added transaction controller 2022-07-10 16:42:56 +05:30
Andrew Morris
c982fe7a69 Implement send 2022-07-07 10:33:39 +10:00
Andrew Morris
49a3661e52 Use prefixKeys to avoid shadowing 2022-07-05 14:59:09 +10:00