Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 509 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 509 Bytes

Library Usage

In order to use the verkle cryptography functions exposed by this module, you must first initialize the WASM binary as below:

import { loadVerkleCrypto } from 'verkle-cryptography-wasm'

const main = async () => {
    const verkle = await loadVerkleCrypto();

    // Do verkle stuff here
}

loadVerkleCrypto returns all methods available for Verkle Trie operations. The API is still unstable so please reference index.ts for the main exported modules and functions.