Skip to content

cakevm/huff-neo-web-editor

Repository files navigation

Huff Neo Web Editor

A modern web-based IDE for writing, compiling, and analyzing Huff smart contracts. Built on top of huff-neo, a high-performance Huff compiler written in Rust and compiled to WebAssembly.

This editor uses the huff-neo-js npm package, which provides the WASM-compiled version of the huff-neo compiler for browser environments.

Status

Currently, this serves as showcase for the WASM version of the huff-neo compiler and its features. The editor is in early development and may not be fully functional yet. Contributions are welcome to help improve the editor and add more features.

Features

  • Real-time Compilation - Instant compilation using huff-neo WASM compiler
  • Bytecode Visualization - Interactive bytecode viewer with source mapping

Getting Started

Prerequisites

  • Node.js 18+ and npm

Installation

# Install dependencies
npm install

# Start the development server
npm run dev

The editor will be available at http://localhost:3000

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

License

This project is dual licensed under Apache 2.0 or MIT licence.

About

WASM-based web editor & compiler for Huff using huff-neo-js, fully in-browser

Resources

Stars

Watchers

Forks

Releases

No releases published