Running an RLN membership on the LEZ testnet — re-verification & what changed

As of 2026-11-09. A re-run of the earlier guide (rln-membership-lez-testnet, verified 2026-10-20) against today's testnet, on a clean isolated logosctl session. Every number below was observed live and the membership was funded and registered end to end.

TL;DR — the flow still works, cost unchanged, but three things are different:
  1. delivery_module is now 0.3.3, not 0.4.0. 0.4.0 has been removed from the catalog; install 0.3.3. RLN modules are unchanged (0.12.0 / 5.1.0).
  2. Registry ambiguity. The membership registers active on fd322d32… (the registry the earlier guide listed), but a node's early state can report a second registry 841312e9… before it settles. Which one is canonical needs a word from the delivery team.
  3. Cost confirmed: registration spent 74,244,720 units (fund ~250M; ~175.7M stays on the payer). Unchanged from the guide's ~74.2M.

1. What was run

A fresh, isolated session (its own LOGOSCTL_CONFIG_DIR), logosctl 0.3.1, official catalog. Nothing else on the machine was touched.

daemon start -d
package install -y delivery_module liblogos_rln_module   # pulls liblogos_lez_rln_module + libp2p_module
module load liblogos_rln_module                           # before createNode
module load libp2p_module
module load delivery_module
call delivery_module createNode '{"preset":"logos.test","mode":"Core"}'
call delivery_module start
# ~3 min later: the LEZ-RLN wallet opens and derives a payer account
call liblogos_lez_rln_module wallet_status        # -> { "payer": "a42063…", "ready": true }
# fund the payer on testnet, then it self-registers:
call liblogos_rln_module get_membership_state <registryId> <rlnIdentifier>   # -> "active"

2. What changed since the 2026-10-20 guide

