Derive operation on keypair (#487)

* Derive operation on keypair

* nobody -> derive

* Derivation tests
This commit is contained in:
Jaco Greeff
2019-11-06 15:22:12 +01:00
committed by GitHub
parent 71f26aac8d
commit a5f59ca926
5 changed files with 51 additions and 19 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ interface PairDef {
// keyring is for testing - what happens is that in most cases the keyring is initialises
// before anything else. Since the sr25519 crypto is async, this creates problems with
// adding the keys when only the keyring is used.
const PAIRS: PairDef[] = [
export const PAIRS: PairDef[] = [
{
seed: 'Alice',
secretKey: hexToU8a('0x98319d4ff8a9508c4bb0cf0b5a78d760a0b2082c02775e6e82370816fedfff48925a225d97aa00682d6a59b95b18780c10d7032336e88f3442b42361f4a66011'),