Skip to content

Instantly share code, notes, and snippets.

@satran004
Created July 29, 2022 14:08
Show Gist options
  • Save satran004/6fb4f8e29cbe2dcccbaef2beb04c70bf to your computer and use it in GitHub Desktop.
Save satran004/6fb4f8e29cbe2dcccbaef2beb04c70bf to your computer and use it in GitHub Desktop.
CL-PL-8
Output output = Output.builder()
.address(senderAddress)
.assetName(LOVELACE)
.qty(claimAmount)
.build();
ScriptCallContext scriptCallContext = ScriptCallContext
.builder()
.script(sumScript)
.exUnits(ExUnits.builder() //Exact exUnits will be calculated later
.mem(BigInteger.valueOf(0))
.steps(BigInteger.valueOf(0))
.build())
.redeemer(BigIntPlutusData.of(36))
.redeemerTag(RedeemerTag.Spend).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment