Skip to content
forked from Uniswap/v2-core

πŸŒ™ πŸŒ™ Core smart contracts of Eduswap V2

License

Notifications You must be signed in to change notification settings

eduswap/v2-core

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EduswapV2Core Contract

This repository contains the EduswapV2Core contract, a fork of the UniswapV2Core contract, providing the core functionalities of the Eduswap decentralized exchange.

Deployment Address

Prerequisites

  • Node.js v12+ LTS and npm (comes with Node)
  • Hardhat

Installation

Clone the repository:

git clone https://github.com/educhain/v2-core

Navigate to the project folder:

cd v2-core

Install dependencies:

npm istall

Set Up Configuration

  1. Review the .example.env file.
  2. Create a .env file based on the example and adjust the values as needed.

For Linux or macOS:

cp .example.env .env

Windows:

copy .example.env .env

Compilation

Compile the smart contracts using Hardhat:

npx hardhat compile

Quick Start Guide

1. Testing

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

2. Deployment

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

Conclusion

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!

About

πŸŒ™ πŸŒ™ Core smart contracts of Eduswap V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 86.3%
  • JavaScript 13.7%