Support User Transaction in sCrypt Debugger

Attribute txContext

  • hex: current transaction to be used in signature verification in hex format. It can be either signed or unsigned
  • opReturn: initial data part of a stateful contract in ASM format. Multiple data pushes are allowed such as “00 1122 ffac”
  • inputSatoshis: the amount of the UTXO referenced by the input, in satoshis
  • inputIndex: index of the input in the transaction that is spending the UTXO containing our contract
Transaction context example

Use Transaction from Testnet

Debug A Transaction on Testnet

Use Transaction from Unit Tests

--

--

--

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Python Calculation Commands

Data Flow Diagram

Build your Solana Staking Machine

Building a Simple Port Scanner with GO

Preserving Orthogonality In Our Software

Pair Programming + Basic Branching + Merging

Web Scalability for Beginners

Top 5 VS Code Extensions Every Programmer Should Use

VS Code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
sCrypt

sCrypt

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

More from Medium

On replacing hardware wallets

5P;1R — Bitcoin’s Elliptic Curve Cryptography

“Back to Genesis” Simplest Explanation

Palindrome in Rust