Created
July 29, 2022 14:08
-
-
Save satran004/6fb4f8e29cbe2dcccbaef2beb04c70bf to your computer and use it in GitHub Desktop.
CL-PL-8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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