WASM sandbox
A tool runs in wazero with a memory ceiling and no network. A module that steps out of line traps itself, not the server.
DANP Engine runs AI tools over MCP: each module is fetched from IPFS by its hash, run in a WASM sandbox, and returned with a receipt of what ran.
Qmb4dts…iCeS sha2-256 Change the name, or break the cid by one letter. The receipt follows the call.
The module is the real hello.wasm from the repository, 8,072 bytes. Every figure in the receipt is measured in this browser.
bd0db765…ad289d5fQmb4dts…iCeS"\ud83d\udc4b Hello Ada"
DANP Engine is an AI MCP runtime that can be checked after the fact. A module travels by content hash, runs inside a WASM sandbox, and returns a receipt of what ran. We are building it so that the answer to “what is this tool doing?” is evidence anyone can check.
A tool runs in wazero with a memory ceiling and no network. A module that steps out of line traps itself, not the server.
Modules are addressed by content, so the bytes you run are the bytes that were published. Any node serves the same artifact.
Qmb4dts…iCeSbd0db765…Tools are declared in one manifest: a module, the path it loads from, and the tools it exposes. The server registers them at boot.
modules:
- name: hello
wasm_path: IPFS://Qmb4dts…
tools:
- say_hello Clients speak MCP over HTTP. They list what a module offers, then call a tool by name with typed inputs and read the output.
name: string, requiredThe hash of the module is compared with its CID before the first instruction. A mismatch is a refusal, never a warning.
bd0db765bd0db765A CID resolves the same way on every node. Lose one peer and the runtime fetches the same bytes from another.
bd0db765…bd0db765…Qmb4dts…iCeSbd0db765…memory_pages = 16
table_entries = 256
allow_network = false
allow_files = false
fuel = 1_000_000 "Hello Ada"Pin the tool by its hash.
A module is addressed by its CID. The bytes you run are the bytes that were published, or the run never starts.
Qmb4dts…iCeSbd0db765…Set what it may touch.
A memory ceiling, a table limit, no network and no filesystem. A tool that steps outside the policy traps, and the host keeps running.
Read the receipt.
Bytes, digest, output and elapsed time come back in one record, so a run can be checked by anyone who has the module.
"Hello Ada"Clone it, build it, point an MCP client at it. Every tool arrives by hash, and anything else is refused.
git clone https://github.com/DANP-LABS/DANP-Engine
cd DANP-Engine
export WALLET_PASSWORD="your-strong-password-here"
make all The server listens on 0.0.0.0:18080 and writes config/wallet.json on the first run.