← All insights

Engineering

NVM: designing a custom execution environment

The responsibilities behind a purpose-built execution environment for NanoChain.

Parallel silver execution plates around an emerald layer

An execution environment needs clear rules.

An operation asks a system to change. The execution environment determines whether that request is valid, how it is processed and what effect it has on state. Those responsibilities need to be explicit before an interface can make them easy to use.

NVM is the custom execution environment in the NANCH public devnet. It connects authorized network operations to well-defined behavior and the network’s object-based data model. NVM Studio provides a browser interface for exploring those workflows.

Separate the responsibilities.

A request, an authorization check, an execution step and a resulting state change are related, but they answer different questions. Keeping those responsibilities visible helps engineers identify what must be verified and where a failure belongs.

A useful execution design also describes what happens when an operation cannot complete. Partial work, invalid requests and conflicting changes should have defined outcomes that tools and interfaces can explain.

Build understanding alongside implementation.

Specifications, representative operations, test cases and inspection tools are part of the same effort. They turn an execution environment from an internal mechanism into something that developers can reason about.

NVM remains part of NanoChain’s development work. Its available capabilities should be assessed against the implementation and evidence for the particular version being used. A design intention and a verified behavior are different stages of the work.

Continue the conversationBack to insights