Add something here.
- HTML/CSS/JS
- Truffle
Add something here.
- Nodejs
- Truffle
npm install -g truffle
- Clone the repo
git clone https://github.com/anhskrttt/metacoin_simple_fe.git
- Launch Ganache. Add truffle-config.js if needed
- Compile & Deploy contract
truffle deploy
- Save the Metacoin contract's address and add it to the app/script.js (var METACOIN_ADDRESS)
- Add senderAddr and receiverAddr as the first and second account's address (public key) in your local blockchain
- Launch the .html file and check if there's any error
Just the same as above but you must add Ganache to Metamask: Source