Introduction
JustLock is a free locker on Radix. Anyone can deposit fungible tokens or NFTs into its on-ledger component with an unlock date, or with none, and receives an NFT lock receipt that withdraws them once that date has passed (JustLock FAQ). A project uses it to show holders that liquidity, a team allocation or bought-back tokens cannot move before a stated date. The most recent lock, made on 14 June 2026, holds 3.3bn $HIT with no unlock date and is labelled "$HIT buyback forever lock #4" (receipt #422).
The first lock was made on 18 December 2024, and the component had issued 423 receipts by 23 November 2026 (component state). JustLock charges no fee, and its Scrypto source is published under the MIT licence (GitHub). CaviarNine, the team behind the CaviarNine exchange, lists JustLock among its live Radix products (caviarnine.com). RadLock is the other locker on Radix.
How a lock works
A lock is one call to the component's lock method, which takes the tokens, an optional unlock time, and a name, description and image for the receipt (lib.rs). The component puts the tokens in a vault of their own, numbered by a counter, and mints a LockReceipt NFT with the same number. The receipt records the locked resource, the amount or the NFT IDs, the time of locking and the time it becomes unlockable, and anyone can read those fields on the ledger.
The unlock method takes one or more receipts. For each, it checks that the receipt came from this component and that its unlock time has passed, then returns the tokens, stamps the receipt with the time of unlocking and keeps the receipt in the component's own vault, so it cannot be presented again.
Only the holder of a receipt can unlock it, so a lock changes hands when its receipt is deposited in another account, and a lost receipt leaves the tokens in the vault permanently (FAQ). Receipts can themselves be locked, which builds a vesting schedule out of layered locks. JustLock takes nothing on either call; a lock costs the Radix network fee, under 1 $XRD in the component's transactions.
Can a JustLock lock be unlocked early?
No. The unlock method refuses a receipt whose unlock time has not arrived, and a lock made without one can never be unlocked (FAQ; lib.rs). The component has no other method that withdraws tokens from a vault. Its owner role, held by a badge the deployer chose, can change only metadata, such as the names and icons of the component and the receipts. Only the component can mint receipts or edit their data, and every rule on the receipt resource is locked, so nobody can change that (LockReceipt resource). Neither lock nor unlock carries an access rule, so any wallet can call them without the website, using the manifests published at justlock.io/code.
Anyone can check that the code on the ledger is the published code. The repository's README gives a deterministic build in Radix's scrypto-builder Docker image: deploying that build and comparing its code hash with the hash of package_rdx1p4k2v…6wu8mk shows whether they match (README). The site and the repository name no audit.
The $LOCK token
$LOCK has a fixed supply of 100m: minting is denied and that rule is locked, while any holder may burn their own $LOCK ($LOCK resource). The FAQ gives the allocation: 5% airdropped to active Radix supporters, 93% placed as liquidity on Radix exchanges and locked permanently, and 2% in a two-year developer lock (FAQ). Three receipts carry the locked shares, all held by the account the site lists for donations, which also made the first locks on 18 December 2024:
- #22, "Dev allocation": 2m $LOCK, locked on 8 January 2025 and unlockable from 8 January 2027.
- #23: all 632,456 LP tokens of the XRD/LOCK Flex Pool on Ociswap, with no unlock date. An LP token is a share of a pool's two reserves, redeemable on withdrawal.
- #24: a CaviarNine liquidity receipt for the LOCK/xUSDC pair, xUSDC being a wrapped USDC, with no unlock date.
The November 2026 pool drain
On 14 November 2026 one account used a flash-loan flaw in the first version of Ociswap's Flex Pool to drain 14 pools, among them the XRD/LOCK pool, which lost 79,751 $XRD in one transaction at 09:29 UTC (DEX pool drain, November 2026). A flash loan lends tokens that must be repaid before the borrowing transaction finalizes; the October exploit of the same flaw sets out how the pool mispriced a swap while its own tokens were on loan.
The lock was not touched: receipt #23 still holds every LP token in the pool. JustLock holds the LP tokens and has no control over the pool that issues them, so what they redeem for fell with the pool's $XRD reserve. On 23 November 2026 the pool held 13.4m $LOCK and 128 $XRD.
JustLock after CaviarNine left Radix
When CaviarNine announced on 19 August 2026 that it was leaving Radix and winding down its exchange products, it said JustLock was unaffected because it runs entirely on the ledger, and that locking and unlocking would keep working (CaviarNine). The component needs nothing from CaviarNine to do either. The most recent transaction, an unlock on 22 September 2026, came after the announcement (transaction). The developer allocation in receipt #22 becomes unlockable on 8 January 2027.
External Links
- justlock.io – the locking site
- justlock.io/code – the Scrypto source and lock and unlock manifests
- just-lock/locker on GitHub
- @JustLockRadix on X
- Locker component on the Radix Dashboard
