Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scrypt-ts

Package Overview
Dependencies
Maintainers
2
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypt-ts - npm Package Compare versions

Comparing version 0.1.5-beta.5 to 0.1.5-beta.6

8

dist/contract.d.ts

@@ -25,3 +25,3 @@ import "reflect-metadata";

/** locking script */
scriptCode: ByteString;
script: ByteString;
/** amount in satoshis */

@@ -48,3 +48,3 @@ value: bigint;

/** version number of [transaction]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#General_format_of_a_Bitcoin_transaction} */
nVersion: ByteString;
version: ByteString;
/** the specific UTXO spent by this transaction input */

@@ -57,7 +57,7 @@ utxo: UTXO;

/** sequence number of [transaction input]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#Format_of_a_Transaction_Input} */
nSequence: bigint;
sequence: bigint;
/** double-SHA256 hash of the serialization of some/all output amount with its locking script, see [hashOutputs]{@link https://github.com/bitcoin-sv/bitcoin-sv/blob/master/doc/abc/replay-protected-sighash.md#hashoutputs} */
hashOutputs: ByteString;
/** locktime of [transaction]{@link https://wiki.bitcoinsv.io/index.php/Bitcoin_Transactions#General_format_of_a_Bitcoin_transaction} */
nLocktime: bigint;
locktime: bigint;
/** [SIGHASH flag]{@link https://wiki.bitcoinsv.io/index.php/SIGHASH_flags} used by this input */

@@ -64,0 +64,0 @@ sigHashType: SigHashType;

@@ -413,6 +413,6 @@ "use strict";

this.ctx = {
nVersion: functions_1.SigHash.nVersion(txPreimage),
version: functions_1.SigHash.nVersion(txPreimage),
utxo: {
value: functions_1.SigHash.value(txPreimage),
scriptCode: functions_1.SigHash.scriptCode(txPreimage),
script: functions_1.SigHash.scriptCode(txPreimage),
outpoint: {

@@ -425,5 +425,5 @@ txid: outpoint.slice(0, 32 * 2),

hashSequence: functions_1.SigHash.hashSequence(txPreimage),
nSequence: functions_1.SigHash.nSequence(txPreimage),
sequence: functions_1.SigHash.nSequence(txPreimage),
hashOutputs: functions_1.SigHash.hashOutputs(txPreimage),
nLocktime: functions_1.SigHash.nLocktime(txPreimage),
locktime: functions_1.SigHash.nLocktime(txPreimage),
sigHashType: functions_1.SigHash.sigHashType(txPreimage),

@@ -430,0 +430,0 @@ };

{
"name": "scrypt-ts",
"version": "0.1.5-beta.5",
"version": "0.1.5-beta.6",
"description": "A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc