This repository contains the smart contract implementations for the Vertex Protocol ecosystem.
The repository is organized into two main projects:
- vertex-contracts/core: EVM implementation of Vertex core functionality
- vertex-contracts/lba: Vertex LBA (Liquidity Bootstrap Auction) contracts
- Node.js >=16
- Yarn
Each project has its own setup and development commands. Navigate to the respective directories for project-specific instructions:
# For Vertex EVM Core Contracts
cd vertex-contracts/core
yarn install
yarn compile
# For Vertex LBA Contracts
cd vertex-contracts/lba
yarn install
# Follow the .env setup instructions
yarn compile: Compile Vertex EVM contracts- See project-specific README for more details
yarn lint: Run prettier & SolHintyarn contracts:force-compile: Compile contracts and generate TS bindings + ABIsyarn run-local-node: Run a persistent local Hardhat node for testing- See project-specific README for more details
For more detailed information about each project, please refer to their respective README files.