Skip to content
OptimAI Agentic
BNB Hack: Tokenized Stocks EditionBSC mainnet, spot only

OptimAI Agentic

Find, understand and buy bStocks on BNB Chain from the post you are reading on X, or from any app on your Android phone.

This page is for judges. It covers what to install and which flows to try. The price, chart and agent work with no wallet at all; a wallet is only needed for the final swap, and it signs every transaction itself.

How the pieces fit

  1. 01

    Where you read

    A post on X in Chrome, or a chat, a browser or any app on Android.

  2. 02

    OptimAI clients

    The Chrome extension, or the Android app with its keyboard and share target.

  3. 03

    OptimAI service

    Hosted for you: prices from Binance Web3, the agent and PancakeSwap quotes.

  4. 04

    Your wallet

    MetaMask signs the swap on BNB Smart Chain. No one else ever holds a key.

01Requirements

What to have ready

Pick the app you want to test. The Chrome extension needs the first two items and the Android app needs Android Studio. There is no account to create.

  • Extension

    Google Chrome

    Desktop, with Developer mode

    Loads the unpacked extension at chrome://extensions. Sign in to X in the same browser to try the X flows.

  • Extension

    Node and pnpm

    Node 22.15.1 or newer, pnpm 10.11

    Builds the extension. corepack enable picks up the pinned pnpm version.

  • Android

    Android Studio and a device

    JDK 17, Android SDK Platform 36

    Builds and installs the debug app on an emulator or a phone with USB debugging. Wallet connect needs a free Reown project id.

  • Buying

    MetaMask on BNB Smart Chain

    Browser extension and/or MetaMask Mobile

    Signs the swap. Only needed to buy: hold a little USDT on BNB Smart Chain plus some BNB for gas. Trust Wallet also works on Android.

02Quick start

Install and run

Each tab is a complete path with commands you can copy in order. There is no server to run: both apps come connected to the hosted OptimAI service.

  1. Step 1: Clone and install

    Terminal
    git clone https://github.com/OptimaiNetwork/optimai-agentic-extension.git
    cd optimai-agentic-extension
    corepack enable
    pnpm install

    corepack enable picks up the pinned pnpm version, and pnpm install also copies .example.env to .env when there is none. Nothing in it needs editing.

  2. Step 2: Build

    Terminal
    pnpm build

    The unpacked extension is written to dist/.

  3. Step 3: Load it in Chrome

    Open chrome://extensions, turn on Developer mode, click Load unpacked and select the dist folder. After every rebuild, press the reload button on the extension card, then reload the x.com tab.

  4. Step 4: Switch the panel to BNB Chain and bStocks

    Open x.com and click OptimAI Agentic in X's left sidebar. The panel opens on Solana with Ondo by default. In the panel header, set Chain to BNB Chain and Issuer to bStocks. The choice is remembered until the extension is removed.

  5. Step 5: Add MetaMask when you want to buy

    Install MetaMask in the same Chrome profile and select BNB Smart Chain. It is only used at the last step of a buy, when it shows the swap for you to sign or reject.

03What to try

Eight flows, and what you should see

The first four run in Chrome on x.com, the last four on Android. Tick them off as you go; the ticks stay in this browser only.

