View Code? Open in Web Editor
NEW
This project forked from winterjung/file-on-blockchain
๐ฆ Store file's hash on ethereum blockchain and verify it's original
Python 77.21%
Shell 2.56%
HTML 20.23%
file-on-blockchain's Introduction
Index |
Upload result |
File info |
![upload](https://raw.githubusercontent.com/JungWinter/JungWinter.github.io/master/images/20171203/02_upload_file.png) |
![result](https://raw.githubusercontent.com/JungWinter/JungWinter.github.io/master/images/20171203/03_upload_result.png) |
![info](https://raw.githubusercontent.com/JungWinter/JungWinter.github.io/master/images/20171203/04_info.png) |
Initialize blockchain environment
git clone https://github.com/JungWinter/file-on-blockchain
cd file-on-blockchain/blockchain
./init.sh
./start.sh
Create account for deploying
- Open another terminal and move to
file-on-blockchain/blockchain
geth attach ./chain-data/geth.ipc
- In console,
personal.newAccount()
and enter password
miner.start()
and miner.stop()
cd file-on-blockchain/example
python deploy_contract_and_test.py
- ๐
cd file-on-blockchain/app
python server.py
- โญ
file-on-blockchain's People
Contributors