LogoLogo
  • Introduction
  • Motivation
  • Roadmap
  • FAQ
  • Technical Walkthrough
  • Using Redact
    • Confidential Balances (Wallet)
    • Encrypting
    • Decrypting
    • Confidential Transfer (Sending)
  • Architecture
    • FHERC20 Token Standard
    • FHERC20.sol
    • ConfidentialERC20.sol
      • RedactCore.sol
    • CoFHE Overview
Powered by GitBook
On this page
  1. Using Redact

Confidential Balances (Wallet)

PreviousTechnical WalkthroughNextEncrypting

Last updated 15 days ago

Redact has a built in wallet that can be used to:

  1. View your token balances as a breakdown between public and confidential balances.

  2. View your past transactions (including confidential transactions).

  3. Transfer encrypted tokens between wallets.

The wallet can be opened by pressing the CONNECT button in the top right corner of the dApp. If you are already connected, the button will display your connected wallet address instead:

Once open, you will see your native token balance, as well as a list of ERC20 tokens. Each token in the list shows the breakdown of public vs confidential balance. The history tab shows a list of all transactions that have been executed in Redact.

Note that ETH/WETH are combined in this view. Both ETH and WETH are encrypted into the same confidential token eETH so they have been combined in the token list.

You can read more about ETH/WETH in the ConfidentialERC20.solpage.

Each of the rows in this list can be expanded to view the individual balances and claimable amounts for each token. As an example, lets open the LINK token page:

This page shows the encrypted balance (5 eLINK), public balance (16 LINK), and claimable balance (3 LINK).

The encrypted balance, 5 in this case, is a value that is only visible to the owner of the account. In order to view this data, it is fetched from the CoFHE coprocessor as a sealed value (meaning it is still in an encrypted state, but it can be unsealed locally within Redact), and then unsealed locally using an autogenerated Permit.

LINK token page