@hazae41/base58
Version:
Base58 adapter for WebAssembly and JS implementations
10 lines (7 loc) • 306 B
TypeScript
import { Base58Wasm } from '@hazae41/base58.wasm';
import { BytesOrCopiable } from '../../libs/copiable/index.js';
declare function fromWasm(wasm: typeof Base58Wasm): {
encodeOrThrow: (bytes: BytesOrCopiable) => string;
decodeOrThrow: (text: string) => Base58Wasm.Memory;
};
export { fromWasm };