Commit Graph

26 Commits

Author SHA1 Message Date
skubakdj 3ef2b51a68 Add Promises & Signing to Wallet Classes (#105)
* add validation for raw tx

* add node module, add signing lib

* add tx & message signing, promise everything

* remove unnecessary returns

* move isValidRawTx to for loop

* add & use new type RawTx

* implement cleaner promises, reject instead of throw
2017-08-07 22:25:23 -05:00
Daniel Ternyak a66337ac0a Swap Part 4 (#101)
### Re-implements:
* min/max validators on initial currency swap selection
* polling of order status
* timer that persists across refreshes via localStorage (computed based on `createdTime` and `validFor` amount)
* swap persists across refreshes once order is created.
* various type refactors

### New additions:
* *SimpleButton* (can be PRd separately on request)
* clear loading state after order create (via SimpleButton and font-awesome)
* buffers for non-BTC swaps (bity does not actually accept 0.01 BTC worth of ETH as they claim they do in their JSON response, so a magic number of 10% is added to the minimum).
2017-07-31 18:14:30 -05:00
William O'Beirne e8ad2ce958 Flow style include fix (#75)
* Attempt to fix the flow include style errors, as outlined in this gist: https://gist.github.com/lambdahands/d19e0da96285b749f0ef (#75)
2017-07-27 11:50:29 -05:00
Daniel Ternyak 69851696e9 Update flow-bin version to 0.50.0 (#67) 2017-07-21 13:49:30 -05:00
William O'Beirne d2ae162e80 Enforce node / npm versions, add package-lock.json (#57)
* Enforce node / npm versions, add package-lock.json

* Have travis respect nvmrc. Add nvmrc.
2017-07-18 19:41:17 -05:00
Daniel Ternyak 37008e9fe9 Complete Generate/Create Wallet Flow (#38)
* GenerateWallet: Download real UTC file.

* Paper wallet (#45)

* Working paper wallet (#52)

* Reset Generate Wallet state when component will unmount
2017-07-16 16:02:13 -05:00
Daniel Ternyak 2265f75700 Adjust 'lint-staged' to pass single-quote via CLI; remove unneeded .prettierrc (#55) 2017-07-16 11:15:37 -05:00
Maciej Bembenista f4e63c7e02 Integrate Husky git hooks and configure a Prettier hook for JS (#53)
* Add Husky, lint-staged and prettier as dependencies, configure prettier precommit hook

* Change line width in Prettier to the default 80
2017-07-15 18:02:14 -05:00
William O'Beirne c9948626d1 Bundle and compress images with Webpack (#49)
* First pass at image loader

* Clean up config, convert some images as example.
2017-07-14 12:04:08 -05:00
crptm 780f3ba94f balance fetching (#41)
* balance fetching

* fix tests

* bump deps

* validate custom token form

* equiv values

* fix rates saga naming

* address review comments
2017-07-13 16:02:39 -05:00
crptm ecb11133dd move bity getRates to saga (#35)
* move bity getRates to saga

* typo

* bity polling
2017-07-07 21:00:09 -05:00
crptm 4b6f20dd63 remove dupe ethereumjs-util 2017-07-04 06:44:08 +04:00
crptm d6b7cca10a merge send-tx 2017-06-27 03:36:21 +04:00
crptm 240007fe43 merge develop 2017-06-27 03:13:21 +04:00
crptm 1fb4a004ac send wip 2017-06-27 02:27:55 +04:00
Daniel Ternyak c77f8430c5 Create Validator class and add deps to package.json 2017-06-24 01:08:57 -05:00
crptm d0becf7746 notifications 2017-06-22 03:31:59 +04:00
Daniel Kaspo ce3749000f Keystore decryption initial implementation. 2017-06-19 21:02:28 -04:00
Daniel Ternyak 81d5f64100 Swap: add axios and lodash to package.json 2017-06-11 20:05:36 -05:00
crptm aca012af6a tarnslate: html entites test 2017-06-02 00:13:59 +04:00
Daniel Ternyak a12d720c8a Resolve broken prod css 2017-04-24 18:36:59 -05:00
Daniel Ternyak 8cf7e25efd Add redux-form to package.json 2017-04-18 18:35:08 -05:00
Daniel Ternyak cfc5d20af2 add prop-types package 2017-04-14 01:27:29 -05:00
Daniel Ternyak 15cc449c1f fix version (npm required specific format) 2017-04-12 17:36:20 -05:00
Daniel Ternyak 5f7f38798e fix trailing comma breaking build/dev 2017-04-12 17:33:45 -05:00
Daniel Ternyak 41b219a853 create package.json 2017-04-12 00:00:48 -05:00