For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fork, configure and run locally

Fork the white-label app, set its environment values and run it on your own computer.

Status: Maintenance mode. The 4thTech SDK and the BlockMail & BlockChat white-label apps are supported for existing users; no new features are planned. Last release: SDK 0.5.13 (25 Nov 2025).

You can run your own copy of BlockMail & BlockChat. It is a Nuxt 3 app (client-side only) that uses the 4thTech SDK. The code is on GitHub: 4thtech/white-label-client.

Figure: How the white-label app is layered, from Nuxt pages down to the SDK, the wallet and the services it talks to.

Before you start

  • Node.js 22 or later (the project requires it).

  • yarn, npm or pnpm.

  • A WalletConnect project ID, if you want WalletConnect in the wallet dialog.

  • Optional: a PollinationX endpoint and token, if you want to preconfigure storage for all users.

Steps

  1. Fork the repository on GitHub, then clone your fork.

  2. Install the dependencies.

  1. Copy .env.example to .env and fill it in. Use your own values; never commit .env.

Screenshot to capture: white-label--web--env-file--placeholders--light--1280.png. The .env file with placeholder values only.

Key
What it does

PORT, HOST

The port and host the server uses. The example sets 80 and 0.0.0.0.

WALLET_CONNECT_ID

Your WalletConnect project ID. Example: <your-walletconnect-project-id>.

MAIL_APP_ID

Your app ID for mail. If empty, the SDK uses the zero app ID.

CHAT_APP_ID

Your app ID for chat.

POLLINATIONX_URL

A PollinationX endpoint for everyone using your app. Example: <your-pollinationx-url>.

POLLINATIONX_TOKEN

The matching token. Example: <your-pollinationx-token>. Keep it out of the repository.

If you leave POLLINATIONX_URL and POLLINATIONX_TOKEN empty, each user connects their own PollinationX storage NFT from the dashboard. The token is shipped to the browser, so treat it as visible to your users. See Set up storage.

  1. Start the development server.

Screenshot to capture: white-label--web--terminal--npm-run-dev--light--1280.png. Terminal showing the npm run dev output.

  1. Open the address the server prints. The README uses http://localhost:3000. The app starts on the connect page.

Screenshot to capture: white-label--web--localhost--app-running--light--1280.png. The app running on localhost showing the start page.

Contracts and networks

The app supports the 12 networks on the Networks page and uses the OCC v1 contracts configured in the SDK. Addresses are on the Deployments page.

Next

Brand it, then build and deploy.

Last updated