Build a transaction to unlock funds from a smart contract
The following shows a simple example of building a transaction to unlock funds from a smart contract. In this example, we use an async function .complete() instead of .completeSync(). With this completing logic, it would perform auto redeemer update with aiken's uplc.