UNPKG

@btc-vision/transaction

Version:

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

4 lines (3 loc) 110 B
export function stringToBuffer(str: string): Buffer { return Buffer.from(str.replace('0x', ''), 'hex'); }