In the case where we are not using a reference input to reference another transaction input (at a Plutus script address), we can specify a read only reference input that is simply exposed in the Plutus script context.
./lockRferenceInput yourWalltNamelocks 25 Ada at contract- choose one utxo with only ada
./balance.sh yourWalletNameshows utxos at given wallet name save the transaction hash of your token utxo./unlockReferenceInput.sh yourWalletNamewill unlock all ada from contract utxo- first utxo only ada
- second utxo the utxo with your token defined in the env.sh file used as reference utxo (not consumed)
- third utxo just one from the contract
- use
./balance.shagain and compare the transaction hash, it hasn't changed - other commands
-
./cbalanceshows balance at contract
Is valid if the reference input has the token, invalid if the token is a normal input.