MCPcopy Create free account
hub / github.com/CashScript/cashscript / bitAuthAsmToScript

Function bitAuthAsmToScript

packages/utils/src/script.ts:35–37  ·  view source on GitHub ↗
(asm: string)

Source from the content-addressed store, hash-verified

33
34// asmToBytecode also works for BitAuth ASM
35export function bitAuthAsmToScript(asm: string): Script {
36 return asmToScript(asm);
37}
38
39export function scriptToBytecode(script: Script): Uint8Array {
40 // Convert the script elements to AuthenticationInstructions

Callers

nothing calls this directly

Calls 1

asmToScriptFunction · 0.85

Tested by

no test coverage detected