A guide to smart contract security best practices
Clone or download
Destiner and maurelian Add "Don't use modifiers for external calls" (#181)
* Add "Don't use modifiers for external calls"

* Change section on modifiers

* Discourage state changes too
* New title
* Another location in the document for consistency

* Update recommendations.md
Latest commit 07b42a7 Oct 17, 2018


Smart Contract Security Best Practices

Visit the documentation site: https://consensys.github.io/smart-contract-best-practices/

Read the docs in Chinese: https://github.com/ConsenSys/smart-contract-best-practices/blob/master/README-zh.md

Contributions are welcome!

Feel free to submit a pull request, with anything from small fixes, to full new sections. If you are writing new content, please reference the contributing page for guidance on style.

See the issues for topics that need to be covered or updated. If you have an idea you'd like to discuss, please chat with us in Gitter.

If you've written an article or blog post, please add it to the bibliography.

Building the documentation site

$ git clone git@github.com:ConsenSys/smart-contract-best-practices.git
$ cd smart-contract-best-practices
$ pip install -r requirements.txt
$ mkdocs build 

You can also use the mkdocs serve command to view the site on localhost, and live reload whenever you save changes.

Redeploying the documentation site

mkdocs gh-deploy