/exercices-b2expand

Some contracts to learn Solidity

MIT LicenseMIT

exercices-b2expand

In this repository, you will find contracts I wrote to learn Solidity. In each folder, I put the contract's code, a README.md file explaining the tests made on the Ropsten testnet, and the ABI structure of the contracts which is needed to interact with the contract.

To make these tests, I used the following accounts:

Part1

Deploying a ERC20 token.

Part2

An ICO contract selling this token.

Part3

A proxy contract to invest in the ICO.

Part4 (Not working)

An improvement of the proxy contract using payment channels.

Part5

An improvement of the proxy contract (and some changes in the ICO contract) to allow a Re-entrancy attack.