You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
Yes. That is the private key. In that particular example it is in WIF format. You can google for specs. Hex and Buffer is also supported.
TxID is a hash of the transaction data, it is obtainable once the transaction data is complete, even before broadcasting it.
You mean script at the UTXO? The utxo's are the fund the TX is trying to spend. All utxos have an script that, when jointed with the spending transaction's scriptSig, need to be evaluated to true in order for the spending TX to be valid.
When you .sign the TX, the scriptSig of the spending TX is created.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm looking at the code in your
examples.md
document and have a couple of questions.Is the string inside the
PrivateKey('...')
an actual private key string?Where do you get the
txId
from? This transaction has not yet been processed so shouldn't have an id yet.What is the
script
? How do I get it?This is the code from the examples doc:
The text was updated successfully, but these errors were encountered: