Memory nobody else can read
Your notes and agent rules are encrypted in your browser, stored on Robinhood Chain, and readable only by your wallet.
> key: one signature, no gas · memory: one 0 ETH tx to yourself
Your notes and agent rules are encrypted in your browser, stored on Robinhood Chain, and readable only by your wallet.
Your wallet signs the same ENGRAM message every time. No transaction, no gas. The signature goes through HKDF-SHA256 and becomes an AES-256-GCM key held only by this page.
The note, its type and a timestamp are encrypted with a fresh 12-byte IV. Nothing readable leaves the browser. The key is created non-extractable and is gone when you close the tab.
The ciphertext is the calldata of a transaction from your wallet to your own address on Robinhood Chain. A short note is about 24k gas, under a tenth of a cent at today's gas price.
ENGRAM reads your memory transactions through the public RPC and decrypts them in front of you. Each memory points to the one before it, so one hash is enough to rebuild the whole chain.
Anyone can see that your wallet wrote a memory, when, and how big it is. Nobody can read it without your signature, and that includes us: there is no server, no account and no copy of your key.
The header is authenticated as AES-GCM additional data, so the link to the previous memory cannot be swapped without breaking decryption.
Lose the wallet and the memories cannot be decrypted. Nobody can recover them.
| Bytes | Field | Value |
|---|---|---|
| 0-5 | magic | 454e4752414d ("ENGRAM") |
| 6 | version | 01 |
| 7-10 | key id | HKDF(signature, "engram/v1/key-id"), 4 bytes |
| 11-42 | prev | hash of your previous memory tx, or 32 zero bytes |
| 43-54 | iv | 12 random bytes |
| 55- | ciphertext | AES-256-GCM of {"v":1,"k":"note","t":"…","ts":…} + 16-byte tag |
Before you sign, the terminal asks the Robinhood Chain RPC what the memory will cost. Real numbers from Nov 25 for a 155-byte memory: 26,886 gas at 0.02 gwei, about 0.00000054 ETH.
{"jsonrpc":"2.0","id":1,"method":"eth_estimateGas","params":[{
"from":"0xYOU","to":"0xYOU","value":"0x0",
"data":"0x454e4752414d019bee5c2e0000…00002d2d3454bf38f6cfa08b9b7314f54b32e85f…"}]}
{"jsonrpc":"2.0","id":1,"result":"0x6906"}Your wallet sends it. The data field is the whole memory; there is no contract.
ethereum.request({ method: "eth_sendTransaction", params: [{
from: "0xYOU", to: "0xYOU", value: "0x0",
data: "0x454e4752414d01…" // header + iv + ciphertext
}]})
"0xtx hash of the memory"Read the transaction back and decrypt its input with the key from your signature. prev in the header leads to the memory before it.
{"jsonrpc":"2.0","id":2,"method":"eth_getTransactionByHash","params":["0xMEMORY_TX"]}
{"jsonrpc":"2.0","id":2,"result":{
"hash":"0xMEMORY_TX","from":"0xYOU","to":"0xYOU","value":"0x0",
"blockNumber":"0x755a0c6",
"input":"0x454e4752414d019bee5c2e00…00 2d2d3454bf38f6cfa08b9b73 14f54b32e85fd84c…"}}
{"v":1,"k":"rule","t":"agent only trades HOOD pairs. size 0.5% max","ts":1764072000}On a new device the terminal asks the public explorer for your memory transactions. If it rate-limits, paste your latest memory hash and the terminal walks back through the prev links over RPC.
GET https://robinhoodchain.blockscout.com/api/v2/addresses/0xYOU/transactions?filter=from
items where from == to == 0xYOU and raw_input starts with 0x454e4752414d
The site's own endpoint. ca stays empty until the coin is live on Pons.
GET /api/ca
{"ca":"","symbol":"ENGRAM"}Full reference with the decrypt code for your own agent: docs · openapi.json