Docs / Prism Fee / v0.2

Prism Fee documentation

Everything the prism does with a fee that was already taken: how it is read, how it splits, where each colour lands, and why the white ray is always that thin.

Overview

Most coins take a fee on every buy. Where that fee goes is usually written in a whitepaper and then never mentioned again. Prism Fee reads the fee from any buy as one white beam, passes it through glass and splits it by destination into seven rays, one per wallet that got paid.

The prism does not take a fee of its own and never touches a wallet. It only shows the split, in colour, with the amounts.

Fee read
1% of every buy
Rays
7
Your share
0.0%
Access
Read only
Chain
Solana
Coffee price
$4.90

Quickstart

  1. Pick a buyAny buy on any coin with a fee. Yours, or someone else’s from the feed.
  2. Read the beamThe prism turns the fee into one white number. A $500 buy at 1% is a $5.00 beam.
  3. Split itSeven rays come out with names and amounts. The red one is usually coffee.
  4. Print the receiptThe receipt lists every ray and ends with “Returned to you: $0.00”, stamped.
curlcurl "$FEE_BASE_URL/v1/refract?buy=500&fee=0.01"

Glossary

TermMeaning
BeamThe whole fee from one buy, as a single white number.
RayOne destination after the prism. Each ray is a wallet with a name and a share.
ShareThe part of the beam a ray carries. All seven add up to 100%.
White rayYou. It goes straight through the glass and lands on zero.
Coffee indexThe red ray, converted into oat flat whites at $4.90 each.
QuotesAdded by the prism to any wallet that calls itself “marketing”.

The seven rays

Rays are sorted by wavelength, which here means by share. Red bends least and carries the most.

RayRecipientShareOf a $5.00 fee
RedDev’s coffee31%$1.55
OrangeThe KOL24%$1.20
Yellow“Marketing”18%$0.90
GreenDev’s mom11%$0.55
BlueValidators9%$0.45
VioletBurn address7%$0.35
WhiteYou0.0%$0.00

How shares are read

Shares are read from where the fee actually went, wallet by wallet, not from where the whitepaper said it would go. The two lists rarely match, so the prism keeps only the first.

ray_amount = buy × fee × share
500 × 0.01 × 0.31 = $1.55

The seven shares on this page are a typical coin. A real coin can have different numbers. It almost never has a bigger white ray.

The white ray

White light does not split, so the white ray goes straight through the glass and lands exactly where it started. It is drawn on every chart, in every table and in every receipt, at its true width, which is about one pixel.

Always shownThe white ray is never hidden or rounded away. It is rounded down, which is different, and also how it got to zero.

The coffee index

The red ray is priced in coffee because coffee is the one asset whose price has only ever gone up. One unit is an oat flat white, large, at $4.90.

coffees = buy × 0.01 × 0.31 ÷ 4.90

A $500 buy is a third of a coffee. Five buys of $1,000 a day keep the dev in about 95 coffees a month.

The live feed

The feed on the main page is a stream of buys at typical sizes on a typical coin, priced at a fixed $180 SOL. Each row shows the buy, the fee, the coffee it bought and a thin spectrum strip under it. The last column is always the same.

The feed is a simulation, not a live coin. The split it uses is the same one on this page.

Receipts

Every refracted buy can be printed as a receipt: one line per ray, the total fee, and a last line that reads Returned to you $0.00. Receipts are stamped “paid by you”, because that part is accurate.

receiptPRISM FEE · RECEIPT
one buy of $500.00 · fee 1%
-------------------------------
Dev’s coffee              $1.55
The KOL                   $1.20
“Marketing”               $0.90
Dev’s mom                 $0.55
Validators                $0.45
Burn address              $0.35
You                       $0.00
-------------------------------
Fee paid                  $5.00
Returned to you           $0.00

Dispersion by destination

In ordinary glass, light splits by wavelength. In this prism it splits by destination wallet. Each recipient gets its own angle, and the angle is wider the more it took.

The result looks like a rainbow and reads like an expense report.

Labels and quotes

Every ray ends at a wallet with a label. Labels are copied exactly as the wallet describes itself. Where a description is aspirational, the prism adds quotes.

  • “Marketing” always gets quotes.
  • Dev’s mom never does. She is exactly who she says she is.
  • Validators are labelled plainly. They did the work.

Authentication

The refract endpoint is open and needs no key. Keys are only used to put your name on the white ray, which needs $FEE in the wallet behind the key.

httpAuthorization: Bearer $FEE_KEY

Refract a buy

httpGET /v1/refract?buy=500&fee=0.01
response{
  "beam": 5.00,
  "rays": [
    { "ray": "red",    "to": "dev_coffee", "amount": 1.55 },
    { "ray": "orange", "to": "kol",        "amount": 1.20 },
    { "ray": "white",  "to": "you",        "amount": 0.00 }
  ],
  "coffees": 0.32,
  "returned_to_you": 0.00
}
ParamTypeNotes
buynumberBuy size in USD.
feenumberFee rate. Defaults to 0.01.
coinstringOptional mint address to read a specific coin’s split.

Errors

CodeTypeWhat it means
400no_feeThe coin takes no fee. There is no beam, and the prism is briefly moved.
404coin_not_foundThe mint is not on Solana, or is no longer anywhere.
409share_over_100The rays add up to more than the fee. Someone is being paid twice.
418white_ray_above_zeroYou got paid. The prism could not reproduce this and assumes an error.

The token

$FEE is the Prism Fee token on Solana. It is not part of any split and does not receive any ray. Holding it changes one thing, described below.

Ticker
$FEE
Chain
Solana
Contract
soon
CAsoonCopy

Buy $FEE Chart X

Your name on white

Wallets holding $FEE get their name written on the white ray in bold, next to the zero, on every chart and receipt they print. The share does not change. Nothing changes the share.

Why it mattersA zero with your name on it is still a zero. But it is your zero, and it is in bold.

Constants

NameValueNotes
FEE_RATE1%Default fee read from a buy.
RAYS7Six recipients and you.
SHARE_RED31%Dev’s coffee.
SHARE_ORANGE24%The KOL.
SHARE_YELLOW18%“Marketing”.
SHARE_GREEN11%Dev’s mom.
SHARE_BLUE9%Validators.
SHARE_VIOLET7%Burn address.
SHARE_WHITE0.0%You. Rounded down.
COFFEE_PRICE$4.90Oat flat white, large.
KOL_POST_PRICE$200Used by the calculator.
FEED_SOL_PRICE$180Fixed for the simulated feed.

Program interface

Three instructions. None of them moves money, because the money already moved.

instructionsread_fee(buy_tx)              // the beam: fee taken on one buy
refract(beam)                 // seven rays, sorted by share
label_white(wallet)          // $FEE holders: name on the zero

Risks

  • You see where the fee went. This cannot be unseen.
  • The dev switches to espresso. The coffee index gets more efficient and less visible.
  • The KOL reposts. The orange ray widens briefly.
  • The white ray stays at zero. This is not a risk. It is the design.

Changelog

VersionDateChange
v0.226 Oct 2026Docs published. Receipts now stamped “paid by you”.
v0.118 Oct 2026Seven rays, one prism, coffee index at $4.90. White ray confirmed at 0.0% on the first try.