ed25519 from dev mnemonic test (#680)

This commit is contained in:
Jaco Greeff
2020-09-08 16:39:01 +02:00
committed by GitHub
parent f8d69736c1
commit cf6fae8e1d
+6
View File
@@ -31,6 +31,12 @@ describe('keypair', (): void => {
).toEqual(publicKeyTwo);
});
it('creates via a dev seed', (): void => {
expect(
keyring.addFromUri('//Alice').address
).toEqual('5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu');
});
it('creates a ed25519 pair via mnemonicToSeed', (): void => {
expect(
keyring.addFromUri(