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 compile
or
hh compile
- Run the test:
yarn hardhat test
or
hh test
-
Create your own .env file. Follow the .env.example file.
-
Deploy the contract:
yarn hardhat deploy --network sepolia
or
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 sepolia
or
hh run scripts/WHAT_SCRIPTS_YOU_WANT_TO_RUN --network sepolia
MIT
Luo Yingjie - [email protected]