Advanced OP_PUSH_TX

TxAdvanced

Tx.checkPreimageAdvanced() parameters
  • privKey & pubKey: ECDSA key pair
  • invK: the modular inverse of k, the ephemeral key
  • r: x-coordinate of R, which is kG
  • rBigEndian: the signed magnitude representation of r, in big endian. Strictly speaking, this can be derived from r but it requires non-trivial computation in script. So we expose it here as an optimization to be computed off-chain
  • sigHashType: SIGHASH flag used to indicate which part of the transaction is signed by the ECDSA signature

ANYONECANPAY Counter Contract

Advanced Counter Contract
Transaction 1

Discussion

Acknowledgements

--

--

--

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

CODEX — Tokenized Ecosystems

SKALE Network- Fundamentals & In-depth study

Potential to trade and lease NFTs on Fusion.

Crypto Exchanges and Wallets to Use Cybersecurity Data to Prevent Hacks

ProBit Global Lists Pangea Ocean Cleanup (POC)

Euclideum — Uniswap

Russian lawyers target cryptocurrency legislation

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

Solana on-chain cron scheduler is here

Building a Blockchain Oracle for Solana

An Introduction to “White Paper 42” — Secret Value Distribution

Is Fe the next smart contract language?