Decentralized-Google-Drive
所属分类:IPFS
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-07-24 08:22:54
上 传 者:
sh-1993
说明: 这是一个试图实现像Google Drive这样的去中心化存储系统的项目。这是在以太的帮助下完成的,哈达...,
(This is Project in Which Try to Implement A Decenteralized Storage System Like Google Drive. This is Done With the Help of Ethers, Hardhat and Hardhat Local Blockchain and Pinata IPFS)
文件列表:
Contracts/ (0, 2023-07-24)
Contracts/Drive.sol (1580, 2023-07-24)
Frontend/ (0, 2023-07-24)
Frontend/.eslintrc.cjs (526, 2023-07-24)
Frontend/index.html (647, 2023-07-24)
Frontend/package-lock.json (248974, 2023-07-24)
Frontend/package.json (818, 2023-07-24)
Frontend/postcss.config.js (80, 2023-07-24)
Frontend/public/ (0, 2023-07-24)
Frontend/public/Icon.png (60325, 2023-07-24)
Frontend/public/vite.svg (1497, 2023-07-24)
Frontend/src/ (0, 2023-07-24)
Frontend/src/App.css (75, 2023-07-24)
Frontend/src/App.jsx (3970, 2023-07-24)
Frontend/src/Artifacts/ (0, 2023-07-24)
Frontend/src/Artifacts/Contracts/ (0, 2023-07-24)
Frontend/src/Artifacts/Contracts/Drive.sol/ (0, 2023-07-24)
Frontend/src/Artifacts/Contracts/Drive.sol/Drive.dbg.json (108, 2023-07-24)
Frontend/src/Artifacts/Contracts/Drive.sol/Drive.json (22629, 2023-07-24)
Frontend/src/Artifacts/build-info/ (0, 2023-07-24)
Frontend/src/Artifacts/build-info/9bebb33830f0b49196059cec0c50d3da.json (269929, 2023-07-24)
Frontend/src/Components/ (0, 2023-07-24)
Frontend/src/Components/FileUpload.jsx (3135, 2023-07-24)
Frontend/src/Components/GetAsset.jsx (1610, 2023-07-24)
Frontend/src/Components/ShareAccess.jsx (2751, 2023-07-24)
Frontend/src/Components/YourAsset.jsx (1173, 2023-07-24)
Frontend/src/assets/ (0, 2023-07-24)
Frontend/src/assets/react.svg (4126, 2023-07-24)
Frontend/src/index.css (191, 2023-07-24)
Frontend/src/main.jsx (240, 2023-07-24)
Frontend/tailwind.config.js (281, 2023-07-24)
Frontend/vite.config.js (253, 2023-07-24)
... ...
### Necessary Packages
```js
npm install @nomicfoundation/hardhat-toolbox
npm install @nomiclabs/hardhat-ethers
npm install @nomiclabs/hardhat-waffle
npm install ethereum-waffle
npm install ethers
npm install hardhat
```
And Dont Forget to Add Below Lines in hardhat.config.js
```js
require("@nomiclabs/hardhat-waffle");
```
### Procedure
```js
npm init -y
npm i hardhat
npx hardhat
```
Open Terminal and Run
`npx hardhat node` to Run Hardhat Local Blockchain
Now Deploy Our Contarc to Localhost
```js
npx hardhat run Scripts/DeployOld.js --network localhost`
```
Now Copy The Address of This Deployed Smart Contract. This Will Help Us When We Be Deploying out Contarct
Now Run Vite App. Do Configuration in Your React App to Connect With Metamask With Ethers JS
### App Look Like
![Upload File](https://github.com/HydraPhyzer/Decentralized-Google-Drive/blob/master/./Important%20Images%20For%20Readme/A.jpg)
![Your Asset](https://github.com/HydraPhyzer/Decentralized-Google-Drive/blob/master/./Important%20Images%20For%20Readme/B.jpg)
![Get Asset](https://github.com/HydraPhyzer/Decentralized-Google-Drive/blob/master/./Important%20Images%20For%20Readme/C.jpg)
![Share Access](https://github.com/HydraPhyzer/Decentralized-Google-Drive/blob/master/./Important%20Images%20For%20Readme/D.jpg)
Good Luck . And Don't Forget To Like and Fork This Repository
近期下载者:
相关文件:
收藏者: