Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat: add full interactive trading chart on coin pages with DexScreener integration

zprvf91e849a2ca9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 450cea0cb..89b49b809 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Coin World Tour: an agent walks you through the $THREE 3D world live** — Watch a guide agent take a first-person walk through the $THREE 3D world — gliding from the lobby across the floor and into the arena, the camera bobbing with each step. As it reaches each stop it commentates what's climbing the three.ws launch feed, the lines scrolling in the activity log like a travel stream through a coin's universe. It's a real headless browser driving the real scene — no faked motion — spun up only while someone is watching. Open it on the live wall or full-size on an agent's screen, where a TOUR badge shows the current stop and reveals the latest narration on hover. (`/agents-live`) `[feature]`
- **Copy-Trade Mirror: watch an agent shadow a target wallet live** — Watch an agent mirror a target wallet live — the source trade and the agent's guarded replica land side by side with latency and fill shown, every order inside hard spend caps. The Mirror panel on /agent-screen streams the target wallet's real pump.fun trades on the left and the agent's server-signed, firewall-enforced replica on the right — stamped with the real latency (submitted − detected) and the actual fill. Blocked orders render as actionable rows with the exact guard reason (over daily cap, impact too high, etc.) — never a silent skip. The owner sets the target wallet, sizing rule (fixed SOL, multiplier, % of balance), and spend caps; viewers watch the live dual-column frame in read-only mode. (`/agent-screen`) `[feature]`
- **Deploy your agent to the live wall in four guided steps** — Going live is now a wizard, not a docs hunt. Open the agent screen with no agent picked and a four-step flow walks you through it: choose your agent, generate its key in one click (shown once, with a copy button), copy the exact run command for your setup — local npm, Docker, or Browserbase — and then watch a live status strip that flips to “You’re live on the wall” the instant your agent pushes its first frame, with a direct link to its card on the public wall. A progress tracker, a searchable agent list, inline error recovery, and a “not appearing?” troubleshooter round it out. (`/agent-screen`) `[feature, improvement]`
+- **Full interactive trading chart on every coin page** — Each coin's profile page now lets you switch its price chart between the fast native view and a full interactive DexScreener terminal — candlesticks, zoom, on-chart trades and liquidity — embedded right on the page and keyed to the coin's mint, with a one-tap link to open it in DexScreener. The chart matches your light/dark theme and only loads the heavier terminal when you choose it, so the page stays quick by default. (`/launches`) `[improvement]`
- **Live 3D sentiment heatmap on agent screens** — A live 3D market-sentiment heatmap now runs on agent screens — tokens glow by momentum with $THREE at the center, and the agent calls out the movers in real time. Cold-blue tiles cool off, green-hot ones surge, and the field breathes with the market. Press H to open it, hover a tile for details, or click ◎ $THREE to focus the camera on the anchor. (`/agent-screen`) `[feature]`
- **Live agent wall spins up a real browser feed the instant you look** — Scroll the live agent wall and the card you're actually looking at now spins up a real browser feed within seconds — no more waiting on every agent at once. While it warms up the card shows an honest "Warming up a live view…" pulse, and if the live pool is busy it tells you exactly where you stand: "Live view queued · #3 in line". Scroll past and the slot quietly frees for the next viewer. The single-agent screen shows the same honest handoff, the live dot turns amber when a feed stutters, and a dropped connection reconnects and reclaims its place automatically. (`/agents-live`) `[feature, improvement]`
- **Live Avatar Forge: build a 3D avatar on camera** — On an agent's live screen you can now type a prompt and watch a 3D avatar get generated, rigged, and animated in real time — free. The agent narrates each real stage on the free NVIDIA NIM (TRELLIS) text-to-3D lane, then the finished model materializes in the Avatar Cam, starts breathing in an idle loop, and waves hello. Open it in the 3D viewer or grab the model URL to set as your agent's look. Fresh forges also surface on the live agents wall. (`/agent-screen`) `[feature]`
diff --git a/data/changelog.json b/data/changelog.json
index e4ca16194..d3decd637 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws \u2014 the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-06-29",
+ "title": "Full interactive trading chart on every coin page",
+ "summary": "Each coin's profile page now lets you switch its price chart between the fast native view and a full interactive DexScreener terminal — candlesticks, zoom, on-chart trades and liquidity — embedded right on the page and keyed to the coin's mint, with a one-tap link to open it in DexScreener. The chart matches your light/dark theme and only loads the heavier terminal when you choose it, so the page stays quick by default.",
+ "tags": [
+ "improvement"
+ ],
+ "link": "/launches"
+ },
{
"date": "2026-06-29",
"title": "New dashboard: total agent-to-agent economy volume",
diff --git a/public/changelog.json b/public/changelog.json
index c8af4c70f..55f5cb9a5 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-29T07:42:16.090Z",
+ "generated_at": "2026-06-29T08:48:45.712Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -147,6 +147,16 @@
"improvement"
]
},
+ {
+ "date": "2026-06-29",
+ "type": "update",
+ "title": "Full interactive trading chart on every coin page",
+ "summary": "Each coin's profile page now lets you switch its price chart between the fast native view and a full interactive DexScreener terminal — candlesticks, zoom, on-chart trades and liquidity — embedded right on the page and keyed to the coin's mint, with a one-tap link to open it in DexScreener. The chart matches your light/dark theme and only loads the heavier terminal when you choose it, so the page stays quick by default.",
+ "link": "/launches",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-29",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 656cb3b6c..4cf2d41a8 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -118,6 +118,14 @@
<category>feature</category>
<description>Going live is now a wizard, not a docs hunt. Open the agent screen with no agent picked and a four-step flow walks you through it: choose your agent, generate its key in one click (shown once, with a copy button), copy the exact run command for your setup — local npm, Docker, or Browserbase — and then watch a live status strip that flips to “You’re live on the wall” the instant your agent pushes its first frame, with a direct link to its card on the public wall. A progress tracker, a searchable agent list, inline error recovery, and a “not appearing?” troubleshooter round it out.</description>
</item>
+ <item>
+ <title>Full interactive trading chart on every coin page</title>
+ <link>https://three.ws/launches</link>
+ <guid isPermaLink="false">2026-06-29:Full interactive trading chart on every coin page</guid>
+ <pubDate>Mon, 29 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Each coin's profile page now lets you switch its price chart between the fast native view and a full interactive DexScreener terminal — candlesticks, zoom, on-chart trades and liquidity — embedded right on the page and keyed to the coin's mint, with a one-tap link to open it in DexScreener. The chart matches your light/dark theme and only loads the heavier terminal when you choose it, so the page stays quick by default.</description>
+ </item>
<item>
<title>Live 3D sentiment heatmap on agent screens</title>
<link>https://three.ws/agent-screen</link>
diff --git a/public/features.json b/public/features.json
index d97b7839e..bcb64bb2e 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-29T07:42:16.072Z",
+ "generated_at": "2026-06-29T08:48:45.696Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/launch-detail.css b/src/launch-detail.css
index 446ffa77a..a80a72645 100644
--- a/src/launch-detail.css
+++ b/src/launch-detail.css
@@ -383,7 +383,36 @@ body {
/* ── Chart ────────────────────────────────────────────────────────────────── */
.ld-chart { display: flex; flex-direction: column; gap: var(--space-sm); }
+.ld-chart-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; }
+.ld-chart-views { display: flex; gap: 4px; }
.ld-chart-bar { display: flex; gap: 4px; }
+.ld-chart-open {
+ font-family: var(--font-mono);
+ font-size: var(--text-2xs);
+ color: var(--ink-dim);
+ text-decoration: none;
+ transition: color var(--duration-fast);
+}
+.ld-chart-open:hover { color: var(--ink-bright); }
+.ld-dex-wrap {
+ position: relative;
+ min-height: 460px;
+ border: 1px solid var(--stroke);
+ border-radius: var(--radius-md);
+ overflow: hidden;
+ background: var(--surface-2);
+}
+.ld-dex-frame {
+ width: 100%;
+ height: 460px;
+ border: 0;
+ display: block;
+ opacity: 0;
+ transition: opacity var(--duration-base) ease;
+}
+.ld-dex-wrap .ld-skel-chart { position: absolute; inset: 0; height: 100%; border-radius: 0; }
+.ld-dex-ready .ld-dex-frame { opacity: 1; }
+.ld-dex-ready .ld-skel-chart { display: none; }
.ld-int-btn {
font-family: var(--font-mono);
font-size: var(--text-2xs);
diff --git a/src/launch-detail.js b/src/launch-detail.js
index 4cca782d5..68bc6f33e 100644
--- a/src/launch-detail.js
+++ b/src/launch-detail.js
@@ -48,6 +48,7 @@ const state = {
coin: null,
tape: null, // EventSource handle
chartInterval: '15m',
+ chartView: 'native', // 'native' (Birdeye area chart) | 'dexscreener' (interactive embed)
priceTimer: 0,
};
@@ -1036,15 +1037,91 @@ function chartIntervalBar() {
);
}
+// View switch — the fast native area chart vs. the full interactive DexScreener
+// terminal (price + depth + trades). Both read the same on-chain mint; the embed
+// is loaded only when chosen so the default view stays lightweight.
+const CHART_VIEWS = [
+ ['Native', 'native'],
+ ['DexScreener', 'dexscreener'],
+];
+
+function chartViewBar() {
+ return el(
+ 'div',
+ { class: 'ld-chart-views', role: 'tablist', 'aria-label': 'Chart source' },
+ CHART_VIEWS.map(([label, value]) =>
+ el('button', {
+ class: `ld-int-btn${state.chartView === value ? ' active' : ''}`,
+ type: 'button',
+ role: 'tab',
+ 'aria-selected': String(state.chartView === value),
+ text: label,
+ onclick: () => {
+ if (state.chartView === value) return;
+ state.chartView = value;
+ renderChart();
+ },
+ }),
+ ),
+ );
+}
+
+// DexScreener serves a TradingView-grade embeddable terminal keyed by the Solana
+// mint — it resolves the most-liquid pair itself, so no pair lookup is needed.
+function dexEmbedUrl() {
+ const theme = document.documentElement.getAttribute('data-theme') === 'light' ? 'light' : 'dark';
+ const params = new URLSearchParams({
+ embed: '1',
+ loadChartSettings: '0',
+ theme,
+ chartTheme: theme,
+ chartType: 'usd',
+ interval: '15',
+ info: '0',
+ });
+ return `https://dexscreener.com/solana/${encodeURIComponent(state.mint)}?${params}`;
+}
+
+function renderDexChart(target) {
+ const views = chartViewBar();
+ const open = el('a', {
+ class: 'ld-chart-open',
+ href: `https://dexscreener.com/solana/${encodeURIComponent(state.mint)}`,
+ target: '_blank',
+ rel: 'noopener',
+ text: 'Open in DexScreener ↗',
+ });
+ const frame = el('div', { class: 'ld-dex-wrap' }, [
+ el('div', { class: 'ld-skel ld-skel-chart' }),
+ el('iframe', {
+ class: 'ld-dex-frame',
+ src: dexEmbedUrl(),
+ title: 'DexScreener live chart',
+ loading: 'lazy',
+ onload: (e) => e.target.parentElement.classList.add('ld-dex-ready'),
+ }),
+ ]);
+ section(
+ target,
+ 'Price',
+ el('div', { class: 'ld-chart' }, [el('div', { class: 'ld-chart-controls' }, [views, open]), frame]),
+ { tag: 'DexScreener · live' },
+ );
+}
+
async function renderChart() {
const target = $('ld-chart');
if (state.network !== 'mainnet') {
section(target, 'Price', el('div', { class: 'ld-empty' }, [el('p', { text: 'No price history for devnet coins.' })]));
return;
}
- const bar = chartIntervalBar();
+ if (state.chartView === 'dexscreener') {
+ renderDexChart(target);
+ return;
+ }
+ const controls = el('div', { class: 'ld-chart-controls' }, [chartViewBar(), chartIntervalBar()]);
const canvas = el('div', { class: 'ld-chart-canvas' }, [el('div', { class: 'ld-skel ld-skel-chart' })]);
- section(target, 'Price', el('div', { class: 'ld-chart' }, [bar, canvas]), { tag: 'Birdeye OHLCV' });
+ section(target, 'Price', el('div', { class: 'ld-chart' }, [controls, canvas]), { tag: 'Birdeye OHLCV' });
const interval = state.chartInterval;
const to = Math.floor(Date.now() / 1000);