Web App

Trader

Trader registration on the onchain registry (contact data kept off-chain as a hash) and the trader dashboard.

Two routes: /app/trader/register and /app/trader/dashboard. Profiles live in the CarbonRegistry. You do not need to register as a trader to use the marketplace, auctions or sell flow; those pages only need a wallet, payment token and CCT.

Registration — /app/trader/register

FieldRequiredLimit
Full Name / Trading NameYes1 to 100 characters
Email (must contain @)Yesup to 120 characters; never onchain
PhoneYesup to 32 characters; never onchain
Country / RegionYesup to 64 characters

What becomes public

Your trader name and country are stored on a public blockchain permanently and cannot be deleted. Email and phone are not published: the browser computes contactHash = keccak256(abi.encode(email, phone, salt)) and only the hash goes onchain; the details and the random salt stay in this browser's local storage.

On submit:

  1. The browser computes the contact hash with a fresh random salt.
  2. CarbonRegistry.registerTrader(name, contactHash, country); the page waits for the receipt and shows the transaction hash. Reverts such as Already registered are shown as the error.
  3. Redirect to the dashboard after about 1.5 seconds.

There is no starter pack and no free credits. One profile per wallet: a wallet already registered as a company or trader sees an explanatory empty state instead of the form. Without NEXT_PUBLIC_CARBON_REGISTRY the page shows "Registry not configured".

Dashboard — /app/trader/dashboard

ElementSource
Header name, Active Trader badgeCarbonRegistry.getTraderData
Portfolio ValueYour NFT credit tonnes × the oracle price (CarbonPriceOracle.getLatestPrice("VERRA_VCS")), shown as an indicative value; — when the oracle has no price
Carbon CreditsSum of your non-retired NFT tonnes (onchain)
CCT BalancebalanceOf of the configured CCT token
Member SinceRegistry registration date
Account infoCountry, wallet and the contact commitment (hash); no email or phone
Asset Allocation chartReal: your NFT credits grouped by methodology
Portfolio tabYour NFT credits with an estimated value at the oracle price
Portfolio Growth, Carbon Price trend line, CCT Trading Graph and Trading SummaryDemo (illustrative static series, labelled Demo)
Analytics tabPlaceholder ("coming soon")

Tabs: Overview, Portfolio, Trading, Analytics.

States

StateBehaviour
Wallet not connected"Connect wallet to view dashboard"
Registry not configured"Registry not configured"
LoadingSkeletons
Not registered as a trader"Trader account not found" with a Register as Trader button. No placeholder data is shown.

Marketplace · Auctions · CarbonRegistry reference