New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scryptlib

Package Overview
Dependencies
Maintainers
0
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scryptlib - npm Package Versions

1
57
30

2.1.9

Diff
zhfnjust
published 2.1.9 •

Changelog

Source

2.1.9

  • bsv: add getChangeAddress() for Transaction class
zhfnjust
published 2.1.8 •

Changelog

Source

2.1.8

  • fix bsv issue
zhfnjust
published 2.1.7 •

Changelog

Source

2.1.7

  • make genLaunchConfig() more independent, now it just generate a debugger launch configuration for the contract's last called public method
zhfnjust
published 2.1.6 •

Changelog

Source

2.1.6

  • Fix definition of TxContext
/**
 * TxContext provides some context information of the current transaction, 
 * needed only if signature is checked inside the contract.
 */
export interface TxContext {
  /** current transaction represented in bsv.Transaction object or hex string */
  tx: bsv.Transaction | string;
  /** input index */
  inputIndex: number;
  /** input amount in satoshis */
  inputSatoshis: number;
  /** contract state in ASM format */
  opReturn?: string;
  /** contract state in hex format */
  opReturnHex?: string;
}
  • deprecated asm field of ContractArtifact
zhfnjust
published 2.1.5 •

Changelog

Source

2.1.5

  • fix bsv issue
zhfnjust
published 2.1.4 •

Changelog

Source

2.1.4

  • update exports
zhfnjust
published 2.1.3 •

Changelog

Source

2.1.3

  • remove _preimagesMap and _signaturesMap in bsv.Transaction
zhfnjust
published 2.1.2 •

Changelog

Source

2.1.2

  • fix transaction fee evaluation
  • update bsv index.d.ts
zhfnjust
published 2.1.1 •

Changelog

Source

2.1.1

zhfnjust
published 2.1.0 •

Changelog

Source

2.1.0