A note first: we have a proposal in the discussion stage (t/11089). This post is separate and long term. Nothing here needs to happen before or during that vote, and it is fine to look at it afterwards. Whether our proposal passes or not, we will keep working on this.
The problem
To vote, Metaforo binds a Nervos DAO address through a Neuron-style message signature. In Metaforo’s web app the bind call sends only the message and the signature, and the server answers with a default single-key address. So only deposits under that lock can carry voting weight.
What we found, read from the public Metaforo data and the explorer on 2026-11-04:
- Across the 176 voters of the 38 polls we read, all 612 bound addresses use the default secp256k1 lock.
- Metaforo already lets people sign in with JoyID, but the deposits at the JoyID address are not counted. Four voters who sign in with JoyID hold 13,421,200 CKB in Nervos DAO at their JoyID addresses. One of them voted three times with 101,000 CKB, the deposit at their bound Neuron address, while 600,200 CKB sat in the DAO at their JoyID address.
- Omnilock, multisig and smart contract wallets cannot bind at all.
@janx asked for this in 2024 (t/7803#2): “Can we make NervosDAO deposit binding and voting accessible to JoyID/Neuron/… users?”
Two changes, from the smallest
- Count the Nervos DAO deposits at the JoyID address a voter signs in with. Metaforo already knows that address.
- Accept a lock proof as a second way to bind. With it, any wallet can prove it controls the lock of a deposit.
For the second, we wrote Ward, an open spec and verifier (MIT). It is the CKB counterpart of Ethereum’s EIP-1271 and Bitcoin’s BIP-322:
- the platform issues a message (domain, account, lock hash, chain, time, nonce);
- the wallet signs a proof transaction that commits to it and can never land on chain, because its input does not exist;
- the platform runs the lock’s own code on that transaction, with its cell deps read live from the chain, and accepts if the lock does.
Tested on testnet, each with controls that must fail: the default lock, multisig 2-of-3, anyone-can-pay, Omnilock (Doge auth), a Nostr lock, JoyID (signed in the JoyID app) and the Cellula smart account. Not covered yet: JoyID sub-keys and mainnet. An adversarial review found two problems in the first version, a capped key binding a whole account and one lock bound to many accounts; both are fixed and tested, and the spec lists the rules a platform must keep, such as one binding per lock and no rebinding during a vote.
The weight rule stays as it is: current Nervos DAO deposits at bound addresses. Portal Wallet support was added in 2023 the same way, as a change in Metaforo (t/7053), so we think this does not need a meta-rule vote. Please correct us if it does.
What we offer
- Help with the integration, and the verifier as it is, MIT.
- If useful, we host a verifier endpoint at no cost.
No funding is asked. @terrytai, as the owner of the CKB group on Metaforo, and @zz_tovarishch, could you tell us the right way to take this to the Metaforo team?