This repository contains the UniswapV2Core mockup contract, providing the core functionalities of the Eduswap decentralized exchange.
- UniswapV2Factory: 0xe745f43775B760958cd34ee83B3ab0c088F74630
- Utils: 0x7aFB87aE9E37c365955012527f8a9039D6F2CA30
- Node.js v12+ LTS and npm (comes with Node)
- Hardhat
git clone https://github.com/ScumAgent/v2-core
cd v2-core
npm istall
- Review the .example.env file.
- Create a .env file based on the example and adjust the values as needed.
cp .example.env .env
copy .example.env .env
Compile the smart contracts using Hardhat:
npx hardhat compile
Run the following command to execute the contract tests. Ensure you've written the tests in your Hardhat project's test directory.
npx hardhat test
Run the following command to compile the contracts using the Solidity compiler and deploy the UniswapV2Factory.
npx hardhat run scripts/deploy.js --network arbtest
If you would like to contribute to the project, please fork the repository, make your changes, and then submit a pull request. We appreciate all contributions and feedback!