Modity is a browser-based Jupyter Notebook-like environment for Solidity, providing an interactive development experience specifically for writing and testing smart contracts. Additionally, Modity offers the capability to interact with EVM-compatible public blockchains, allowing developers to write, test, and deploy smart contracts directly in their web browser.
Important
Modity is currently under heavy development.
- Smart contract editing and compilation
- Real-time code execution
- Variable inspection and result display
- Interactive code snippet management
- Solidity syntax highlighting
- Error handling and display
- Integration with EVM-compatible public blockchains
- React
- TypeScript
- Vite
- Tailwind CSS
- Jotai (State Management)
- Solidity (Smart Contract Language)
- Bun (Runtime)
- Clone the repository
- Install dependencies:
bun install
- Start the development server:
bun run dev
- Fragment Runtime
- Notebook
- Drag & Drop
- Running Index
- Variable Inspection
- Result Display
- Code Snippet Management
- Error Handling
- Integration with EVM-compatible public blockchains
- Notebook Sharing (Export, Import)
- Notebook History (Undo, Redo)
- Notebook Template
- Memory And Stack Inspection (WIP)
- Bytecode Inspection
- Assembly Inspection
- Call Tree Inspection
- Gas Usage
- Storage Inspection
- Event Inspection
- Fragment Debugger
- VM
- VM Fork Network
- VM Execution Result
- VM cheat codes (for compatible foundry)
- VM Debugger
- VM Execution Trace
- VM Human-readable variables analysis
- VM Log Analysis
- Interfaces
- Connect to Wallet
- Save & Load
- Open Github Gist or raw Github URL
- Fold and unfold CodeFragment
- VSCode Extension
Run bun run build
to create a production build.
For license information, please refer to the LICENSE file.