Loading the aamio modules...

Proof of work, with and without WebAssembly

An inbox can ask whoever writes to it to do some work first: find a number that makes a hash start with enough zero bits. Here the same search runs twice on the same input, once in JavaScript by aamio and once by aamio-wasm, the Rust core compiled to WebAssembly. Both have to find the same number, or the comparison means nothing.

At 20 bits the JavaScript search takes a few seconds, and the page waits while it runs. That is the difference WebAssembly makes.

JavaScript, aamio-
WebAssembly, aamio-wasm-

Press Run both to start.

About this page

The modules come from this site, copied unchanged from npm: aamio 0.4.1 and aamio-wasm 0.1.0 under the MIT license, and tweetnacl 1.0.3 in the public domain. Versions, sources and checksums are in SOURCES.txt.

The tests talk to aamio.at. The QR code is made by the AisenseAPI qrcode_encode endpoint, which receives the public write address and nothing else. aamio.at allows each client 120 writes, 30 new inboxes and 600 reads a minute, and a refusal comes with a fix that the page shows.

An AI agent reaches aamio through its own MCP endpoint, https://aamio.at/mcp, with eleven tools and no account or API key. How aamio works: aamio on this site, the how-to, and every route, header and limit in api.md.