How can someone calculate fee for executing Plutus smart contract given that they know CPU and Memory Units required for executing Plutus Script?
1 Answer
You can now use fee estimator at https://testnets.cardano.org/en/testnets/cardano/tools/plutus-fee-estimator/
-
Doesn't really answer the question. OP or somebody who finds this might be looking for an explanation of the formula rather than a tool to do the calculation.– gRebelCommented Jan 24, 2022 at 22:33
-
The formula is a simple multiplication. MemoryUnits X MemoryUnitCost + CPUsteps X CPUstepCost. As for the costs, I honestly don't know the numbers. Commented Jan 25, 2022 at 4:43