MCPcopy Create free account
hub / github.com/NoteProtocol/NoteWallet / buildNoteScript

Function buildNoteScript

src/note.ts:16–18  ·  view source on GitHub ↗
(xOnlyPubkey: Buffer)

Source from the content-addressed store, hash-verified

14
15// Construct NOTE script without embedded data
16export function buildNoteScript(xOnlyPubkey: Buffer) {
17 return buildNoteScriptV2(xOnlyPubkey, true);
18}
19
20// Construct script that only contains the data section
21export function buildDataScript(

Callers 3

generateP2TRNoteInfoFunction · 0.90
generateP2TRNoteInfoV1Function · 0.90
generateP2SHNoteAddressFunction · 0.90

Calls 1

buildNoteScriptV2Function · 0.85

Tested by

no test coverage detected