Infrastructure

Solana Kit 6.9 Adds Fixed-Point Numbers and a First-Class Sol Type

Anza released Solana Kit 6.9: fixed-point number support and a first-class Sol type enable exact decimal and binary math in JavaScript for token balances and prices without rounding errors.

SOLANA·HUB Redaktion ·

What happened

Anza released Solana Kit 6.9 on 15 May 2026 at 12:13 UTC. Per the Anza X post, the version adds “fixed-point number support and a first-class Sol type” — for “exact decimal and binary math in JS for token balances, prices, anywhere rounding errors are unacceptable.”

What Solana Kit is

Solana Kit (solanakit.com) is the official JavaScript/TypeScript client library for Solana — the modular successor to the classic @solana/web3.js. Apps, wallets, and backend tools use Kit to build transactions, make RPC calls, and read on-chain data.

The two core additions

1. Fixed-point number support: JavaScript natively has only Number (IEEE-754 float) and BigInt (integer). Both are problematic for token math: floats produce rounding errors on decimals, BigInt cannot represent decimal fractions. Fixed-point arithmetic solves this by computing numbers with fixed decimal precision as integer scaling. Relevant for token balances, price calculations, AMM pool math, and anywhere exact amounts matter.

2. First-class Sol type: A native Sol type encapsulates the lamports-to-SOL conversion (1 SOL = 1,000,000,000 lamports) type-safely. This removes a common source of error — accidentally mixing lamports and SOL in calculations.

What else is in the release

The Anza X post points to “more shipped in this release” with a link to the full changelog. From the directly accessible X excerpt, only the two core features above are unambiguously verifiable. Other points mentioned in coverage (wallet-standard updates, additional Agave features) live in the linked detail changelog but are not quoted in the X post excerpt. For the full list: solanakit.com or the official changelog.

Context

Fixed-point math is not a new concept — DeFi protocols have implemented it manually for years because float rounding on token amounts produces real money discrepancies. Solana Kit now offering it natively as first-class support lowers the error surface for wallet and DeFi developers who previously had to bring their own solutions or third-party libraries (e.g. decimal.js, big.js).

For builders this is a library-level quality-of-life update, not a protocol change. It affects the client side (JS/TS apps), not on-chain programs.

Not financial advice. This article describes an update to a Solana developer library.

Sources

#solana-kit #anza #javascript #developer-tools