RE: NEO Development(4): All About Timestamp - 區塊鏈上的時間戳記

You are viewing a single comment's thread from:

NEO Development(4): All About Timestamp - 區塊鏈上的時間戳記

in cn •  7 years ago 

Hi @criptraders, glad that you tried to read my post.

It's about how to deal with "Time" on smart contracts. Since we cannot trust timestamps provided by nodes, the only way to get timestamp of a transaction is to get the timestamp of the block containing the transaction.

So I provided a sample code about how to implement this in neo-python. If you're interested in smart contract development, I encourage you to look into it, it's easy to use, and I think NEO does have several advantages over Ethereum.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

thanks for reply now i have some idea about the post actually i have deployed a smart contract on ethereum classic, but i would like to learn about NEO, thanks a lot

wow, good to know another Dapp developer! Happy hacking lol!

Really nice for us that can understand only english.