Sorry in advance if I do not make sense as I am a traditional developer now entering in Solidity/Smart Contract world.
For learning purposes, I want to build a simple online commerce system where buyers and sellers can interact with each other. When a buyer buys an item, instead of the amount goes instantly to the seller, I would like it to go in an escrow account(I guess the amount can be stored within a contract or I have to transfer to another Escrow Wallet?)
I am going to use Python/Django as a Web application along with MySQL. The thing which is not clear to me that how a smart contract function will fetch the data from Django and execute stuff? For instance, there is a function in smart contract called releasePayment() which should release the amount after 5 Days if there is no dispute is raised. In web apps we can use Crons for that purpose, how will a smart contract knows that a certain date is passed and a certain state of the freelance project is saved in MySQL?
Thanks for your patience.