{"id":50405305,"url":"https://github.com/layer-3/nitrovm","last_synced_at":"2026-05-31T01:04:38.395Z","repository":{"id":350361367,"uuid":"1206306157","full_name":"layer-3/nitrovm","owner":"layer-3","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-10T03:05:17.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-10T03:15:48.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/layer-3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-09T19:32:31.000Z","updated_at":"2026-04-10T03:05:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/layer-3/nitrovm","commit_stats":null,"previous_names":["layer-3/nitrovm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/layer-3/nitrovm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layer-3%2Fnitrovm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layer-3%2Fnitrovm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layer-3%2Fnitrovm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layer-3%2Fnitrovm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/layer-3","download_url":"https://codeload.github.com/layer-3/nitrovm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/layer-3%2Fnitrovm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33715214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T01:04:37.657Z","updated_at":"2026-05-31T01:04:38.378Z","avatar_url":"https://github.com/layer-3.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NitroVM\n\nA WebAssembly runtime for executing smart contracts, inspired by the EVM execution model.\n\n## Overview\n\nNitroVM provides a sandboxed WASM-based execution environment for smart contracts with familiar blockchain primitives: contract addresses, persistent storage, gas metering, and native asset ownership. It uses the [CosmWasm](https://cosmwasm.com/) VM (wasmer) via [wasmvm](https://github.com/CosmWasm/wasmvm) CGO bindings.\n\n## Key Features\n\n- **CosmWasm Runtime** — Contracts compile to WebAssembly and run in a deterministic sandbox powered by [wasmer](https://wasmer.io/) via CosmWasm's VM, with built-in gas metering, float rejection, and opcode validation\n- **EVM-style Addresses** — Contracts are identified by 20-byte hex addresses (`0x...`)\n- **Native Token (YELLOW)** — Gas metering and value transfers use the native YELLOW token\n- **Persistent Storage** — Key-value storage per contract, backed by pluggable storage adapters (SQLite initially)\n- **Two-step Deployment** — Store contract code, then instantiate with init parameters (the CosmWasm model)\n- **Host Functions** — CosmWasm-compatible host imports for storage, crypto, address handling, and chain queries\n\n## Contract Languages\n\nContracts are written in **Rust** using the [cosmwasm-std](https://crates.io/crates/cosmwasm-std) crate.\n\n## Contract Lifecycle\n\n```\nStore Code  --\u003e  Instantiate  --\u003e  Call\n(upload wasm)    (create instance   (execute contract\n                  with init data,    functions via\n                  assign address)    calldata)\n```\n\n## Architecture\n\n```\n Calldata\n    |\n    v\n+-----------+      +-------------------+\n|  NitroVM  | ---\u003e | CosmWasm Host Fns |\n|  (Go)     |      | (storage, crypto, |\n+-----------+      |  addr, queries)   |\n    |              +-------------------+\n    v\n+-----------+      +----------------+\n|  wasmvm   | ---\u003e | CosmWasm VM    |\n|  (CGO)    |      | (wasmer, gas   |\n+-----------+      |  metering,     |\n                   |  validation)   |\n                   +----------------+\n    |\n    v\n+-----------+\n|  Storage  |\n|  Adapter  |\n+-----------+\n    |\n    v\n+-----------+\n|  SQLite   |\n+-----------+\n```\n\n## Status\n\nEarly development. See [SPEC.md](SPEC.md) for the detailed technical specification.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayer-3%2Fnitrovm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayer-3%2Fnitrovm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayer-3%2Fnitrovm/lists"}