Add fromCashASM function
This commit is contained in:
@@ -595,6 +595,15 @@ export const script = {
|
||||
models: [''],
|
||||
callback: (args: [string]) => Script.fromASM(...args),
|
||||
},
|
||||
{
|
||||
label: 'From CashASM',
|
||||
inputs: ['CashASM'],
|
||||
models: [
|
||||
'// Script evaluations are also supported.\n<$(<"evaluateThisFirst"> OP_SHA256)> OP_SHA256',
|
||||
],
|
||||
callback: (args: [string]) => Script.fromCashASM(...args),
|
||||
extendedInput: true,
|
||||
},
|
||||
{
|
||||
label: 'From Hex',
|
||||
inputs: ['Hex'],
|
||||
|
||||
Reference in New Issue
Block a user