Portal

The page-local .portal-* pieces from portal.css that build the partner console, portal.html.

Shell & identity
Shell & identity
The Portal rail: the shared .app-rail shell holding the brand lockup, search, org switcher, nav and account chip, all existing primitives.

Rail panel .portal-rail

The fixed left rail on a glass .panel: head, search, org, nav, footer. All four corners are rounded.

The real rail markup, set to position: relative with its JS hooks removed. Its parts: Brand lockup, Search trigger, Dropdown, Side nav, Avatar (initial).

Page chrome
Page chrome
The two Portal headers, picked by page tier: .portal-page-head on top-level pages, .portal-entity-head on pages opened from a parent (Integration detail).

Page header .portal-page-head

Title, with an optional sub line and right-aligned actions.

All slots

Welcome back, Vilen

Here's what's moving across your integrations.

Title only

Members

Title and sub

Status

All systems operational — historical uptime and recent incidents below.

Title and actions

API keys

Entity header .portal-entity-head

Eyebrow, avatar, name with status chip, integrator string, actions. Only avatar and title are required.

All slots

Integrations

oneinteg10

Active
integrator-string · oneinteg10

No eyebrow, top-level entity

oneinteg10

Active
integrator-string · oneinteg10

No actions, read-only entity

Integrations

oneinteg10

Archived
integrator-string · oneinteg10

Avatar and title only

oneinteg10

Integrations
Integrations
The integrations list's plan-usage meter and its empty-state illustration.

Empty-state illustration .portal-empty__art

Decorative art for the "create your first integration" empty state.

Sits above .portal-empty__title, .portal-empty__desc, an actions row and a 3-up .portal-steps grid.

Usage meter .portal-usage

N / M plan usage with a mini bar; --limit turns it danger at capacity.

Within plan

6 / 10 integrations

At capacity

2 / 2 integrations
New integration
New integration
The 4-step New integration modal (integration-wizard.js) and the two pieces it adds: the wallet-family row and the in-field counter.

Network row .network-row

One row per wallet family, with a Required or Optional chip and an add-wallet drawer.

The Wallets step adds one fee-collection wallet per network family. data-state sets the row's state.

Empty

Bitcoin Optional
BTC native

Added

EVM Required
0x742d…f44e
Added

Adding, drawer open

SVM Required
Solana · enter a Solana address
Adding
Valid Solana address

Fees are sent to this address automatically. You can change it later in Fee Management.

In-field counter .input-counter

A live count inside a maxlength input's right edge, danger at the cap. Not the label-row .field-counter.

Under the cap

At the cap

Integration wizard .iwiz

Stepper, per-step head and body, and one footer pattern.

A snapshot of the String step: stepper, head, body (list-card radios and an alert) and footer. The live flow is in portal.html under New integration.

Integration detail
Integration detail
The pieces inside the Overview, Wallets and Fees tabs, each in a .panel.portal-panel.

Fee table & summary .portal-fee-chain · .portal-fee-bar · .portal-fees-summary

The Fees tab: a total, lifetime and rates summary above a per-chain collectable table.

Summary

Total collectable
$11,518,010↑ 12.4%
Across 6 chains · last 30 days
Lifetime collected
$48.21M
Since Mar 12, 2024
LI.FI fees
Default30 BPS · 0.3%
Stablecoin10 BPS · 0.1%
Same-chain5 BPS · 0.05%

Per-chain table

ChainCollectableTransactionsLast collected
Optimism2.4081 ETH $7,000,000 56,204 12h ago
Arbitrum1.0312 ETH $3,000,000 24,891 5h ago
Polygon128.42 POL $92,410 1,208 3d ago

Bar width is each balance as a fraction of the largest, not of the total.

Metric card .portal-metric

Icon label, large value, and a button or note pinned to the bottom.

Collectable fees
$1,284.32
RPM ceiling
100
Health
99.98%
Last 30d uptime

Bar list .portal-barlist

Ranked breakdown with a proportional bar per row: Top chains, fee splits, Top routes.

Single chain

Ethereum$18.4M
Base$11.5M
Arbitrum$10.6M

Route pair

EthereumArbitrum$6K
BaseOptimism$3K

Onboarding checklist .portal-checklist

Onboarding steps with done and todo markers, a resume link and a progress bar.

  • Create integration
  • Add a fee wallet
  • Generate first API key
  • Send a test transaction Resume →
  • Invite a teammate

Wallet group .portal-wallet-group

Fee receivers per virtual machine: a default address, nested per-chain overrides, and an empty state.

Default and per-chain overrides

EVM Networks 1 default · 1 override

Default address used across all EVM chains, plus per-chain overrides.

  • Default EVM DEFAULT · Ethereum
    0x2e8a346Ba1E0c7f9913282AFB2705CD00754E478
    Collected$842.10
  • Base override · Base
    0x4DFbc42E1e86Fb747A69a3Dc75BA8d6bD0cC7818
    Collected$157.56

Not configured

Bitcoin 0 of 1

UTXO chains. Not configured for this integration yet.

No Bitcoin address on fileBTC fees will accumulate on platform until an address is added.
Withdraw fees
Withdraw fees
The fee-withdrawal modal (withdraw-fees.js), for one chain or as a multi-chain batch.

Withdraw fees .wfee

Pick a chain's collectable tokens, sign, then a receipt or a revert.

States: select → signing → success | error. The live flow is any Withdraw button in portal.html; hold ⌥ to show the failure. Figures are one captured run.

Select

Select-all shows :indeterminate on a partial pick; the hero value turns faint when nothing is picked.

Success

Receipt rows are a .detail-list--divided; the explorer link follows the chain.

Signing and revert

Waiting for wallet confirmation
Sign the transaction in MetaMask · 0x7C3B…c4B6

Error · Insufficient_gas

execution reverted: gas estimation failed at block 218682389

Signing puts a .spinner in the alert's .spot-icon. The revert is an .error-detail, which has no spot-icon by design.

Batch withdraw .wfee__legs

"Withdraw all fees": one signature per chain, tracked in a checklist that becomes the receipt.

States: bselect → brun → bsummary. Scopes: one integration's chains (Detail → Fees) or every integration × chain pair (Fee Management). Hold ⌥ on Withdraw all fees to fail a leg. Figures are one captured run.

Paused on a failed leg

A failed leg pauses the batch: Retry re-signs, Skip moves on, Stop ends it. The signing leg shows a .spinner and the selected tint.

Partial run summary

Done legs get explorer links; the recap is the checklist in its final state.

Org-wide

Org-wide (data-withdraw-all-org): one queue of chain legs, a .wfee__leg-group label per integration, and the org in the header pill.