Global dependencies -
• Node @9.10.0
• Truffle @5.0.5
• Node-gyp @3.6.2
Other -
• Ganache
• Metamask Extension for Google Chrome
- Start by cloning this repo
- Inside the new folder, npm install to install all req'd dependencies
- Open up Ganache and click 'Quick Start'
- Go to your terminal, cd your folder and 'truffle compile' to compile your contracts
- Then migrate your contracts to deploy to our local blockchain aka ganache - 'truffle migrate'
- Go to src/content.js and replace the address under line 13 with the address you deployed with aka ganache (This will allow the 'Add Land' form to be only visible to the contract owner.
- Go to your metamask extension and create a new network configured to your Ganache network. In that network, import a new account w/ one of the private keys inside your Ganache.
- 'npm start' to load up the project on your local browser. (make sure you're on your ganache network in your metamask extension)