This repo is an exploration into the Truffle framework for developing decentralized applications on the Ethereum network.
The decentralized applications, or "smart contracts" as they are often refered to, are written using the Solidity language. Once written, they can be deployed to the Ethereum network, or run locally on an emulated blockchain provided by Truffle.
It also uses Typechain to generate TypeScript bindings for the smart contracts, so that they can be easily integrated with a frontend application.
- Start a local instance of testrpc
npm run testrpc
- Compile the solidity contracts and generate typescript definitions
npm run compile
- Deploy contracts to testrpc
npm run migrate
- Run tests against contracts
npm test