Function encodeSync

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

    Parameters

    Returns string

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

    const str = PREFIX + encodeSync(bp)