aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/idStore.js
Commit message (Collapse)AuthorAgeFilesLines
* Emit transaction list to UIDan Finlay2016-04-191-0/+1
|
* Fix method of emitting unconfirmedTxs to UIDan Finlay2016-04-191-0/+1
|
* Persist transactions to config-managerDan Finlay2016-04-191-6/+6
| | | | | | | | Transactions are now stored, and are never deleted, they only have their status updated. We can add deleting later if we'd like. I've hacked on emitting the new unconfirmedTx key to the UI in the format it received before, I want Aaron's opinion on where I should actually do that.
* Add ability to export private keysDan Finlay2016-04-071-0/+9
|
* Add mayBeFauceting boolean to account objectDan Finlay2016-04-051-0/+17
| | | | | | | | | This boolean is computed from these requirements: - The user is on the testnet rpc - The account is index 0 The UI is responsible for checking the account balancing and indicating if fauceting is indeed pending or not.
* Support undefined address selectionDan Finlay2016-04-051-0/+5
| | | | If `setSelectedAddress` is called on the IdStore, the first account is automatically selected.
* Call back with wallet restore errorsDan Finlay2016-04-021-1/+5
|
* Do not cache the seed, retrieve it from the decrypted walletDan Finlay2016-04-011-6/+16
|
* Remove unnecessary abstractionDan Finlay2016-04-011-5/+1
|
* Removed logsDan Finlay2016-03-311-6/+0
|
* Made configuration migrateableDan Finlay2016-03-311-17/+21
| | | | | | | | | | | | | | Abstract all configuration data into a singleton called `configManager`, who is responsible for reading and writing to the persisted storage (localStorage, in our case). Uses my new module [pojo-migrator](https://www.npmjs.com/package/pojo-migrator), and wraps it with the `ConfigManager` class, which we can hang any state setting or getting methods we need. By keeping all the persisted state in one place, we can stabilize its outward-facing API, making the interactions increasingly atomic, which will allow us to add features that require restructuring the persisted data in the long term without having to rewrite UI or even `background.js` code. All the restructuring and data-type management is kept in one neat little place. This should make it very easy to add new configuration options like user-configured providers, per-domain vaults, and more! I know this doesn't seem like a big user-facing feature, but we have a big laundry list of features that I think this will really help streamline.
* Fix signing bugDan Finlay2016-03-301-2/+2
|
* Add auto-faucetingDan Finlay2016-03-301-4/+16
| | | | When first creating a vault, the first account is submitted to our `rawtestrpc` faucet, receiving `1.337` ether within 15-30 seconds.
* Remove argument destructuringDan Finlay2016-03-301-1/+3
|
* Return updated state after restoring vaultDan Finlay2016-03-291-1/+1
|
* Remove unused referenceDan Finlay2016-03-261-1/+0
|
* Cleaned up how we pass hdString to LightwalletDan Finlay2016-03-261-4/+11
|
* Implemented BIP44 compliance test.Dan Finlay2016-03-261-57/+43
| | | | Also added the hdPath that Christian had told me to our calls to the LightWallet, but this does not seem to have made us generate the same accounts as `testrpc` yet.
* Convert to bip44 hdTreesDan Finlay2016-03-261-14/+16
| | | | | | Added initial test just to verify we can recover the accounts we generate in this way. Still need to add compliance test to make sure this interoperates with testrpc's new mnemonic flag.
* Gave lock a callback for better loading indicationDan Finlay2016-03-251-2/+3
|
* Add seed word caching during confirmation screenDan Finlay2016-03-251-47/+84
| | | | | | | | In order to persist the seed word page until the user clicks the confirmation button, we need to store the seed words in localStorage. To simplify this process I've also reorganized some of the account manager code, broken up one large function into many smaller functions, and created a new class for the IdMgmt object. Again, sorry such a big refactor in one commit, but I really had to break it down to work through it.
* add vault recoverykumavis2016-03-161-5/+20
|
* notifications - add tx confirm+cancel buttonskumavis2016-03-121-0/+2
|
* idStore - normalize hex format before signingkumavis2016-03-061-1/+7
|
* tx sig - it works againkumavis2016-03-031-138/+93
|
* Fix issue with raw transaction injected.Simon de la Rouviere2016-02-231-6/+6
|
* idStore - add createNewVaultkumavis2016-02-171-14/+17
|
* idStore - add isInitialized flagkumavis2016-02-161-0/+1
|
* idStore - seperate signTx and sendTxkumavis2016-02-131-13/+29
|
* idStore - cancel txkumavis2016-02-131-0/+8
|
* idmgmt - refactorkumavis2016-02-111-0/+263