- Install dependencies:
npm install- Copy
.env.exampleto.envand configure:
cp .env.example .env- Compile contracts:
npm run compile- Run tests:
npm testnpm run nodenpm run deploy:localnpm run deploy:testnetdex/
├── contracts/ # Smart contracts
│ ├── core/ # Core contracts (Factory, Pair)
│ ├── periphery/ # Router and helpers
│ └── test/ # Test tokens
├── test/ # Test files
├── scripts/ # Deployment scripts
└── hardhat.config.js # Hardhat configuration
MIT