Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CashScript/cashscript
/ P2PKH.test.ts
File
P2PKH.test.ts
packages/cashscript/test/e2e/P2PKH.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ binToHex } from
'@bitauth/libauth'
;
2
import
{
3
Contract, SignatureTemplate, MockNetworkProvider, ElectrumNetworkProvider,
4
FailedRequireError,
Callers
nothing calls this directly
Calls
12
addUtxo
Function · 0.85
randomUtxo
Function · 0.85
gatherUtxos
Function · 0.85
getTxOutputs
Function · 0.85
createOpReturnOutput
Function · 0.85
send
Method · 0.80
addInputs
Method · 0.80
addOutputs
Method · 0.80
addInput
Method · 0.80
unlockP2PKH
Method · 0.80
getUtxos
Method · 0.65
addOutput
Method · 0.45
Tested by
no test coverage detected