πŸ“£ π‚π‘πšπ¦πžπ₯𝐞𝐨𝐧 πƒπžπ― π”π©ππšπ­πž – π–πžπžπ€ 𝐨𝐟 π‰πšπ§ πŸπŸŽβ€“π‰πšπ§ πŸπŸ”, πŸπŸŽπŸπŸ”β£

This week focused on making pCHML the default on-chain representation of CHML and bringing a multi-validator network online, ensuring the chain is privacy-correct by default while rewards, staking, and bridging work cleanly across validators.

:white_check_mark: Progress This Week

A) pCHML Privacy Token Integration

We are shifting Chameleon into a model where CHML on-chain exists as privacy-wrapped pCHML, so privacy is the default state of value.

What’s now integrated:

  • Staking uses pCHML: stake / unstake / claim rewards operate on pCHML via pDEX
  • Emissions mint in pCHML: validator rewards + LP rewards are distributed in pCHML
  • Bridge mints pTokens: shield/unshield flows mint pBTC / pETH / pUSDT (and support the pToken economy)

B) Multi-Validator Network Live (Cross-Region)

We now have two validators live in different regions:

  • Alice (SFO) β€” Validator + RPC
  • Bob (NYC) β€” Validator

Network confirmation:

  • Aura round-robin consensus is working as expected
  • Grandpa finalization is functioning
  • P2P connectivity is stable across regions

C) Correct Validator Rewards via Block Author Detection

To correctly attribute rewards to the actual block producer, we implemented block author detection:

  • Added AuraAccountAdapter to map Aura AuthorityId β†’ AccountId
  • Rewards now correctly go to the validator who produced the block
  • Observed round-robin rewards at approximately ~0.985 pCHML per block per validator
  • Emissions split is enforced as:
    • 70% β†’ Validators
    • 30% β†’ LP providers

D) Staking Lifecycle Enhancements

To support a realistic validator lifecycle and safer exits, staking now supports a full status progression:

NodeStatus flow:

  • Registered β†’ Waiting β†’ Active β†’ Unbonding

Unbonding:

  • 100,800 blocks (~7 days @ ~6 sec blocks) cooldown before funds release

Extrinsics added:

  • register_node
  • start_unbonding
  • complete_unbonding
  • delete_node

This makes validator onboarding/offboarding far more production-aligned and reduces edge-case risk during stake transitions.


E) Bridge pToken Integration (Mint/Burn Wiring)

Bridge flows now properly hook into the pToken model:

  • Shield deposits mint pTokens (pBTC / pETH / pUSDT)
  • Unshield withdrawals burn pTokens

This ensures bridged assets cleanly enter/exit the private economy without breaking accounting.

:soon_arrow: Next Steps: Mobile App Integration

Now that pCHML + multi-validator foundations are in place, upcoming week will focus on shipping the mobile wallet experience end-to-end, including:

  • Wallet core: create/import, unlock flow, key management
  • Balances + multi-token support: pCHML + pBTC/pETH/pUSDT visibility and caching
  • Bridge UX: shield/unshield flows wired to pTokens
  • pDEX in-app: swap UI, slippage controls, MEV protection toggle, real chain calls
  • Send/Receive: multi-token transfers via pDEX transfer extrinsic
  • Power tab / vNode: register node, stake/unbond lifecycle, rewards visibility
  • Liquidity pools: add/remove liquidity + pool detail screens
  • Polish: stability fixes + cleanup to zero UI/TypeScript errors