Files
common/packages/util-crypto/src/schnorrkel/ready.ts
T
Jaco Greeff eb167f8735 Use wasm-schnorrkel package (#371)
* Use wasm-schnorrkel package

* wasm-schnorrkel 0.1.1
2019-03-18 10:25:02 +01:00

14 lines
435 B
TypeScript

// Copyright 2017-2019 @polkadot/util-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import schnorrkel from '@polkadot/wasm-schnorrkel';
export default function schnorrkelWaitReady (): Promise<boolean> {
return schnorrkel.waitReady();
}
export function schnorrkelIsReady (): boolean {
return schnorrkel.isReady();
}