Skip to content

FluffyLabs/pvm-debugger

Repository files navigation

PVM disassembler & debugger

PVMs support

We have the following PVMs integrated by default.

  • typeberry - TypeScript implementation (Private)
  • anan-as - AssemblyScript implementation (as WASM)
  • polkavm - Rust implementation (as WASM)

There are few ways how you can add your own PVM to execute the code.

  1. Upload WASM (supported interfaces: wasm-bindgen, assembly script, Go)
  2. Point to an URL with metadata file (details in #81; example pvm-metadata.json)
  3. Connect to WebSocket interface: example & docs.

Details about the API requirements can be found in #81

Development

Requirements

$ node --version
v 22.1.0

We recommend NVM to install and manage different node versions.

Installing dependencies

$ npm ci

Start a development version

$ npm run dev

Building

$ npm run build

The static files with the website can then be found in ./dist folder.

You can display them for instance with http-server:

$ npx http-server -o

Running formatting & linting

$ npm run lint

Packages

No packages published

Contributors 6