What you need to know about our 7th session!
DApps Dev Club is holding its 7th session, about smart contract security, on Tuesday, 28th May.
Here's what you need to know!
The session will be held at BitTemple's office in Raffles Place.
Thanks Solomon for helping us run the event!
In our previous session, we wrote the client that allows an end user to interact with our smart contracts, using a combination of various front-end web development tools, together with web3.js.
In session #04 we wrote a smart contract, and in session #05, we wrote tests against our smart contracts. In this session, we will learn about smart contract security, which relates more to what we did in sessions #04 and #05, and does not exactly flow on from the previous session. So if you need a recap, please read the summary posts, or watch the videos recorded, for those sessions if you would like a refresher:
Specifically, for this session, what we have lined up:
Demonstration of a common security vulnerability: Reentrance
Look at various Solidity developer tools that aid in the development of smart contracts.
As with the previous session, there will be hands-on parts. However, as mentioned in the Reflections section of the session #06 summary post, we will be kicking the difficulty level of this session down a notch, so that it will be easier to follow along. If you enjoyed the pace and complexity of sessions #03 and #04, you'll enjoy this session too! 😁
Security is a huge topic within smart contracts, and a single session on it would not everbe sufficient to cover it in any reasonable amount of detail. In fact, security alone could be the basis of an entire series of sessions! Thus, this session has been designed as more of an introductory level survey of the various facets of smart contract security, with the intended take away for attendees being that you are aware of them, and are eqiuipped with the resources to delve deeper into them when the need strikes.
In this session, most of the things that we will be doing are browser based, and to follow along you will need Chrome or Chromium, with MetaMask installed as a browser plugin.
In order to follow along with the secruity training games, you will need some Ropsten test net Ether, so please find a faucet and grab some Ether ahead of the session, so that you do not need to waste time during the session.
Further to this, if you would like to follow along and try out the demos as well, you should also install the following:
pip install slither-analyzer
node-gypwith Python 2 😬 so this might make make it difficult to install.
npm i -g solidity-coverage
If you do not want to use Ropsten, you have the option of running things locally:
localhostin the readme.
If you would like to use the newer, snazzier, edition of Remix IDE that has just been released, you can run that locally too:
npm i -g remix-ide
Do attempt to get these installed prior to the session if you can - as it will be fun to follow along with - but no worries if you cannot, as there will be live demos of these anyway! The only true requirements here are Chrome + MetaMask.
In the previous session, a few of you did say that you felt you were ready to start developing your own DApps, and asked for some project ideas to work on. We're stoked!
… for those who are interested, please take your ideas to our chat group, or come and talk with us during the session - we have a few interesting ones for you to tackle!
… it helps us plan for seating, ordering F&B, et cetera.
See you all again soon!