Function encode

  • Asynchronously encodes a Blueprint into a blueprint string. Does not include the "DSA:" prefix, consider adding it on a public app.

    Parameters

    Returns Promise<string>

    Example

    import { encode, PREFIX } from "dsabp-js"

    const str = PREFIX + await encode(bp)