Test Driving an Ethereum Solidity Contract — Iteration 0: Setup

A code kata is an exercise in programming which helps programmers hone their skills through practice and repetition. — Wikipedia

NOTE: This no longer seems to work with the latest version of truffle, which now requires an empty folder in order to run truffle init. You will need to do this in another folder and copy the files created over to your cloned repo.

Migrations are JavaScript files that help you deploy contracts to the Ethereum network. These files are responsible for staging your deployment tasks, and they’re written under the assumption that your deployment needs will change over time. As your project evolves, you’ll create new migration scripts to further this evolution on the blockchain. A history of previously run migrations is recorded on-chain through a special Migrations contract, detailed below.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store