Imagine there is a bidding smart contract and i have a maximum time limit set for it. How would i count time within this smart contract in cardano ? Can i get the slotIds and use that as proxy count of time or is there any other way to read time within cardano blockchain ?
1 Answer
You can use either slots or regular time, see https://playground.plutus.iohkdev.io/doc/haddock/plutus-contract/html/Plutus-Contract.html#g:2