Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NoteProtocol/NoteWallet
/ toXOnly
Function
toXOnly
src/btc/btc-ecc.ts:49–51 ·
view source on GitHub ↗
(pubkey: Buffer)
Source
from the content-addressed store, hash-verified
47
}
48
49
export
function
toXOnly(pubkey: Buffer): Buffer {
50
return
Buffer.from(pubkey.subarray(1, 33));
51
}
52
53
export
function
eccValidator(
54
pubkey: Buffer,
Callers
7
generateP2TRNoteInfo
Function · 0.90
generateP2TRCommitDataInfo
Function · 0.90
generateP2TRNoteInfoV1
Function · 0.90
addPsbtPayUtxos
Function · 0.90
signPsbt
Function · 0.90
finishSignPsbt
Function · 0.90
tweakSigner
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected