Skip to main content

Frontend: test

Initialization steps

  1. Connect MetaMask
  2. Login/register

Create FT4 account on Rell dapp side.

Login

  1. Unlock wallet

The unlock wallet part is a step that is created to securely generate an encryption keypair that would be used for decrypting/encrypting private operation data from logs. This is used to derive and calculate the total private balance of users, as well as for encrypting private data.

Unlock Wallet Button

Unlock Wallet

  1. Register private address

Register

This is for users to be able to receive private transfers. The private address is not hidden; it is being used in the registry to target a certain user more easily with a fixed value. This is a preference and not a technical requirement in order to achieve this demo.

Demo scenarios

Basic flow demo

  1. Open app (keys auto-generated)
  2. Get 1000 tokens from faucet
  3. Shield 500 tokens (public → private)
  4. Transfer 200 tokens to random recipient
  5. Unshield remaining 300 tokens (private → public)

Privacy demo

  1. Show public balance is visible on blockchain
  2. Shield tokens to make them private
  3. Demonstrate private transfers don't reveal amounts
  4. Show how recipient addresses are hidden
  5. Unshield to convert back to public when needed

Multi-user demo

  1. Generate multiple random recipients
  2. Show how private transfers work between users
  3. Demonstrate that only the recipient can decrypt their notes
  4. Show how nullifiers prevent double-spending