covr.Docs

Users: reference

Addresses

Official program and token addresses on Solana mainnet, and how to check them yourself.

Program and network

NameValueWhat it is
NetworkSolana mainnetGenesis hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d. The program writes it into every market and position and refuses records that carry another.
covr program8ZpbTPnDECPTDGN5VHHKH5gfer6EUTnRHcFwfUAbkJDgThe program that holds and settles every position. It owns every market and position account. It is upgradeable.
Program data accountJ1hgFyeMPiY2GfvKrGejVVigwcxKZ8B2BCwkCt4NS73fHolds the program's deployed bytes. Derived from the program address by Solana's upgradeable loader.
Deployment id0x13a01f9d69929d8b65db7e9a6cc0805075876a8a66664e4ef30dd26f635527e2A fixed identifier of this deployment. It is stored in every market and position and mixed into every quote signature, so a signature made for another deployment never verifies here.

Tokens

TokenMintToken programDecimalsUsed for
JitoSOLJ1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPnSPL Token9The token you lock for a covered call, and the token you buy with a cash-secured put.
USDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vSPL Token6The only payment token for covered calls: premium, fee and strike. Also a payment token for cash-secured puts.
USDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYBSPL Token6A payment token for cash-secured puts.

For cash-secured puts, each market names one payment token: a plain SPL Token mint with 6 decimals. Token-2022 payment tokens and native SOL are refused. Each maker's put policy binds one payment token. Flash exercise of puts works only for JitoSOL with USDC or with USDT. covr's servers quote puts only in USDC or USDT and refuse any other payment token. Which put markets covr lists can change, so check the payment mint of the market you use.

covr may list tokenized-stock markets. They lock Token-2022 stock tokens, and each stock market names its own mint. Check a stock mint with its issuer before you trust it.

The program refuses native SOL as collateral, in both token programs: So11111111111111111111111111111111111111112 and 9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP.

Other programs and accounts

NameAddressWhy it matters
SPL Token programTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DAOwns JitoSOL, USDC, USDT and the vaults that hold them.
Token-2022 programTokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEbOwns tokenized-stock mints and their vaults.
Jito stake poolJito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815AwbbRead, never written, on every JitoSOL fill to cap the order at 50 SOL of pool value.
Stake pool programSPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHyThe program must own the stake pool account above, or the fill is refused.

Addresses the program derives

Each of these is derived from fixed seeds under the covr program. You can recompute them, and the program refuses any other address in their place.

AccountSeeds
Market"market-v3", the creator's address, a salt (8 bytes, little-endian)
Position"position", the maker's 20-byte quote address, the quote's nonce (8 bytes, little-endian)
Collateral vault (covered call)"collateral", the position's address
Strike escrow (cash-secured put, tokenized-stock exercise)"strike-escrow-v3", the position's address

See Accounts for every field.

How to confirm the official program

All of these only read. Use any Solana RPC you trust.

  1. Use the official site. covr's app is at https://test.covr.fun. The main site is https://covr.markets (https://covr.fun redirects there). The app is built to work only with the program address above, and it checks every transaction against values compiled into the page before your wallet sees it. Those checks catch a bad reply from covr's servers. They cannot catch a tampered copy of the app, so also check what your wallet shows.
  2. Check the program in your wallet's preview. Before you sign, your wallet lists the programs the transaction calls. A covr transaction calls 8ZpbTPnDECPTDGN5VHHKH5gfer6EUTnRHcFwfUAbkJDg, plus the Compute Budget program.
  3. Check the network. Your RPC's genesis hash must equal the one above:
    sh
    solana genesis-hash --url https://<your rpc>
  4. Check the deployed program. This prints the program data account and the slot of the last deployment:
    sh
    solana program show 8ZpbTPnDECPTDGN5VHHKH5gfer6EUTnRHcFwfUAbkJDg --url https://<your rpc>
    The program data account must match the table above. To compare the deployed bytes with covr's published build fingerprint, see Program facts.
  5. Check your position. Look up your position in an explorer. Its owner must be the covr program. Its vault must be a token account whose owner is your position.
Warning

Anyone can create a market on covr's program, so a market's existence proves nothing. covr's app shows only markets created by covr's own keys, listed below and compiled into the app. Be careful with any other site that offers covr markets.

covr's market creators and fee account

Use these to check that a market is one of covr's. covr's app has the same values compiled in.

NameAddressWhat it is
Market creatorAhwMUppQXVfJRjn4sbb5Kpb67tee1z6qSSzEkRkjXpQSCreates covr's markets.
Market creator, automatic listingsDqjNFB1fDtGrgLoXdbaSTA9eqpK8bvVtnuLKUEimw6cSCreates the markets covr lists automatically.
Fee ownerAhwMUppQXVfJRjn4sbb5Kpb67tee1z6qSSzEkRkjXpQSOwns the token account that receives covr's fee.
USDC fee account9jPyNa3thTbPr9ZPjRj37fZhJzfH8rMKP5c6i2QwVYYjThe USDC token account of the fee owner that receives the fee on covered-call markets.

To check a market, read its account (see Accounts). Its creator (offset 13) must be one of the two market creators, and its fee_owner (offset 173) must be the fee owner. On covered-call markets, covr's app sends the fee only to the USDC fee account above.