file-on-blockchain
file-on-blockchain copied to clipboard
📦 Store file's hash on ethereum blockchain and verify it's original
trafficstars
File on blockchain
| Index | Upload result | File info |
|---|---|---|
![]() |
![]() |
![]() |
| Check | Exist | None |
|---|---|---|
![]() |
![]() |
![]() |
Initialize blockchain environment
git clone https://github.com/JungWinter/file-on-blockchaincd 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()andminer.stop()
Deploy simple contract
cd file-on-blockchain/examplepython deploy_contract_and_test.py- :tada:
Run server
cd file-on-blockchain/apppython server.py- :star:





