Solux Docs

FAQ#

Is it really Linux, on Solana?#

Yes: Linux 6.1.14 and BusyBox, unmodified, compiled for 32-bit RISC-V without an MMU. The Solana program emulates the processor; the kernel cannot tell the difference. It boots to a login prompt in 2,381 transactions and answers shell commands typed as transactions.

Why would anyone do this?#

To run code that already exists, in public, so that every party can check the result. A lender's repayment schedule, an insurer's payout rule, a fee split: written once in ordinary Rust or C, run on Solana, and rerun by anyone to get the same cents.

Is it fast?#

No. One Step is 25,000 instructions; a laptop runs that in a tenth of a millisecond. Solux is for computations where agreement matters more than speed, and for code that would be impossible to rewrite as a Solana program.

Who can send Steps?#

Anyone. A Step only advances the machine; it cannot change its memory or its typed input. Only the authority can upload, type and close.

Can someone cheat by sending Steps in a different order?#

Steps carry no data, only a count, so the only thing anyone else can change is how many instructions ran before your next Type arrives. A program that reads its input the way the starter does gives the same answer either way. Whatever happened, the ledger records the exact order, and verification replays it.

What happens when the program ends?#

It writes to the power-off device, the machine's status becomes powered off, and every later Step fails with Halted. Close the machine to get the rent back.

Is it deployed?#

Not yet. Everything runs today against solux-localnet, which loads the same compiled program into the Solana runtime. The program id is reserved.

What is the license?#

The Solux code is MIT. The Linux image the playground boots is GPL, built from the mini-rv32ima-images configuration; its sources are linked from the playground.