Solana 🧭 Compass (@SolanaCompass) header
Solana 🧭 Compass (@SolanaCompass) profile picture

Independent Solana validator since 2021 Info, guides and dashboards on the Solana ecosystem at https://xitter.gq/t.co/muKSZAdjho - stake with us to support!

Joined September 2021
Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)Photo by Solana 🧭 Compass (@SolanaCompass)
One payment on Solana can now pay nine wallets at once. Ludo Galabru (@ludo_txtx) of the Solana Foundation built native splits into @x402, the open standard for paying for websites and APIs over plain HTTP, usually in stablecoins like USDC. It shipped in the x402 SDK release on 1 December. His reason, from his post on X: a card payment is "much more complex than just a naive transfer," with insurance, royalties and taxes all taken out of it. Until now, an x402 payment on Solana had one payer and one payee. Now a single charge can carry the whole sale: - the merchant's cut - a marketplace fee - an affiliate's commission - a royalty That is up to eight extra recipients, each paid a fixed amount, with the merchant keeping the rest. Every leg settles in one transaction, or none of them do. The rules keep the money where the seller said it would go. Each split must match its stated amount exactly. Any rounding excess goes to the merchant, never to a third party. And the merchant's remainder must stay above zero, so a seller can never be split out of their own sale. The cap of nine comes from Solana's transaction size limit. Galabru wrote both the specification and the code. In his words, it gives Solana developers "a ton of design space to innovate and industrialize stablecoins payments." What happens next is up to facilitators, the services that verify and submit x402 payments. Each one decides whether to switch splits on, and for how many recipients.
New primitive just went live with the latest version of @x402 on @solana: native support for splits payments. Inspired by a talk from @pbrody at @stblcnsummit: a credit card payment is much more complex than just a naive transfer (insurance, royalties, taxes, etc). Thanks to this new primitive @solana_devs now have a ton of design space to innovate and industrialize stablecoins payments.
1
1
143
Last week Solana's validators stopped copying data every time a program runs. Did anything actually get faster? Umberto Natale (@MostlyData_) of the Solana Foundation timed mainnet transactions before and after the switch to find out. One program stood far apart from the rest. Phoenix Perp, an onchain perpetuals exchange, saw its median execution time fall 46%. The five other programs he compared improved by 3 to 4%. The reason is in the shape of a Phoenix trade. Before the upgrade, a validator copied an account's data each time it was handed to a program. The Phoenix transaction he cites hands the same two market accounts, about 2.8 MB together, to the program three times. Every handoff was a chance to copy those bytes again. So why did most programs barely move? They saved time too. It just disappears inside a percentage. Holding the data size fixed, light transactions and compute-heavy ones each saved about 0.06 milliseconds. For the light ones that was 52.5% of their execution time. For the heavy ones, 8.8%. Across 4,769 matched groups, each extra MiB of account data passed to a program was associated with about 44 microseconds saved. For traders, the gain sits inside the validator. In Natale's words, orders "can execute faster once they reach the validator." Confirmation time is a separate question. In his data, the biggest relative winners are trading engines built like Phoenix, passing large market accounts again and again with little computation in between.
1/7 Is it true that Direct Mapping introduced some "hidden" optimizations, ones not visible on-chain? This question has sparked a heated discussion, leaving some doubts for the ecosystem. For this reason we wanted to shade light on. All data used in this analysis comes from a Firedancer validator.
2
2
246
Solana programs can now check an Ed25519 signature themselves, for under 5,000 compute units. Ed25519 is the scheme behind every Solana transaction signature. Until now, the practical way to check one was a special routine built into the validator. Why couldn't a program just do it? One missing piece: SHA-512. Checking an Ed25519 signature takes curve maths plus a SHA-512 hash. Solana already gave programs native calls for the curve maths. SHA-512 had none, so a program that needed it had to carry its own copy and pay for every step. SIMD-0512, written by @deanmlittle of Blueshift, adds that call. Anza says it went live on mainnet at epoch 1103 on 2 December. The proposal points out that validators already had the code: SHA-512 "is already present in both the Agave and Firedancer validator clients as an internal dependency." SIMD-0512 opens it up to programs. With both pieces in place, a prototype verifier Anza linked averages about 3,800 compute units per signature. That opens a path away from the built-in routine, known as the Ed25519 precompile. Today a program has to read the transaction's instruction list to confirm the precompile ran. As an ordinary program, a verifier can be called directly by other programs and hand back a plain pass or fail. Anza calls the activation "a step toward retiring the Ed25519 precompile." That routine is busy: between about 348,000 and 475,000 transactions a day used it last week, on Solana Compass program data. The verifier is still a prototype, so the precompile remains the standard route for now. Any developer who wrote their own SHA-512 code can swap it for the native call, which Anza says costs "a fraction of the CUs."
SIMD-0512 is live on mainnet as of epoch 1103. 🧵 Programs get sol_sha512, the same interface as sol_sha256, but with a 64-byte digest. Anything that implemented SHA-512 in BPF for Ed25519-adjacent work can drop the hand-rolled version for the native one at a fraction of the CUs. github.com/solana-foundation…
3
1
8
960
A Solana validator written in a proof language is now voting on mainnet. It's called Lean Client, built by @MidTermDev in Lean 4, a language where the code won't build until a checker accepts the proofs written alongside it. What does that buy a validator? According to the project, every array access in the client is proven to stay within bounds. That rules out a class of memory errors, like reading past the end of a list, that crash or corrupt ordinary software. Agreeing with the rest of the network is tested another way: replaying real mainnet blocks and comparing the bank hash, the fingerprint of the ledger's state after each block. @LeanClient says it has executed "hundreds of thousands of blocks" with "zero bank hash mismatches." Validator #001 starts small: about 1 SOL of stake, against roughly 425 million SOL staked across the network. Block production is what the project says it is building next. This week also brought Lean 4 work on Solana's runtime from Anatoly Yakovenko and Asymmetric Research. Of the three Lean projects, Lean Client is the only one voting on mainnet.
What started as an experiment in writing a Solana validator entirely in Lean has turned into a 31,000-line independent client, built with its own compiler. Hundreds of thousands of blocks executed. Zero bank hash mismatches. We're now executing heavy mainnet blocks in as little as 162ms on average in benchmarks, with votes reaching over 96% of validators. There's still plenty to optimize, but it's pretty cool to see how far this experiment has come.
2
1
9
636
An early Solana post-quantum signing library left out its checksum. @qkniep just released a tool for anyone still relying on it. Quentin Kniep, a Solana Foundation researcher according to his GitHub profile, published winternitz-shield today for versions 0.1.0 and 0.1.1 of solana-winternitz, a Rust crate for quantum-resistant signatures. The checksum is the part that keeps these signatures one-time safe. Winternitz signatures are built from hash chains. Signing hashes a set of secret values a number of times set by the message, then publishes the results. Anyone can hash those results further forward. Nobody can hash them backwards. Without a checksum, that one-way street works for an attacker. Kniep wrote that anyone who sees one signature "can hash chain elements forward to forge any message with smaller digest words." His README puts a typical forgery at about 45 bits of work. For the worst 1% of messages, he wrote, it takes seconds on a laptop. Keys are safe at rest. The risk starts only once a signature is published. Fixed versions already exist. solana-winternitz 0.2.0 and 0.3.0 moved to a different design called target-sum Winternitz on 14 November, and the replacement winterwallet adds a checksum. winternitz-shield is for funds still sitting under an old key. Before signing, it tries small variations of the same transaction, such as a different fee or nonce, until it finds one that is expensive to forge from. Kniep wrote that about 10,000 tries pins an attacker to at least 2^80 work. If you built on solana-winternitz 0.1: move to 0.2.0 or later, never reuse a vault address after its key has signed, and run your exit transaction through the tool before you broadcast it.
Open-sourcing winternitz-shield, a defensive message-hardening tool, security analyzer, and forgery demo for Winternitz one-time signatures (W-OTS) with missing or buggy checksums. github.com/qkniep/winternitz…
1
2
307
.@Helius now sends a message when a Solana leader starts building a block, and another when it finishes. Helius says trading apps today estimate those windows from indirect signals like transaction activity and elapsed time. The new Slot Lifecycle Events arrive on the existing preconfSubscribe stream, cost no credits, and are open on paid plans. Already parsing that stream? Helius says you may need to update your binary decoder to handle the new 10-byte frames.
Introducing Slot Lifecycle Events Get real-time visibility into when a Solana leader starts (e.g., bank_created) and finishes (e.g., bank_frozen) building a block Better information --> better execution timing Now available for Helius Preconfs
1
12
1,098
.@ripcars, the Hot Wheels gacha app on Solana, now sells LEGO. Its new Bricks packs hold LEGO Star Wars sets and minifigures, priced $5 to $50. The top item in the $50 Red pack pool: an Ultimate Collector's Millennium Falcon listed at $1,881. The app's published Red pack odds put three in four pulls in the Common band, items worth $25 to $50, with a 90% buyback offered on anything pulled.
LEGO gacha is now live on @Solana 🧱 Bricks puts authenticated LEGO sets and minifigures into rippable gacha packs on Rip Cars Start ripping: app.ripcars.io/bricks
1
178
Two Solana hackathons are now open. Solana Foundation's perps and prediction markets hackathon: $51K, entries close 8 Dec, judged by @PhoenixTrade, @world_xyz and @solflare. @superteam x @coingecko_api Long Tail: $25K USDC plus API plans across four tracks, closes 15 Dec.
The Solana perps and prediction markets hackathon is now live. With participation and judging from @phoenixtrade, @world_xyz, @solflare, and more. Time to start building.
4
1
3
577
.@moonpay's @dflow launched an Equities API that brings institutional market maker quotes to @Backpack's tokenized stocks on Solana. It covers 100+ stocks. Solflare, Kamino, Raydium, Meteora, Orca and fomo are adding it soon, for users outside the US first.
Introducing the DFlow Equities API, the best way to trade stocks onchain Now every single @Backpack Securities stock (soon 10k tickers) is live on @Solana Traders get deep liquidity, millisecond-level execution, and competitive quotes from new institutional TradFi market makers Coming soon in @fomo, @solflare, @kamino, @Raydium, @MeteoraAG, and @orca_so
3
2
6
615
Opening a token account on Solana could soon lock up about half as much SOL. @anza_xyz expects rent step 3 on mainnet before its next monthly Activation Update: roughly 0.0015 SOL per token account becomes 0.00075. Programs that hard-code rent "need to fix that now," Anza says.
Introducing the Activation Update. The ecosystem asked for a better way to plan around feature gate activations, so the Agave release notes you know now cover more: what activated on Solana mainnet, what is trending next, and what changes on upgrade. anza.xyz/blog/solana-mainnet…
3
1
11
628