Commit Graph
326 Commits
Author SHA1 Message Date
Jaco Greeff 66803c5623 0.93 (#423) 2019-06-14 10:15:53 +02:00
Axel Chalon 3c253ec2c4 Simplify @polkadot/keyring KeyringPair (#419)
* Simplify @polkadot/keyring KeyringPair

* Fix keypair.address not taking prefix changes into account

* Merge master, update CHANGELOG

* Use getter for keypair.publicKey

* Fix import

* Fix isLocked; add test
2019-06-13 07:56:24 +02:00
Jaco Greeff 6065e10db7 Bump deps (#421) 2019-06-12 15:33:56 +02:00
Jaco Greeff bb8877894b Cater for negative values in number formats (#415)
* Cater for negative values in number formats

* Handle edge-case where -text is provided
2019-06-04 09:43:11 +02:00
Jaco Greeff d916ca15bb Move keyring impl. to keyring, index only exports (#408)
* Move keyring impl. to keyring, index only exports

* CHANGELOG typo
2019-05-22 10:06:51 +02:00
Jaco Greeff 8d869002bd Allow string params for sr25519/ed25519 sign & verify (#404)
* Allow string params for sr25519/ed25519 sign & verify

* Bump wasm

* Remove _'s from params (code-completion)
2019-05-09 16:10:54 +02:00
Jaco Greeff f46ba031d1 0.90.1 (#403)
* update CHANGELOG

* Bump for 0.90.1
2019-05-08 13:01:08 +02:00
Jaco Greeff 5158cef05e Bumps (#398)
* Bump deps

* Bump deps

* Swap test coverage badge to codeclimate

* Add npm version
2019-04-29 12:51:05 +02:00
Jaco Greeff 77a6bc6617 Fix addFromMnemonic (#395)
* Fix addFromMnemonic

* Fix errant (try-out) fn param

* Update tests
2019-04-02 20:55:38 +02:00
Jaco Greeff b15ae9e2c8 Pull in functions from ui-util (#393) 2019-04-02 14:18:44 +02:00
Jaco Greeff c11f068f70 Update wasm-crypto to latest (#389) 2019-03-30 18:15:40 +01:00
Jaco Greeff 5d026e0aec @polkadot/db transaction updates (#388) 2019-03-30 08:13:47 +01:00
Jaco Greeff bf6fcf9348 0.75 2019-03-29 21:44:05 +01:00
Jaco Greeff 5bc4ea2fb3 Add singleton package assertion (& add to keyring) (#384)
* Add signleton package assertion (& add to keyring)

* CHANGELOG

* Add test
2019-03-26 16:53:08 +01:00
Jaco Greeff 8e034bbf26 0.41 2019-03-25 12:58:23 +01:00
Jaco Greeff d1498d38e1 0.40 2019-03-23 08:24:18 +01:00
Jaco Greeff 663b8ca741 Swap crypto to WASM (JS as fallback) (#378) 2019-03-22 11:31:54 +01:00
Jaco Greeff 828688bd10 Cater for non-slash derived paths (#377) 2019-03-21 11:48:08 +01:00
Jaco Greeff fe0bd25acc Swap bip39 to wasm-crypto (#373)
* Swap bip39 to wasm-crypto

* Bump upstream deps
2019-03-20 11:32:05 +01:00
Jaco Greeff 7b0a39a2fa 0.38-stable (#372) 2019-03-18 16:44:23 +01:00
Jaco Greeff 4a31466843 Shortcut dev keyring creation (#370)
* Shortcut dev key creation

* Remove unused import
2019-03-16 12:34:15 +01:00
Jaco Greeff e921161cbf Swap to publishing -beta.x on merge (#363)
* Swap to publishing -beta.x on merge

* CHANGELOG
2019-03-14 11:24:32 +01:00
Jaco Greeff f1ca4eef0e Introduce key suri (path derivation) (#358)
* Introduce key suri (path derivation)

* Errant console.log

* let -> const

* Add seed derivation from path

* Allow new-generation derivation

* Add addFromUri to keyring

* Use addFromUri in testing keyring

* Add suri tests

* Prepare for sr25519 derivation

* CHANGELOG entry

* ed25519 is aligned with substrate

* Bump version
2019-03-13 14:39:10 +01:00
Jaco Greeff 4f719ce377 Remove syncify (NodeJS only) (#349)
* Remove syncify (NodeJS only)

* Bump version (interface change)
2019-03-04 16:47:55 +01:00
Jaco Greeff 294c255ab8 Bump dev (copy schnorrkel js files) (#299) 2019-02-13 17:33:49 +01:00
Jaco Greeff 2aba82e569 Schnorrkel support (#297)
* Initial schnorrkel support

* Start conversion of actual keyring

* Wrap encoding/decoding (needs another check)

* Manage encoding version & types with passthrough

* Update to version with working sign

* Cleanup pair interface (with seed)

* Fix failing tests

* Align naclSign signature

* Update tests for nacl (with TS conversion)

* Bump version with CHANGELOG

* Remove unneeded dep

* Use KeyringOptions instead of PairType

* Do isNumber check on addressPrefix
2019-02-13 16:46:33 +01:00