Make subkey support Sr25519 crypto (#1933)

* Make subkey support Sr25519 crypto.

* Rebuild runtime.

* Build and rejig locks.

* Fix grumbles

* Derivations

* Introduce tests
This commit is contained in:
Gav Wood
2019-03-07 17:10:17 +01:00
committed by GitHub
parent 9ad06d57fc
commit 9f3b4468db
13 changed files with 2172 additions and 1118 deletions
+5 -1
View File
@@ -22,9 +22,11 @@ untrusted = { version = "0.6", optional = true }
hex-literal = { version = "0.1", optional = true }
base58 = { version = "0.1", optional = true }
blake2-rfc = { version = "0.2.18", optional = true }
schnorrkel = { version = "0.0", optional = true }
schnorrkel = { git = "https://github.com/w3f/schnorrkel", optional = true }
rand = { version = "0.6", optional = true }
sha2 = { version = "0.8", optional = true }
substrate-bip39 = { git = "https://github.com/paritytech/substrate-bip39", optional = true }
tiny-bip39 = { version = "0.6.0", optional = true }
[dev-dependencies]
substrate-serializer = { path = "../serializer" }
@@ -54,6 +56,8 @@ std = [
"untrusted",
"hex-literal",
"base58",
"substrate-bip39",
"tiny-bip39",
"serde_derive",
"byteorder/std",
"rand",