// ROBINHOOD CHAIN · AES-256-GCM · WALLET-KEYED

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.

Encrypted locallyThe key comes from your wallet signature and never leaves your browser.
Lives on chainEvery memory is a real Robinhood Chain transaction you can recall anywhere.
Feed your agentExport all memories as memory.md for any AI agent you run.
ENGRAM TERMINAL v1.0
> ROBINHOOD CHAIN 4663 · public RPC · connecting…
> WRITE NOTE:
0 / 2000 · est. gas —
> F1 WRITE encrypts and sends · F2 RECALL decrypts from chain · Ctrl+Enter writes
> key: one signature, no gas · memory: one 0 ETH tx to yourself
// HOW IT WORKS

Four steps, all in your browser

01 SIGN

One fixed message

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.

02 ENCRYPT

WebCrypto, locally

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.

03 WRITE

0 ETH to yourself

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.

04 RECALL

Any device, same wallet

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.

// ON-CHAIN FORMAT

What the chain sees

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.

BytesFieldValue
0-5magic454e4752414d ("ENGRAM")
6version01
7-10key idHKDF(signature, "engram/v1/key-id"), 4 bytes
11-42prevhash of your previous memory tx, or 32 zero bytes
43-54iv12 random bytes
55-ciphertextAES-256-GCM of {"v":1,"k":"note","t":"…","ts":…} + 16-byte tag
// API

Plain JSON-RPC, nothing in between

Estimate the write

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.

Request · POST https://rpc.mainnet.chain.robinhood.com
{"jsonrpc":"2.0","id":1,"method":"eth_estimateGas","params":[{
  "from":"0xYOU","to":"0xYOU","value":"0x0",
  "data":"0x454e4752414d019bee5c2e0000…00002d2d3454bf38f6cfa08b9b7314f54b32e85f…"}]}
Response
{"jsonrpc":"2.0","id":1,"result":"0x6906"}

Write a memory

Your wallet sends it. The data field is the whole memory; there is no contract.

Wallet request (EIP-1193)
ethereum.request({ method: "eth_sendTransaction", params: [{
  from: "0xYOU", to: "0xYOU", value: "0x0",
  data: "0x454e4752414d01…"   // header + iv + ciphertext
}]})
Response
"0xtx hash of the memory"

Recall a 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.

Request
{"jsonrpc":"2.0","id":2,"method":"eth_getTransactionByHash","params":["0xMEMORY_TX"]}
Response (fields used)
{"jsonrpc":"2.0","id":2,"result":{
  "hash":"0xMEMORY_TX","from":"0xYOU","to":"0xYOU","value":"0x0",
  "blockNumber":"0x755a0c6",
  "input":"0x454e4752414d019bee5c2e00…00 2d2d3454bf38f6cfa08b9b73 14f54b32e85fd84c…"}}
Decrypted
{"v":1,"k":"rule","t":"agent only trades HOOD pairs. size 0.5% max","ts":1764072000}

Rebuild the index

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.

Request
GET https://robinhoodchain.blockscout.com/api/v2/addresses/0xYOU/transactions?filter=from
Kept
items where from == to == 0xYOU and raw_input starts with 0x454e4752414d

Coin CA

The site's own endpoint. ca stays empty until the coin is live on Pons.

Request
GET /api/ca
Response
{"ca":"","symbol":"ENGRAM"}

Full reference with the decrypt code for your own agent: docs · openapi.json