~/shelter $ cat README
Shelter for SOL.
Opened by hashes,
never by a key.
A shelter is a Solana account that holds SOL and has no private key. It opens only to a one-time hash-based signature made from your 24 words, checked on chain, then thrown away. No wallet, no elliptic curve, no one in the middle.
fig.1 signature, live
w = 256 | 30 chains | 840 B revealedEntry points
- 01Open a shelterGenerate 24 words, write them down, commit key 0 on chain. Fund it from any wallet or exchange. Release whenever you want, to any address.
- 02Launch a coinStart a Meteora pool with a shelter as the fee recipient, so creator fees land where no private key can reach. Pool module in progress.
- 03Read the specParameters, the signed digest, the three-step release, key derivation, and every limit of the system.
Release protocol
A Winternitz signature is too large and too expensive to check in one Solana transaction, so a release is split into store, verify, and move. You sign once; the relay sends all three and pays the fees. Then the key is gone.
00 / your browser
Sign
Your words derive one-time key k. The browser signs the shelter, key index, amount, destination, and the hash of key k+1. Nothing secret leaves the page.
01 / relay
Authorize
The terms and the 840-byte signature are stored in a release record. One signer, one instruction, 1,223 of 1,232 packet bytes.
02 / anyone
Verify
The program walks all 30 chains, about a million compute units, and checks they end at the key the shelter committed to. The key rotates to k+1.
03 / anyone
Execute
Lamports move to the destination and the record closes. The key that signed is now public and worthless.
Ledger
AOn chain now
accounts on chain
across all shelters
nRRhcE...eECash
cached 60s
BConstants
| signature | 840 B |
|---|---|
| hash chains | 30 |
| hash | SHA-256 / 224-bit |
| private keys on the vault | 0 |
| uses per key | 1 |
| transactions per release | 3 |