6 releases (breaking)

new 0.5.0 Feb 4, 2026
0.4.0 Jan 22, 2026
0.3.1 Jan 20, 2026
0.2.1 Dec 7, 2025
0.1.0 Oct 24, 2025

#2 in #sponsor

Download history 134/week @ 2025-10-22 100/week @ 2025-12-03 103/week @ 2025-12-10 37/week @ 2025-12-17 33/week @ 2025-12-24 61/week @ 2025-12-31 270/week @ 2026-01-07 492/week @ 2026-01-14 173/week @ 2026-01-21 796/week @ 2026-01-28

1,734 downloads per month
Used in 12 crates (8 directly)

MIT license

48KB
831 lines

light-compressible

Compressible account lifecycle for accounts with sponsored rent-exemption. The program pays the rent exemption for the account. Transaction fee payers bump a virtual rent balance when writing to the account, which keeps the account "hot". "Cold" accounts virtual rent balance below threshold (eg 24h without write bump) get auto-compressed. The cold account's state is cryptographically preserved on the Solana ledger. Users can load a cold account into hot state in-flight when using the account again.

Type Description
CompressionInfo Rent state, authorities, and compression config per account
CompressibleConfig Program-level config: rent sponsor, authorities, address space
RentConfig Rent function parameters for compression eligibility
compression_info is_compressible, claim, and top-up logic
registry_instructions Instructions for the compression registry
rent Epoch-based rent calculation and claim amounts

Dependencies

~7–12MB
~243K SLoC