An attempt to build a simple bank decentralized application on the Ethereum Network
Follow the steps below to download, install, and run this project.
- NPM: https://nodejs.org
- Truffle: https://github.com/trufflesuite/truffle
- Ganache: http://truffleframework.com/ganache/
- Metamask: https://metamask.io/
git clone https://github.com/0xRadi/eth-simple-bank
$ cd eth-simple-bank
$ npm install -g truffle
$ npm install
Open the Ganache GUI client that you downloaded and installed. This will start your local blockchain instance.
$ truffle migrate --reset
You must migrate the bankNegara smart contract each time your restart ganache.
- Install Metamask in your browser
- Connect metamask to your local Etherum blockchain provided by Ganache.
- Import an account provided by ganache.
You can simply run http server using python
$ python3 -m http.server 3000
Visit this URL in your browser: http://localhost:3000