- Latest truffle version.
npm -g uninstall truffle && npm -g install truffle -
npm install -g ganache-cli -
npm install -g @remix-project/remixd - Install Ganache GUI (optional)
-
npm install - Load truffle-config.js into ganache or in a separate CMD console:
2b. Run Ganache
ganache -
truffle test
- Start Remix
- remixd -s e:\git\hackathon-tutorial
- Start Ganache remixd -s e:\git\hackathon-tutorial
- Use chrome and visit: https://remix.ethereum.org/
- In the workspaces dropdown (top left) select localhost and press ok.
- Open up the contracts folder, right click the PropertyLedgerContract.sol file and click Compile
- Select the deploy tab (menu on the far left)
- Choose Web3 Provider from the Environment dropdown (this connects to your local ganache. You can leave it as VM london which leverages a public test environment).
- Select the Property contract from the Contract dropdown and select publish.
- You can then interact with this contract in the deployed section at the bottom.
Author: Chris Patterson