How vertex-protocol/vertex-contracts works
Project type and purpose
• This is a DeFi smart-contract ecosystem targeting EVM chains (“Vertex Protocol”).
• It consists of two related Solidity projects:
• Core protocol contracts (clearinghouse, engine, libraries, util, interfaces)
• LBA (Liquidity Bootstrap Auction) contracts
File structure
• Top-level folders:
• core/ – main EVM protocol code, Hardhat config, lint, compile, contract subfolders
• lba/ – auction-specific contracts, its own Hardhat config, env.ts for .env variables
• Subfolders under core/contracts and lba/contracts separate interfaces vs implementations
• Build tooling: hardhat.config.ts in each, package.json specifying scripts, tsconfig in lba
README for additional insights
• Confirms the two-project split and build commands
• Emphasizes Hardhat, Yarn, Node >=16, separate workflows for compile, lint, local node
Detail
• Shared interface libraries in a central “common” module
• Two project roots (core vs lba) and their Hardhat configs
• Don’t omit the generation of TS bindings and ABIs as part of the build pipeline