Skip to content

Secure Data Storage: Build a blockchain-based data storage system that provides secure and decentralized storage for sensitive information. This system could be used by individuals or organizations that require high levels of data security

Notifications You must be signed in to change notification settings

Swaraj-1925/secure-data-transfer

Repository files navigation

1)install node

2)create a account on pinata and copy the api key and paste it after Bearer in app.py something like shown below image

  1. create a folder and open it in vs code
  2. open a new terminal a new terminal and run:- npm install --save-dev hardhat
  3. after installing hardhat run npx hardhat -> create javascript with default configuration

6)then copy paste the Blockchain main folder and deploy.js file in your created folder

7)copy the content from uplod.sol and paste it in Lock.sol in contracts folder

  1. copy the data from hardhat.config.js from this repo to the hardhat.config.js in your local computer

  2. create a new terminal and run :- npx hardhat node (dont close this terminal)

10)create a new terminal and run :- npx hardhat run --network localhost deploy.js

11)in your folder on your computer in client folder this is file Upload.json from that copy the abi part

image

  1. replace the abi part in app.py in contract_abi part with you copied abi

  2. after running "npx hardhat run --network localhost deploy.js" you will gate a hash in treminal after "Library deployed to: " copy that hash and replace contract_address image

  3. run the python file

  4. after opening the site you will have to enter priavte key from the terminal of (npx hardhat node) cammand and not address

  5. note that you can only use the address from (npx hardhat node) terminal image

About

Secure Data Storage: Build a blockchain-based data storage system that provides secure and decentralized storage for sensitive information. This system could be used by individuals or organizations that require high levels of data security

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published