Local Environment Setup
Prerequisites
Clone the Repository
git clone https://github.com/VinuChain/VinuSwap-VinuChain.git
cd VinuSwap-VinuChainInstall Dependencies
npm installCompile Contracts
Run Tests
Start Local Network
Deploy to Local Network
Project Structure
Hardhat Configuration
Environment Variables
TypeScript SDK Setup
Development Workflow
1. Make Contract Changes
2. Compile
3. Run Affected Tests
4. Run Full Test Suite
5. Deploy to Local Network
Useful Commands
Command
Description
Common Issues
Compilation Errors
Test Timeouts
TypeChain Issues
IDE Setup
VS Code
Next Steps
Last updated