This repository contains the EduswapV2Core contract, a fork of the UniswapV2Core contract, providing the core functionalities of the Eduswap decentralized exchange.
- EduswapV2Factory: 0xAdC632cf7d62cEEF5cEA6369B49684E835f62f36
- Utils: 0x9A0ca57DD72eac6D38FA150cC7eF1cAce8682E13
- Node.js v12+ LTS and npm (comes with Node)
- Hardhat
git clone https://github.com/educhain/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 EduswapV2Factory to your Edu chain network.
npx hardhat run scripts/deploy.js --network edutest
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!