NadSwap is an efficient and secure decentralized exchange protocol. It features both stable and crypto pool implementations, optimized for different trading scenarios.
NadSwap is built with a focus on:
- Gas efficiency through Vyper implementation
- Stable and volatile asset trading pairs
- Advanced routing capabilities
- Secure vault management
- Factory pattern for pool deployment
- Handles trade routing and execution
- Manages multi-hop swaps
- Provides liquidity management functions
- Secure token custody
- Manages pool assets
- Handles deposit and withdrawal operations
- Central pool management
- Coordinates pool operations
- Implements core AMM logic
- Optimized for stable asset pairs
- Lower slippage for similar-valued assets
- Ideal for stablecoin trading
- Designed for volatile asset pairs
- Standard AMM curve
- Suitable for general cryptocurrency trading
NadFinanceStablePoolFactory.vy
: Deploys stable poolsNadFinanceCryptoPoolFactory.vy
: Deploys crypto pools
- Python 3.7+
- Vyper
- Ape Framework
# Install dependencies
pip install -r requirements.txt
# Run tests
ape test
The protocol implements various security measures:
- Reentrancy protection
- Overflow/underflow checks (built into Vyper)
- Access control mechanisms
- Secure math operations
[License Type] - See LICENSE file for details