RentLock is a program-enforced rent escrow protocol on Solana, currently in development preview on localnet/devnet with test USDC. This page covers the smart contract architecture, instruction set, PDA vault design, and fee structure.
RentLock is an on-chain rent escrow protocol deployed on the Solana blockchain. Rent payments and security deposits are held in Program Derived Address (PDA) vaults — smart contract accounts with no private key, controlled entirely by the program logic. Neither landlord nor tenant can unilaterally drain funds. Settlement happens on-chain through a defined instruction set. Disputes are resolved by the designated arbitrator agreed at lease creation, whose ruling is enforced by code.
No bank accounts, no payment processors — less reliance on manual trust.
Every lease deploys two on-chain accounts derived deterministically from the lease parameters. No private key exists for either — only the program can authorize fund movements.
Stores all lease state — rent amount, deposit, duration, due day, parties, agreement hash, and current status. Derived from a fixed seed so both parties can compute the address independently.
seeds: ["lease", landlord, tenant, leaseId]Holds the escrowed USDC — security deposit and rent — in an SPL-token account owned by the vault authority. Seeded by the Lease PDA address. Cannot receive funds from arbitrary callers; only the correct program instructions can deposit or withdraw. USDC/SPL-token escrow is implemented in this migrated build; production/mainnet deployment still requires final validation.
seeds: ["vault", leasePDA]Designed for immutable deployment on Solana. A final mainnet deployment has no upgrade authority, so the program cannot be changed, paused, or shut down. Current builds run on localnet/devnet for testing.
DpHnrnkLouAQZJ2JHW3R8tSjqRieLSWGhf7mWtrZE8iQThe RentLock program exposes 14 instructions. Every instruction validates signers against on-chain lease state before executing.
Every instruction verifies the signer against on-chain lease state before execution. The protocol enforces roles at the cryptographic level — not at the application layer.
RentLock charges a single platform fee on rent releases. All other interactions — lease creation, deposit, dispute — incur only the near-zero Solana transaction fee.
The platform fee is stored in the PlatformConfig PDA — a public Solana account readable by anyone. There is no hidden fee or admin backdoor. The fee can only be updated through a governance instruction signed by the platform authority.
Anyone can read the PlatformConfig account from Solana Explorer using the program ID. The fee percentage, fee recipient wallet, and program state are permanently visible on-chain.
Every Solana transaction costs approximately $0.00025 at current network fees. RentLock adds no per-transaction surcharge beyond the 0.5% fee on successful rent releases. No gas spikes, no priority fees required for standard operations.
Every lease ends one of four ways. All paths are enforced on-chain — no court, no lawyer, no waiting for a check.
Landlord calls endLease. The smart contract verifies the lease term is complete and all rent has been paid, then returns the full security deposit to the tenant's wallet automatically. One transaction, instant settlement, zero human discretion.
Landlord calls proposeSettlement with a specific deduction amount. Tenant reviews and calls acceptSettlement. The contract splits the deposit accordingly — deducted portion to the landlord, remainder to the tenant. No arbitrator involved, no dispute filed.
Either party calls openDispute. The vault freezes immediately — no funds can move. The designated arbitrator reviews the on-chain evidence (payment timestamps, signed lease terms, transaction history) and calls closeDispute with a ruling. The contract splits funds exactly per the ruling.
If the arbitrator is inactive and fails to rule within the configured timeout window, anyone can call forceResolveDispute. The contract applies a default resolution — typically returning funds to both parties proportionally. This prevents permanent vault lockout if the arbitrator disappears.
You don't need to trust us. Read the code. Verify the program on-chain. The smart contract is the source of truth.
Smart contract source, frontend, and deployment scripts.
github.com/Neverwho/rentlock →Verify the program ID, transactions, and on-chain accounts.
DpHnrnkL…ZE8iQYou don't need to trust us. Read the code.
The US rental market is large, underserved, and ripe for program-enforced infrastructure. No direct competitor exists for rent escrow on Solana.
Connect your Phantom wallet and deploy your first on-chain lease in under 2 minutes.