Skip to content

selendra/dex

Repository files navigation

Setup

  1. Install dependencies:
npm install
  1. Copy .env.example to .env and configure:
cp .env.example .env
  1. Compile contracts:
npm run compile
  1. Run tests:
npm test

Development

Run local node:

npm run node

Deploy to local network:

npm run deploy:local

Deploy to testnet:

npm run deploy:testnet

Project Structure

dex/
├── 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

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published