UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

15 lines 503 B
import { createNobleBackend } from '@btc-vision/ecpair'; import { initEccLib } from '@btc-vision/bitcoin'; /** * Shared noble-curves backend for all EC operations. * Instantiated once and reused across the entire library. */ export const backend = createNobleBackend(); /** * EccLib is now a type alias for CryptoBackend. * The backend can be used directly. */ export const eccLib = backend; // Initialize the ECC library once at module load initEccLib(eccLib); //# sourceMappingURL=backend.js.map