UNPKG

navio-blsct

Version:

TypeScript bindings for the `libblsct` library used by the [Navio](https://nav.io/) blockchain to construct confidential transactions based on the BLS12-381 curve.

10 lines (9 loc) 296 B
import { DoublePublicKey } from './keys/doublePublicKey'; export declare enum AddressEncoding { Bech32 = 0, Bech32M = 1 } export declare class Address { static encode(addrDpk: DoublePublicKey, encoding: AddressEncoding): string; static decode(addrStr: string): DoublePublicKey; }