Coins held by a lattice key.

LATTICE is an ERC-20 on Ethereum. Put coins in a lattice account and only an ML-DSA-65 signature (FIPS 204), checked on chain, can move them. The key is made in this browser and is never sent anywhere.

a signature is a short vector; the chain checks it is short

Reading Ethereum...

One coin, two ways to hold it

Every LATTICE is an ordinary ERC-20 coin until you lock it into a lattice account. Then the Ethereum key that sent it no longer decides anything: the account's own ML-DSA-65 key does.

Ethereum keyLattice account
Signature schemeECDSA on secp256k1ML-DSA-65, NIST FIPS 204
Hard problemDiscrete logarithms. Shor's algorithm solves them on a large quantum computer.Module lattices (MLWE, MSIS). No known quantum algorithm solves them.
Public key64 bytes1,952 bytes, written on chain once in 3 parts
Signature65 bytes3,309 bytes
Checked on chain forabout 3,000 gasabout 3.4M gas (measured)
Who sends itthe key holderanyone: the order is signed, any wallet can relay it

The life of a lattice account

Make a key

In this browser, from its own random source. Save it as a file sealed with your passphrase.

Write it

Three transactions put the 1,952-byte key on chain, expanded, about 7M to 9M gas each.

Fill it

Lock coins from your wallet, or buy straight into the account through the Door.

Sign orders

Withdraw, send, sell, claim, guard. The key signs here; the chain checks it.

Earn

Half of the 1% pool fee rains on coins held in lattice accounts, in ETH.

Where the 1% goes

The pool's LP fee is zero. The hook takes 1% of the ETH side of every swap, in ETH, and splits it.

0.5%to the owner
0.5%to lattice-held coins, by weight

While fewer than 1,000 coins are in lattice accounts, the holders' half goes to the owner too.

What it does not protect

  • Ethereum itself. Consensus, and the ETH in your wallet that pays gas, are classical.
  • Coins outside a lattice account. An ordinary balance is held by an ordinary Ethereum key.
  • The pool. The owner holds its position NFT and can withdraw the liquidity.
  • A lost key. Without a recovery key set beforehand, nothing can move the coins.

How it works, in full