Time based trigger in Chaincode

Hritik Gupta <hritikgupta9@...>

Hi all!

This is an extension to one of the ideas discussed about a seller-bidder architecture in the following link: https://lists.hyperledger.org/g/fabric/message/7554.

I have used a similar paradigm for bidding as suggested by David. Since, in this case, the seller has to invoke the chaincode to close the auction, I wonder if this closure can be automated/triggered by passing a end-time timestamp along with the other metadata while starting the auction. Or if there exists a better workaround to accomplish this ? (rather than having to constantly poll for the current-time and compare it with the end-time to decide on closure)

Appreciate any help!

Thanks and regards.


Hritik Gupta

B.Tech, Computer Science and Engineering

Indian Institute of Technology

Mandi, Himachal Pradesh – 175005

+91-7838869482 | b16097@...

Join {fabric@lists.hyperledger.org to automatically receive all group messages.