TopicGuide (2026-10-20)Now (2026-11-09)
delivery_module0.4.0 ("same code as re-released 0.3.3")0.3.3 is the catalog head; 0.4.0 removed from the catalog (the logos-delivery-module#169 cleanup landed — that issue is now "Withdrawn v0.4.0 is still in the modules catalog"). Install 0.3.3.
RLN modulesliblogos_rln_module 0.12.0, liblogos_lez_rln_module 5.1.0Unchanged — still current.
Registrylogos:testnet:fd322d32…7775b971Membership goes active on fd322d32… (so the guide's value is correct), but the node's early rlnState reported a second registry logos:testnet:841312e9…c20c893 before settling. See §5.
Realised cost~74.2M (price 1M + ~73.2M gas @ base fee 8); asks 182.8M min / 250M suggestedMeasured 74,244,720 exactly. Funded 250M → 175,755,280 left. base fee still 8.
Rate limit / epoch100 msgs / 600 sUnchanged — rate_limit 100, epoch 600 s.
Flow & modelderive payer → fund → auto-register; keystore not copyableUnchanged and verified end to end. Correction: the keystore is per RLN-module instance (one membership can be shared by other modules in the same core instance), not per delivery node (Arseniy, AnonComms, Nov 4).

3. The verified run (real output)

Payer derived ~3 minutes after start (it reports "opening the wallet" until then):

wallet_status -> { "network":"testnet", "payer":"a42063358de5fb05d5cfe868ca42599e66ec59ccf768aae2294ea68b6b19ea86",
                   "ready":true, "state":"ready" }
# base58: C3gWMdn8L9VKUiMcpGwPcauAej2hJKztF7FwZRucv4r9
get_native_balance(payer) -> balance "0"

After funding 250,000,000 on testnet.lez.logos.co, the node auto-registered and the membership went active:

get_membership_state(fd322d32…, 5e269b6a…) ->
  { "state":"active", "leaf_index":18, "rate_limit":100,
    "membership_hash":"440c289ceb09121cadf1f94496e9aa65611ed10ec7d1eb532cb38717eae4facf",
    "registry_id":"logos:testnet:fd322d32a46ddf57eece9db8d68e9b722262d1f770760fca63b8cb9e7775b971" }
get_native_balance(payer) -> balance "175755280"      # spent 250,000,000 - 175,755,280 = 74,244,720

4. Cost

Native unitsWhat
Funded250,000,000suggested amount
Spent registering74,244,7201,000,000 price + ~73.2M gas at base fee 8
Left on payer175,755,280stays there — the module has no transfer-out

So fund the full suggested amount and expect ~70% to sit unused on the payer. The minimum is ~182.8M (price + fee reserve); the reserve is an upper bound and only ~40% is used at today's base fee.

5. The registry ambiguity (new — worth a delivery-team answer)

During early sync the node's rlnState reported registry logos:testnet:841312e9…c20c893 (the same one seen in an independent Nov-6 probe), then settled on fd322d32… where the registration actually went active. So two testnet RLN registries are in play, and which one a node binds to depends on sync timing.

Why it matters: a node can register on / report one registry while an application binds the other — which looks exactly like a silent "no membership" (the send API returns success, but nothing propagates). Open question: which registry is canonical, and why do nodes see both? (A today-problem only — the registry ID changes anyway in v0.5 when the membership tree moves to the separate RLN Zone; see §7.)

6. RLN enforcement on the testnet today

Two layers — both true at once:

So a developer can build without a membership — on logos.dev, or with the RLN-off override on logos.test — while the default testnet path requires one.

7. Roadmap caveat

The fund-the-payer model documented here is correct for today but transitional. Per the AnonComms team (Hanno, Arseniy, Igor, bkomuves — Nov 4–5 2026), the committed direction is:

So: build the shared "RLN status" affordance, but treat the self-funding step as temporary.

8. Proposed UX improvements

The funding model is the part that confuses people (it confused us), so it's worth stating plainly and proposing a better shape.

How it works today

The RLN module creates a brand-new, dedicated, empty wallet on the node and derives a single-purpose payer account in it. You then have to discover that address and send funds to it; the node spends from it to register. It is not "bring your own funded wallet" — it's "the node invents an account, you fund it." Rationale: a per-module keystore lets the module auto-sign the registration without being handed your main wallet key.

Why that's awkward

Better shapes (roughly increasing effort)

  1. Surface the state — show the payer address, the amount needed, the live balance, and the membership state, so a funding/blocked node is legible instead of a silent dead-end (the send API returns success even with no membership). This is already being built: Alisher (@xAlisher) is reworking his rln_ui to exactly this payer → fund → live-balance → auto-active model, and proposed a shared RLN-status component (ecosystem #260) so it's done once rather than per app. Separately, an official rln_membership_ui already exists (logos-co/logos-rln-modules, maintained by @adklempner) — polished, but not in Basecamp's default catalog, on the deprecated QML→core pattern, and its published build fails wallet sync against the current testnet.
  2. Fund & reclaim from your existing wallet in the UI: a one-click "fund the payer from my wallet," plus a "reclaim leftover" action to sweep the unused ~70% back. Keeps the per-module keystore; removes the discover-and-strand pain.
  3. Bring your own funded account (the intuitive model) — confirmed as the committed v0.5 direction. Rather than minting a fresh empty payer, the module will use or install the LEZ wallet module and let you link an existing LEZ Zone Wallet to pay for registration (Hanno/Arseniy, AnonComms, Nov 4). Caveat: the account that registers is the one that can later extend/withdraw the membership, so there's deliberate coupling. Note the boundary — only the payment account externalizes; the RLN keystore (secret + commitment) stays in the module. Exporting the keystore itself is unsafe: the secret is accessed too often for proof generation to live elsewhere, and a membership used in two places can slash itself (the rate limit can't be enforced across both).
  4. The roadmap fix — no user funds at all: the allocation-protocol / gifter path (v0.4, §7) removes the funding step entirely. So options 2–3 are transitional; the durable investments are the shared status component (1) and steering toward (4).

9. Gotchas hit during this run

10. Open items for the delivery / AnonComms team

  1. Which testnet RLN registry is canonical — fd322d32… or 841312e9… — and why do nodes see both? (§5)
  2. Is logos.test RLN validation intended to stay off, and until when? (The Oct-13 "a couple of weeks" has lapsed; the send-gate is enforced.)
  3. delivery 0.3.3's catalog-install signature hiccup — reproducible, or environment-specific?
  4. Timeline for the allocation-protocol registration (removes the LEZ-funding step).