Skip to content

prestx00/SimpleVM

Repository files navigation

Simple VM

A simple virtual machine (VM) implementation using Next.js and the Ethereum blockchain. This project allows users to input a stack and opcode, execute it, and display the result using a smart contract on the Ethereum network.

Features

  • User-friendly interface built with Next.js and React
  • Ethereum smart contract integration
  • Opcode string display
  • Execution result display
  • Input validation

Setup

Prerequisites

  • Node.js version 12.x or higher
  • yarn (or npm)
  • A local or remote Ethereum network (e.g. Ganache, Geth, or Infura)

Installation

  1. Clone the repository
git clone https://github.com/prestx00/test-tasks.git
cd test-tasks
  1. Install dependencies
yarn install

or

npm install
  1. Start the development server
npx next dev

Your Simple VM app should now be running at http://localhost:3000.

License

This project is licensed under the MIT License.

Support

If you have any questions or need assistance, please create an issue in the repository, and i will do my best to help.

Acknowledgments

Next.js Ethers.js v6-beta React Ethereum