Cleanup util-crypto & keyring imports (#314)

* Cleanup util-crypto & keyring imports

* Adjust util imports for types

* Bump deps
This commit is contained in:
Jaco Greeff
2018-10-18 11:06:02 +02:00
committed by GitHub
parent ef5e0f6c9c
commit 290123b85f
35 changed files with 74 additions and 133 deletions
@@ -1,6 +1,6 @@
// Import the API, Keyring and some utility functions
const { ApiPromise } = require('@polkadot/api');
const Keyring = require('@polkadot/keyring').default;
const { Keyring } = require('@polkadot/keyring');
const u8aFromUtf8 = require('@polkadot/util/u8a/fromUtf8').default;
const ALICE_SEED = 'Alice'.padEnd(32, ' ');