Practical overview
When it fits
Use it when a project needs the Uniswap V2 core contracts or a documented local workflow for compiling and testing them.
Who it is for
- Developers building Ethereum decentralized-exchange applications
- Teams integrating automated-market-maker functionality
- Developers working with ERC-20 token liquidity pools
- Contributors testing or compiling Uniswap V2 contract changes
Documented uses
- Install local project dependencies
- Compile the core contracts
- Run the documented test suite
- Use contract artifacts as a foundation for an Ethereum exchange integration
Requirements & limits
The repository is public, open source and not archived. It is licensed under GPL-3.0. The documented local workflow assumes Node.js version 10 or newer and Yarn.
- The repository is specifically focused on Uniswap V2 core smart contracts rather than a general-purpose exchange application.
- The documented workflow covers dependency installation, compilation and testing.
- Ethereum, ERC-20, decentralized-exchange and smart-contract topics are identified in the repository metadata.
- The available documentation does not cover deployment steps.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up and test the V2 Core contracts locally
Install the documented dependencies, compile the contracts and run the repository tests.
Before you start
- Node.js version 10 or newer
- Yarn
Steps
Run
yarnto install dependencies.Run
yarn compileto compile the contracts.Run
yarn testto run the tests.
Expected outcome
The documented local workflow installs dependencies, compiles the contracts and invokes the test suite.
Guide limitations
- The documentation does not provide a deployment procedure.
- The source does not document the test results or a specific runtime environment beyond Node.js version 10 or newer and Yarn.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 1 October 2026
- Original website title
- Uniswap/v2-core · Official homepage title · retained in its source language

