kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
7 years ago
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
7 years ago
Dan Finlay
9cc1e8a6d8
Refresh computed balances controller when restoring vault
7 years ago
Dan Finlay
7032edf32b
Stop tracking old account balances after restore vault
...
Per @kgserrano note
7 years ago
Dan Finlay
50e8599988
Promisify metamask-controller vault creating methods
7 years ago
Dan Finlay
d7f384485d
Select first account when restoring seed
...
Fixes #2348
7 years ago
Dan Finlay
ab31eb6a17
Select first account on new vault creation
7 years ago
kumavis
4d273d3cea
lint fixes
7 years ago
kumavis
efa92a7fc5
network controller - refactor to use eth-rpc-client
7 years ago
kumavis
ff4e9a0d11
metamask controller - define this.newTransaction to ease instantiation order
7 years ago
kumavis
f7c1bc804d
metamask controller - simplify provider init
7 years ago
kumavis
e79037261e
metamask controller - breakout getAccounts method
7 years ago
Dan Finlay
9bc80d998e
Add signTypedData input validations
7 years ago
Dan
ac4868170f
Enables remove token and ensures add/remove update the list without need for refresh.
7 years ago
Adam Novak
8cc8fecdac
Don't pass origin as an HTTP header
...
Requests with this nonstandard header are being blocked by CORS when
made against Parity.
Not sending it ought to fix #1779 .
7 years ago
kumavis
d6ea2fa425
network - convert localhost from custom rpc to network type
7 years ago
kumavis
b88d11f86e
network controller - small refactor
7 years ago
frankiebee
ac80eaca1f
pending-tx - dont check the balance to rebrodcast
7 years ago
Dan Finlay
861bd877f3
Ensure selected account is always set if possible
...
Fixes #2218
Subscribes to keyringController, and if only one account exists, sets it as selected.
7 years ago
Sergey Ukustov
c2b8dada91
Add eth_signTypedData handler
7 years ago
frankiebee
b24e16d346
re-enabled x-metamask-origin for mascara
7 years ago
kumavis
7e9c6e96a1
metamask - improve comment
7 years ago
frankiebee
9fd5458112
transactions: lint fixes and reveal status-update event for balance controller
7 years ago
Dan Finlay
651098c70d
Remove duplicate instantiation of account-tracker
7 years ago
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
7 years ago
Dan Finlay
9e3648c668
Pass blocktracker to balances controller
7 years ago
Dan Finlay
443b1a8eb7
Remove keyring controller from project
7 years ago
kumavis
dd45592641
metamask - use provider-engines block tracker
7 years ago
Dan Finlay
128cf40f91
Fix accont-tracker merge bug
7 years ago
Dan Finlay
d2a747e57e
Fix computed-balances controller reference
7 years ago
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
7 years ago
Dan Finlay
4c971ebfd1
Define encryptor in constructor params instead of platform object
7 years ago
Dan Finlay
e9043f22df
Allow custom encryptor to be passed to MetaMaskController and KeyringControllers.
7 years ago
frankiebee
14b9d16ece
platforms: put context for extension in platform extension class
7 years ago
frankiebee
bfd75107f1
add context to platform to not have X-Metamask-Origin in mascara
7 years ago
kumavis
765ef64061
metamask controller - destroy filter polyfill on disconnect
7 years ago
kumavis
245c0f0c27
metamask controller - move middleware into seperate files
7 years ago
Dan Finlay
a01921758b
Add computed balance to account detail view
7 years ago
Dan Finlay
86cd4e4fed
Got pending balance updating correctly
7 years ago
kumavis
96d1175834
debug - prefer logger over console
7 years ago
kumavis
a265144176
metamask cont - standardize multiplex stream naming
7 years ago
Dan Finlay
53a467cd1e
Some progress
7 years ago
frankiebee
3ad67d1b14
match other controller patterns
7 years ago
kumavis
9d4c02e57f
metamask - add jsonrpc filter middleware on per-connection engine
7 years ago
kumavis
57e4805c62
streams - use pump and published obj-multiplex
7 years ago
Kevin Serrano
056276af02
integrate infura currency
7 years ago
kumavis
cc56d0d2f6
inpage - use json-rpc-engine for inpage-provider
7 years ago
frankiebee
7ea83b6bae
Create TxStateManager
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
frankiebee
b80c7e417b
move newUnapprovedTransaction to transactions.js
7 years ago