WP Manifestindependent plugin directory
manifest / integrations / tokens.xyz-wordpress-plugin

Tokens XYZ releases

Tokens.xyz WordPress Plugin

by fphxgallery · github.com/fphxgallery/tokens.xyz-wordpress-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/fphxgallery/tokens.xyz-wordpress-plugin/archive/refs/heads/main.zip

Full Tokens.xyz API integration for WordPress: asset search, live market data, OHLCV price charts, risk scoring, and curated token lists — rendered through shortcodes, a widget, and a themeable dashboard.

Tokens XYZ dashboard

Features

  • Token dashboard — searchable, sortable table of tokens with spotlight cards (Highest Volume, Biggest Gainer), per-row 24h sparklines, and category tabs (Majors, Currencies, ETFs, Stocks, Metals, RWAs, All).
  • Single-page token detail — header with logo, verified badge and price; always-visible price chart; stats grid; markets table; collapsible Exchanges, Risk Analysis, and Variants sections.
  • Asset search with live results and ⌘K / Ctrl-K focus shortcut.
  • Price charts (Chart.js) with 24H / 7D / 30D / 90D timeframes.
  • Risk scoring badges and detailed market-score breakdowns.
  • Curated lists rendered as cards or a sortable table.
  • Color Theme admin panel — customize background, card background, accent, text, borders, highlighted row and row text.
  • Secure API proxy — the API key is never exposed to the frontend; all calls are made server-side via admin-ajax.php with nonce verification and per-IP rate limiting.
  • Caching via WordPress transients (configurable TTL).

Requirements

  • WordPress 5.8+
  • PHP 7.4+
  • A Tokens.xyz API key

Installation

  1. Copy the tokens-xyz folder into wp-content/plugins/.
  2. Activate Tokens XYZ in the WordPress admin under Plugins.
  3. Go to Settings → Tokens XYZ and enter your API key.

Shortcodes

Shortcode Description
[tokens_xyz_dashboard] Full dashboard: search, spotlights, category tabs, token table.
[tokens_xyz_search] Standalone search box with live results.
[tokens_xyz_asset id="solana"] Single-page token detail card.
[tokens_xyz_curated list_id="majors"] Curated list as cards or a table.
[tokens_xyz_chart id="solana"] Standalone price chart.
[tokens_xyz_risk_badge mint="..."] Inline risk-score badge.

Dashboard attributes

  • list_id — default category (defaults to the admin setting).
  • featured — asset ID spotlighted in the detail slot.
  • rows — max tokens shown in the table (defaults to the admin Dashboard Table Rows setting, 20).
  • search_visible1 (default) or 0.
  • title — optional heading above the search bar.

Settings

Found under Settings → Tokens XYZ:

  • API Configuration — API key, cache TTL.
  • Display Options — featured asset, default curated list, dashboard table rows, default chart timeframe.
  • Color Theme — background, card background, accent, primary text, subtext, positive/negative change, border, highlighted row, highlighted row text.

Security

  • The API key is stored server-side and never sent to the browser.
  • All frontend requests are proxied through admin-ajax.php with check_ajax_referer nonce verification.
  • Requests are rate-limited per IP (150/min) to protect the open proxy.
  • Endpoint and parameter allow-listing prevents arbitrary API calls.

Changelog

1.1.0

  • Consistent 24h change — the price chart, hero badge, and "24H Change" stat card now all derive from the same candle series, so the line's slope, its color, and the percentage always agree. The hero badge also follows the selected chart timeframe (24H/7D/30D/90D).
  • Smoother sparklines — line charts use Catmull-Rom/bezier curves with a soft area fill; the end marker stays perfectly round regardless of container width.
  • Search results render on their own opaque background instead of inheriting the translucent search-bar surface.
  • Token table — long token names truncate with an ellipsis, sort arrows have proper spacing, and numeric headers align with their values.
  • Round token/asset icons across all views.
  • Link, pill, and icon colors hardened against active-theme overrides.
  • Hardened the API client by URL-encoding asset IDs in request paths.

License

GPL-2.0+

Releases

12 releases.

Tag
Published
v1.1.1 latest
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago
May 29, 2026 3mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.