Concept in development

A post-quantum vault for Solana.

Veyra is a non-custodial vault concept. Your device would sign withdrawal requests with Falcon-512, and a Solana program would verify those signatures before releasing SOL.

CA Coming soon
Signature
Falcon-512
Verification
Solana program
Custody
Non-custodial
Stage
Concept · example data

01 — The technology

What makes a withdrawal valid?

01

What Falcon-512 does

Falcon-512 is a digital signature scheme. A signature binds your approval to the exact details of a request, such as the amount and the recipient. Your private key creates the signature. The corresponding public key lets others verify it.

02

The math behind the signature

Falcon hashes the request into a mathematical target. Its private key contains a secret structure that helps the signer find a short solution for that target. The verifier uses the public key to check that the solution fits the target and is short enough. Editing the request changes the target.

03

Why it’s called post-quantum

Falcon is based on mathematical problems involving high-dimensional lattices. No efficient quantum algorithm is currently known for the lattice problems that underpin Falcon’s security. Veyra proposes using Falcon for withdrawal authorization. The surrounding Solana transaction still uses Solana’s standard Ed25519 signatures.

Under the hood NTRU lattice · degree < 512

Falcon works over an NTRU lattice. In the 512 variant, the arithmetic runs on polynomials of degree less than 512, with coefficients reduced modulo q = 12289. The public key is one such polynomial, h. The private key is a set of short polynomials that form a secret short basis for the same lattice. That basis is the secret structure only the signer holds.

To sign, the request is hashed together with a random salt into a target c. The signer uses the short basis to sample a short solution: a pair (s₁, s₂) with s₁ + s₂·h = c (mod q). The signature carries s₂ in compressed form, plus the salt.

To verify, anyone holding h recomputes c from the request, derives s₁ = c − s₂·h (mod q), and checks the size: the combined vector (s₁, s₂) must fall under a fixed bound. Without the secret basis, finding a solution that short is believed to be hard.

Lattice
NTRU
Polynomial degree
< 512
Modulus q
12289
Public key
897 bytes
Signature
≈ 666 bytes

02 — Animated explainer

Follow a withdrawal

Illustrative example

  1. A blue pulse marks SOL entering the vault. The vault program holds the Falcon public key you registered.

  2. Your device signs a 0.25 SOL request. The request becomes a coral target, and a short line is the solution inside the signature. The private key stays on the device.

  3. The signed request reaches the Solana program, which runs three checks in order. The nonce prevents reusing an authorization that has already been executed.

  4. Once every check passes, a blue pulse carries 0.25 SOL from the vault to the recipient.

Request

example data
vault
9Vq3…Dm01
recipient
7xKp…R3dQ 4hZb…Wm9T
amount
0.25 SOL
nonce
0042 · now used

Waiting for the device to build a request Hashed into a target → Signed on device Recipient changed after signing

Target & solution

Simplified illustration
old solution doesn’t fit the new target
  • target from request
  • short solution
  • size bound

Verify

Solana program
  1. Matches the request Pending

    Recomputes the target from the request it received and checks that the solution fits it.

  2. Within the size bound Pending

    The solution must be shorter than Falcon’s fixed bound.

  3. Unused nonce Pending

    Nonce 0042 hasn’t been executed before. After release it is marked used, so the same authorization can’t run twice.

Awaiting a signed request All checks passed · releasing 0.25 SOL Signature invalid · no SOL moves

Fictional data. The grid is a 2D simplification: real Falcon-512 works with polynomials over a lattice of dimension 1024.

03 — FAQ

Questions

Where does my private key stay?

In the proposed design, the Falcon private key stays on your device. The vault uses the corresponding public key to verify requests.

Does Veyra replace my Solana wallet?

A regular Solana wallet would still handle standard transactions and network fees. The Falcon key would authorize withdrawals from Veyra.

Is the vault live?

Veyra is in development. This page illustrates the proposed design with example data.