CornellBlockchain / ethereumbook

Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood
https://ethereumbook.info/
Other
3 stars 2 forks source link

Smart Contract Best Practices #8

Closed BrianGuo closed 6 years ago

BrianGuo commented 6 years ago

@LucasSwitz @dmp267

First of all, GREAT contributions. Thank you very much

Edits:

  1. In your solidity code, you can specify syntax highlighting. look at the example that Ohad writes within "Ethereum Contract ABI". he has syntax highlighting there. I'm pretty sure you just insert [source, solidity]. Include this for all code.

  2. Mention the function of the underscore semicolon; people might be a little confused about that

Otherwise, you have a great great example. Thanks for writing this!