Mycelia Signal sovereign price oracle plugin for ElizaOS — cryptographically signed price attestations via Lightning (L402) or USDC on Base (x402)
elizaos-plugin-mycelia-signal is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on agents, agents-sdk, ai, aiagents. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like nofx, lightning-wallet-mcp, dna-x402, boltzpay, stronghold, aifrens-sdk.
Mycelia Signal sovereign price oracle plugin for ElizaOS.
56 endpoints covering crypto pairs, FX rates, economic indicators, and commodities. Every response is cryptographically signed and independently verifiable. No API keys. No accounts. Pay per query via Lightning (L402) or USDC on Base (x402).
Mycelia Signal is a sovereign oracle — a price and data attestation service that signs every response with a cryptographic key. Agents and applications can verify that data came from Mycelia Signal and has not been tampered with, without trusting any intermediary.
/preview to any endpoint for free unsigned sample data.Docs: myceliasignal.com/docs
BTC/USD, BTC/EUR, BTC/JPY (spot + VWAP), ETH/USD, ETH/EUR, ETH/JPY, SOL/USD, SOL/EUR, SOL/JPY, XRP/USD, ADA/USD, DOGE/USD
XAU/USD, XAU/EUR, XAU/JPY
EUR/USD, EUR/JPY, EUR/GBP, EUR/CHF, EUR/CNY, EUR/CAD, GBP/USD, GBP/JPY, GBP/CHF, GBP/CNY, GBP/CAD, USD/JPY, USD/CHF, USD/CNY, USD/CAD, CHF/JPY, CHF/CAD, CNY/JPY, CNY/CAD, CAD/JPY
CPI, CPI Core, Unemployment Rate, Nonfarm Payrolls, Fed Funds Rate, GDP, PCE, Yield Curve
HICP, HICP Core, HICP Services, Unemployment Rate, GDP, Employment
WTI Crude, Brent Crude, Natural Gas, Copper, US Dollar Index (DXY)
| Category | x402 (USDC) | L402 (sats) |
|---|---|---|
| Price pairs & FX | $0.01 | 10 sats |
| VWAP pairs | $0.02 | 20 sats |
| Economic indicators | $0.10 | 1000 sats |
| Commodities | $0.10 | 1000 sats |
npm install @jonathanbulkeley/plugin-mycelia-signal
The plugin works out of the box with no configuration. Agents can query any supported pair using natural language. Without a payment handler configured, the plugin fetches free unsigned preview data (up to 5 minutes stale).
import { myceliaSignalPlugin } from '@jonathanbulkeley/plugin-mycelia-signal';
const agent = new AgentRuntime({
plugins: [myceliaSignalPlugin],
// ... other config
});
Configure a Lightning payment handler to receive signed attestations:
import { createMyceliaSignalPlugin } from '@jonathanbulkeley/plugin-mycelia-signal';
const plugin = createMyceliaSignalPlugin({
lightningPreimageFetcher: async (invoice: string) => {
// Pay the invoice with your Lightning node/wallet and return the preimage
const preimage = await yourLightningNode.payInvoice(invoice);
return preimage;
},
});
import { createMyceliaSignalPlugin } from '@jonathanbulkeley/plugin-mycelia-signal';
const plugin = createMyceliaSignalPlugin({
x402PaymentHandler: async (paymentDetails: unknown) => {
// Sign and submit the USDC transfer on Base, return the X-Payment header value
const header = await yourWallet.signX402Payment(paymentDetails);
return header;
},
});
Agents respond to natural language. Examples:
Every paid response includes a signed canonical attestation:
{
"domain": "BTCUSD",
"canonical": "v1|PRICE|BTCUSD|84231.50|USD|2|binance,bitstamp,coinbase,kraken,...|median|1741514400|482910",
"signature": "<base64-encoded-signature>",
"pubkey": "<public-key-hex>",
"signing_scheme": "secp256k1_ecdsa"
}
The canonical string is the signed payload. Verify it independently using the public key at myceliasignal.com/docs/keys.
v1|PRICE|PAIR|PRICE|CURRENCY|DECIMALS|SOURCES|METHOD|TIMESTAMP|NONCE
See Canonical Format docs for full specification.
import hashlib, base64
from coincurve import PublicKey
def verify_l402(response: dict) -> bool:
msg_hash = hashlib.sha256(response["canonical"].encode()).digest()
pubkey = PublicKey(bytes.fromhex(response["pubkey"]))
return pubkey.verify(base64.b64decode(response["signature"]), msg_hash, hasher=None)
import hashlib, base64
from nacl.signing import VerifyKey
from nacl.encoding import RawEncoder
def verify_x402(response: dict) -> bool:
msg_hash = hashlib.sha256(response["canonical"].encode()).digest()
vk = VerifyKey(bytes.fromhex(response["pubkey"]), encoder=RawEncoder)
try:
vk.verify(msg_hash, base64.b64decode(response["signature"]))
return True
except Exception:
return False
Full verification guide: myceliasignal.com/docs/verification
Each GC node uses its own per-instance keypair:
| Node | Protocol | Public Key |
|---|---|---|
| US GC | L402 (secp256k1) | 03c1955b8c543494c4ecd86d167105bcc7ca9a91b8e06cb9d6601f2f55a89abfbf |
| Asia GC | L402 (secp256k1) | 02b1377c30c7dcfcba428cf299c18782856a12eb4fab32b87081460f4ba2deab73 |
| US GC | x402 (Ed25519) | f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615 |
| Asia GC | x402 (Ed25519) | 7ab07fbe7d08cd16823e5eb0db0e21f3f38e9366d5fd00d14e95df0fb9b51a1a |
Full public keys page: myceliasignal.com/docs/keys
MIT
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
MCP Server for Lightning Faucet - Give your AI agent a Bitcoin wallet
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
Give your AI agents a fetch() that pays. Multi-protocol, multi-chain, open source.
A CLI-driven security proxy that scans every HTTP request for threats using the Citadel AI engine — paid per request via the x402 protocol.
Official Node.js SDK for interacting with the x402 AI Frens API. This SDK enables you to chat with AI agents, generate images, videos, and memes using blockchain-based payments.
The financial operating system for AI agents. A single HTTP client that intercepts '402 Payment Required', routes across x402, L402, and MPP, persists credentials as recoverable assets, enforces per-envelope budgets, and emits a structured trace.
540 security tests for AI agent systems — MCP, A2A, x402/L402, decision governance, benchmark integrity, skill supply chain. AIUC-1 pre-cert, NIST AI 800-2 aligned, MCP tool-poisoning reproduction. v4.9.1
A neutral landscape analysis of AI agent payment protocols (x402, MPP, L402, Google AP2, Visa TAP + ICC, Mastercard Agent Pay, Amex ACE, Google/Shopify UCP, OpenAI ACP, and others). Maintained by Genesis Software Group, Copenhagen. Updated April 2026. CC BY 4.0.
MCP server for 402 Index: discover 15,000+ paid API endpoints across L402, x402, and MPP
Sovereign oracle protocol — cryptographically signed data over Lightning sats (L402) and USDC on Base (x402). 11 feeds, 9 exchanges, DLC attestations, MCP server. No API keys, no accounts, no trust.
Any API becomes a Lightning toll booth in one line. L402 middleware for Express, Hono, Deno, Bun, and Workers.