Raw script contract — wraps a pre-built BSV.Script for use with the contract DSL.
Lock/Unlock parameters
:script— aBSV.Script.t()struct
Summary
Functions
Create a locking contract with the given satoshis and parameters.
Create an unlocking contract with the given UTXO info and parameters.
Functions
@spec lock(non_neg_integer(), map(), keyword()) :: BSV.Contract.t()
Create a locking contract with the given satoshis and parameters.
@spec unlock(map(), map(), keyword()) :: BSV.Contract.t()
Create an unlocking contract with the given UTXO info and parameters.