0 of 8 tried

  1. 01Chrome extension

    Cashtag search card on X

    Do
    With the panel set to BNB Chain and bStocks, search X for $NVDA.
    You should see
    A card below X's own cashtag card for the BNB Chain token (NVDAB), with a chart where the hours the exchange was closed are shaded, and what the token did across them. X's own card draws that time as a flat line.
  2. 02Chrome extension

    Post buttons and the multiplier adjusted price

    Do
    In the results, find a post whose cashtag names a listed ticker (try $TSLA or $AAPL) and click the new button in its action bar.
    You should see
    The panel slides in on the right with the token price on BNB Chain, the multiplier already divided out, what the underlying share costs and whether the token can be bought. bStocks publish no share price, so the comparison comes from the Ondo token of the same ticker, and the panel names that source.
  3. 03Chrome extension

    Ask the agent

    Do
    Open the chat in the panel and ask about a ticker, for example What are people on X saying about TSLAB today? Then ask a follow up.
    You should see
    To research, the agent may open X's own search in your tab and scroll it like a reader (up to 28 scroll steps or 40 seconds per search). The answer cites the posts it read, and follow ups use the same posts and the live numbers. The extension never calls X's API; it reads what the page loads anyway.
  4. 04Chrome extension

    Buy flow up to MetaMask

    Do
    From a ticker in the panel, open Buy, enter a small USDT amount and review the quote.
    You should see
    A live quote, then MetaMask opens with the transaction on BNB Smart Chain (the first buy of a token may ask for a USDT approval first). Nothing is sent until you confirm; reject it in MetaMask to stop without trading.
  5. 05Android app

    Stocks, quote and portfolio

    Do
    On the Stocks tab search nvda, open NVDAB, tap Trade NVDA, type 20 in You pay and tap Review Order.
    You should see
    The bStocks list with sparklines, a detail screen with the chart and on chain market data, a PancakeSwap quote in USDT with the network fee paid in BNB, and a review screen that warns this is a real on chain swap. If you submit and confirm in the wallet, the buy shows up in Activity with a BscScan link, and in Portfolio.
  6. 06Android app

    Agent chat in the app

    Do
    On the Agent tab send Analyze technical for tesla, then Buy 100$ of apple stock.
    You should see
    A TSLA technical card (gauge, RSI, MACD, EMA 20/50, Bollinger bands, based on the TSLAB token price) with a Trade TSLA button. Then an order preview card for AAPLB with a live quote and Review Order. Readings come from live data, so the gauge can land anywhere.

    If AAPLB is not in the stock list, ask about nvidia instead.

  7. 07Android app

    OptimAI Keyboard in any chat

    Do
    Switch to the OptimAI Keyboard in any chat app. Type @optimai recent news of nvidia and tap the glowing OptimAI logo. Clear the field, then type @optimai buy 50$ nvidia.
    You should see
    A live bStocks ticker above the keys, a news answer inside the keyboard, then a trading card (From 50 USDT, To NVDAB) whose Buy NVDA button opens the app on a prefilled quote. Typing 50$ means 50 USDT; without the dollar sign it means 50 shares.
  8. 08Android app

    Share a post: Trade with OptimAI

    Do
    On the phone, open this Watcher.Guru post (opens in a new tab) in Chrome, tap Share and pick Trade with OptimAI.
    You should see
    A "Reading what you shared" screen, then the stocks the post names as chips (for this post, NVIDIA and Apple), an agent insight and a live quote with $50, $100, $250 and $500 chips. Buy opens the app's quote screen; nothing is sent from the share screen.

04Safety and privacy

What OptimAI Agentic never asks for

  • Never share a private key or seed phrase

    No step of this test needs one, and nothing in OptimAI Agentic will ever ask for it. Anyone who does is not us.

  • No account, no login

    There is no sign up and no sign in. Prices, charts and the agent work with no wallet connected.

  • Your wallet signs every transaction

    The service returns a quote and an unsigned transaction. MetaMask (or Trust Wallet over WalletConnect on Android) signs and broadcasts it. The apps never hold a key.

  • No API keys in the apps

    The extension and the Android app ship with no model or data keys. Those stay with the hosted OptimAI service.

  • Little is stored, and nowhere X can read

    The extension keeps the chat in chrome.storage.session until the browser closes and the chain choice in chrome.storage.local. Nothing goes into the page storage that x.com scripts can read.

  • Real swaps, no recommendations

    Buys are real spot swaps on BNB Smart Chain mainnet. The apps report evidence and numbers; the decision to buy or sell stays yours.

05Troubleshooting

If something does not work