This is Dapp, where you can interact with cryptocurrency via UI. (have some trouble with OS Windows)
-
You should install NPM and NodeJS
-
Clone this repository
-
Open directory and run. This will all neсessary dependancies
$ npm install
- Run in terminal. This initialise private blockchain on http://127.0.0.1:8545 with networkid 1347, compile and deploy(migrate) smart contract.
$ ganache-cli -p 8545 -i 1347
in other terminal window
$ truffle compile
$ truffle migrate --reset
$ npm run dev
-
Install extansion MetaMask in browser or browser Mist. They will connect to private blockchain via web3 API.
-
(for MetaMask) open extansion and import account via private key, there are in first terminal window.
(for Mist) open mist with comand in terminal:
$ mist --rpc http://127.0.0.1:8545
It will connect to private blockchain. After that, open http://localhost:3000