Skip to content

Corruption reporting tool built on top of Ethereum and IPFS

License

Notifications You must be signed in to change notification settings

bdjukic/monument

Repository files navigation

Prerequisites

1.Creating Ethereum accounts with some Ether. Make sure password.txt file is created.

geth --datadir ~/Projects/monument/blockchain --password ~/Projects/monument/blockchain/password.txt account new > account.txt

  1. Copy account ID from account.txt into genesis.json

  2. Inititate Ethereum blockchain

geth --datadir ~/Projects/monument/blockchain init ~/Projects/monument/blockchain/genesis.json

  1. Run Ethereum node

geth --datadir ~/Projects/monument/blockchain/ --ipcpath /home/bogdan/Projects/monument/blockchain/geth.ipc --rpc --rpcapi "eth,net,web3,personal" --rpcaddr="127.0.0.1" --rpcport="8545" --rpccorsdomain="*" --unlock 0xe6fc6e050b39706a40d2d89e15bcd9129fd2b93a --password '/home/bogdan/Projects/monument/blockchain/password.txt'

  1. Run wallet

'/opt/Ethereum Wallet/ethereumwallet' --rpc http://127.0.0.1:8545

  1. Kick off mining

geth attach ipc:/home/bogdan/Projects/monument/blockchain/geth.ipc

miner.start() to start mining miner.stop() to stop mining

  1. Set up IPFS

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]' ipfs config --json Gateway.HTTPHeaders.Access-Control-Allow-Origin '["*"]'

  1. Run IPFS daemon

ipfs daemon

About

Corruption reporting tool built on top of Ethereum and IPFS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published