PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@polkadot/wasm-crypto

Просмотр файла: initNone.js

import { createWasm } from '@polkadot/wasm-crypto-init/none';
import { initBridge } from './init.js';
/**
 * @name initWasm
 * @description
 * For historic purposes and for tighter control on init, specifically performing
 * a WASM initialization with no interface whatsoever (no WASM, no ASM.js)
 *
 * Generally should not be used unless you want explicit control over which
 * interfaces are initialized.
 */
export async function initWasm() {
    await initBridge(createWasm);
}
initWasm().catch(() => {
    // cannot happen, initWasm doesn't throw
});

Выполнить команду


Для локальной разработки. Не используйте в интернете!