This project aims to create a decentralized platform for securely storing and trading files using blockchain technology. Users can upload files to IPFS, tokenize them as digital assets on the Ethereum blockchain, and trade them in a secure marketplace.
Table of Contents
- Clone the repository:
git clone https://github.com/cqlyj/CryptoFiles-Swap.git- Install dependencies:
yarn install- Compile the smart contracts:
yarn hardhat compileor
hh compile- Run the test:
yarn hardhat testor
hh test-
Create your own .env file. Follow the .env.example file.
-
Deploy the contract:
yarn hardhat deploy --network sepoliaor
hh deploy --network sepolia- Now you can run some scripts to interact with the contract:
yarn hardhat run scripts/WHAT_SCRIPTS_YOU_WANT_TO_RUN --network sepoliaor
hh run scripts/WHAT_SCRIPTS_YOU_WANT_TO_RUN --network sepoliaMIT
Luo Yingjie - luoyingjie0721@gmail.com