Replies: 3 comments
-
|
I am trying to find the answers via ChatGPT. Hahaha |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ordinals got easier with 1.3.0 https://github.com/paulmillr/scure-btc-signer/releases/tag/1.3.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This works for me: const tx = new btc.Transaction({ allowUnknownOutputs: true });
const opReturnData = new TextEncoder().encode("hello world");
const opReturnScript = btc.Script.encode(['RETURN', opReturnData]);
tx.addOutput({
script: opReturnScript,
amount: 0n
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do i add hex or buffer data to an OP_RETURN data?
Beta Was this translation helpful? Give feedback.
All reactions