Local Development
Prerequisites
- Node.js >= 18.0.0
- npm or yarn
- Foundry (forge, cast, anvil) - optional for fuzz testing
Setup
bash
git clone https://github.com/Paxeer-Network/v5-Automated-Market-Maker.git
cd v5-Automated-Market-Maker
npm installCompile
bash
# Hardhat compilation
npm run compile
# Foundry compilation
npm run compile:forgeTest
bash
# Hardhat unit tests
npm test
# Foundry fuzz tests
npm run test:forge
# Extended fuzzing (10,000 runs)
npm run test:fuzz
# Gas report
npm run test:gas
# Coverage
npm run test:coverageLocal Deployment
bash
# Deploy to Hardhat local network
npm run deploy:localThis deploys:
- Diamond proxy
- 12 facets (3 infrastructure + 9 business logic)
- Periphery contracts (Router, Quoter, PositionManager, OrderManager, PositionDescriptor)
- EventEmitter
Output is saved to deployments/hardhat-31337.json.
Linting
bash
# Solidity linting
npm run lint:sol
# TypeScript linting
npm run lint:ts
# Format code
npm run formatContract Sizes
bash
npm run sizeLicense
Licensed under the GNU General Public License v3.0--see LICENSE for terms.
Copyright (C) 2026 PaxLabs Inc.
SPDX-License-Identifier: GPL-3.0-onlyContact & Resources
| Resource | Link |
|---|---|
| Protocol Documentation | docs.hyperpaxeer.com |
| Block Explorer | paxscan.paxeer.app |
| Sidiora Exchange | app.hyperpaxeer.com |
| Website | paxeer.app |
| Twitter/X | @paxeer_app |
| General Inquiries | infopaxeer@paxeer.app |
| Security Reports | security@paxeer.app |