A complete Remix-like development environment for Hathor nano contracts, providing a full-featured web-based IDE for developing, testing, and deploying nano contracts without requiring a full Hathor node.
- Web-based IDE with Monaco Editor and Python syntax highlighting
- Real-time validation of nano contract rules and syntax
- Local execution engine using the complete Hathor nano contracts implementation
- Interactive testing environment with balance simulation and debugging
- Contract templates and examples
- Deployment integration with Hathor testnet/mainnet
nano-contracts-ide/
├── frontend/ # React/Next.js web interface
├── backend/ # Python FastAPI backend
├── python-runner/ # Isolated Python execution environment
└── shared/ # Shared utilities and types
- Python 3.11+
- Node.js 18+
- npm or yarn
cd backend
pip install -r requirements.txt
uvicorn main:app --reload
cd frontend
npm install
npm run dev
- Project structure setup
- Python backend with FastAPI
- Nano contracts execution engine
- Contract validation system
- React frontend with Monaco editor
- Storage simulation layer
- Interactive testing interface
- Contract templates and examples
This toolkit aims to:
- Democratize nano contract development by removing barriers to entry
- Provide instant feedback for faster development cycles
- Maintain full compatibility with production Hathor network
- Enable educational use for learning nano contracts
- Support production deployment with real network integration
Licensed under the Apache License, Version 2.0.