Custom Wallet Setup for Pre-confirmations
This guide explains how to set up a custom wallet that supports pre-confirmations to experience instant transaction confirmations on UniFi Rollup. We recommend using the modified version of Rabby wallet provided in the based-op repository, which supports pre-confirmations. Follow these steps to build and install it:
1. Build the Modified Rabby Extension
First, clone the repository and build the extension. Note that you need to have yarn
installed to build the extension.
git clone https://github.com/gattaca-com/based-op.git
cd based-op/rabby
yarn && yarn build:pro && yarn build:pro:mv2
2. Install the Extension
The compiled extension will be available in the following directories:
- Google Chrome:
rabby/dist
- Mozilla Firefox:
rabby/dist-mv2
Chrome Installation
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the
rabby/dist
directory
Firefox Installation
- Open Firefox and navigate to
about:debugging
- Click "This Firefox"
- Click "Load Temporary Add-on"
- Select any file in the
rabby/dist-mv2
directory
For detailed browser-specific instructions, see:
Connecting to UniFi Testnet
[!WARNING] You must have the modified Rabby extension installed before proceeding.
- Open your Rabby extension
- Import, create a new wallet, or use your existing one
- Click on "More"
- Scroll down to the "Settings" section
- Click on "Add Custom Network"
- Fill the form with the following values:
- Network Name:
UniFi Testnet
- RPC URL:
https://testnet-unifi-rpc.puffer.fi/
- Chain ID:
2092151908
- Symbol:
ETH
- Block Explorer URL:
https://testnet-unifi-explorer.puffer.fi/
- Network Name:
- Important: Check the "This network supports preconfirmations" option
- Click on "Confirm"
Experiencing Pre-confirmations
Once you have the modified Rabby wallet connected to UniFi Testnet:
- Open your Rabby extension
- Click on "Send"
- Select "UniFi Testnet" from the chain dropdown
- Fill out the transaction details
- Click on "Send"
- Sign the transaction
- Watch as your transaction receives instant confirmation!
Why This Works
The modified Rabby wallet includes:
- Reduced polling intervals for transaction receipts
- Support for pre-confirmation detection
- Enhanced UI feedback for instant confirmations
This allows you to experience the true speed of UniFi's pre-confirmation system, where transactions are confirmed in milliseconds rather than waiting for block finalization.