I created this repository as a quicker starting point for solidity projects. It combines 3 major frameworks that are used together:
React -> front-end
Truffle -> solidity development (including network defaults to truffle-config.js)
MetaMask -> web3 connectivity
Ganache -> development
Additionally, packages that are staples and used often throughout projects are also embedded/included in package.json:
- dotenv (.env file integration)
- web3
- chai
- lodash
- moment
- bootstrap
- babel (ES6 integration for Javascript)
- clone repository or download a local copy
git clone https://github.com/Guceri/project-init EthereumProject
- navigate to project directory to install package.json packages
npm install
- configure .env file (rename fi & set API keys, Mnemonics, etc.)
- rename file to .env
- configure API keys & Mnemonics
- make adjustments to truffle-config.js as needed (ie. compiler version)
- run smoke test
npm start