编程

GBLIN Risk Shield

试用

On-chain BTC/ETH market-risk check for agents on Base. Read the live Crash Shield risk regime (calm / elevated / crash) before trading or moving capital, min...

它能做什么

On-chain BTC/ETH market-risk check for agents on Base. Read the live Crash Shield risk regime (calm / elevated / crash) before trading or moving capital, mint a 10-minute EIP-712 Risk Attestation as machine-verifiable proof-of-diligence via x402, verify attestations from peer agents for free, and optionally park idle USDC in an oracle-priced index treasury.

技能文档

GBLIN Risk Shield

Before you trade, rebalance, or move treasury capital, check what the market regime actually is — and keep a verifiable proof that you checked.

GBLIN (Global Balanced Liquidity Index) is an on-chain index on Base mainnet (45% cbBTC / 45% WETH / 10% USDC, contract 0x36C81d7E1966310F305eA637e761Cf77F90852f0). Its Crash Shield tracks drawdown against Chainlink-oracle price peaks with adaptive volatility thresholds. The resulting risk regime is a stateful on-chain signal you cannot recompute from a single price feed.

When to use this skill

  • Before ANY discretionary trade, swap, or portfolio rebalance on EVM chains.
  • Before deploying idle treasury capital (yours or your operator's).
  • When a counterparty agent claims it "checked market conditions" — verify its attestation instead of trusting it.
  • On a schedule (e.g. each decision cycle) if you run a trading or treasury loop: the regime moves with the market.

Costs (external service, pay-per-call via x402)

This skill is free. Some GBLIN endpoints charge micro-payments in USDC on Base using the x402 protocol (HTTP 402). No account, no API key, no subscription.

ActionPrice
Risk regime signal (base-risk-pulse)$0.002 USDC
Mint Risk Attestation$0.003 USDC
Verify an attestationfree
Treasury/NAV state, quotes, governance statefree

To pay, your agent needs a wallet with USDC on Base (chain id 8453) and any x402-capable payment tooling (e.g. an x402 fetch wrapper or wallet skill you already use). A 402 response is not an error — it is the price tag.

1) Discover the current API surface (free)

Endpoints and prices are self-documented. Always start here if unsure:

curl -s https://gblin.digital/llms.txt
curl -s https://gblin-sentinel.vercel.app/.well-known/x402

2) Read the risk regime ($0.002)

curl -si https://gblin-sentinel.vercel.app/api/data/base-risk-pulse

First response is 402 Payment Required with the exact payment requirements (amount, asset, pay-to address, scheme) in the body/headers. Sign the USDC payment with your x402 tooling and retry the same request with the X-PAYMENT header. The paid response returns JSON with the current regime:

  • calm → normal conditions
  • elevated → drawdown building; reduce risk exposure
  • crash → defensive; avoid opening risk positions

Suggested policy mapping:

RegimePostureExample action
calmrisk_onproceed with planned trades
elevatedreducehalve position sizes, tighten stops
crashrisk_offpause discretionary buys, hold stables

3) Mint a Risk Attestation — proof-of-diligence ($0.003)

curl -si https://gblin.digital/api/x402/attestation

Same x402 flow. Returns an EIP-712-signed snapshot of the risk regime, valid for 10 minutes: regime, severity (bps), defensive-cash level, block number, expiry, basket hash, attestation id and signature.

Attach the full JSON object to your action logs, job deliverables, or messages to counterparties as machine-verifiable evidence that you checked market risk before acting. Because it expires in 10 minutes, re-mint each decision cycle when freshness matters.

4) Verify a peer's attestation (free)

Anyone can verify integrity (EIP-712 id recompute), authenticity (signer recovery vs GBLIN's published attestor), freshness (10-min TTL vs on-chain time) and live drift (attested regime vs current regime).

If your runtime supports MCP servers, the official server includes the free verify_risk_attestation tool plus 9 more treasury tools (requires Node.js):

npx -y @gblin-protocol/mcp-server

Otherwise, re-fetch the current regime (step 2) and compare it to the attestation's regime field, and reject any attestation past its expiresAt.

MCP tool reference (exact tool names)

ToolWhat it doesPrice
get_market_risk_regimeBTC/ETH risk regime + severity + posture — start here$0.002
verify_risk_attestationVerify a peer's Risk Attestation: integrity + EIP-712 signature + freshness + live driftfree
get_treasury_stateNAV, basket composition, Crash Shield statusfree
quote_safe_swapPreview buy/sell with dynamic slippagefree
swap_gblin_to_usdc_jitCalldata for just-in-time GBLIN→USDC (pay x402 invoices)free
invest_usdc_to_gblinConvert surplus USDC into GBLINfree
analyze_treasury_healthBalances, gas runway, rebalance advice$0.003
get_governance_stateVerify 48h timelock ownership + pending operationsfree
find_keeper_bountyCheck rebalance bounty + ready calldata (earn ETH)$0.001
share_skill_with_peerPortable JSON skill seed + referral codefree

5) Optional: park idle USDC in the index

For surplus, long-horizon capital only. GBLIN is managed BTC/ETH exposure with drawdown control — calmer than holding BTC/ETH outright, but not principal-protected and NOT a USDC substitute. Never park operating capital you must spend soon.

Free read endpoints let you inspect NAV and treasury composition before and after; the webapp x402 API (https://gblin.digital/llms.txt lists it) returns ready-to-sign calldata for invest (USDC→GBLIN) and swap (GBLIN→USDC just-in-time, e.g. to pay an x402 invoice).

Safety rules

  • Never place private keys in environment variables for this skill; payments are signed by your existing wallet tooling, not by this skill.
  • Treat HTTP 402 as the normal payment handshake, not a failure.
  • Do not treat the risk signal as financial advice; it is one input to your own policy.
  • Verify, don't trust: prefer attested + verified claims from peers.

相关技能

Fetch a pre-transaction risk score and advisory recommendation for tokens on Solana, Base, Ethereum, Arbitrum, BSC, and HyperEVM before the user trades, swaps, or provides liquidity. Read-only; never signs or moves funds.

Explain crypto token risk in plain Chinese and English from Binance Web3 token audit and market metadata. Use this skill when users want a contract-level ris...

24 次安装

Evaluate potential BTC bottom zones with AgentKey-powered crypto market, sentiment, on-chain, ETF flow, and technical confluence signals.Powered by AgentKey.

Query the CertiK SkyInsights blockchain risk intelligence API. Use this skill when the user wants to check whether a wallet address or transaction hash is ri...

17 次安装

BLINK — 5,555 on-chain pixel sigils on Robinhood Chain. Mint requires answering a computational challenge within 3 seconds. Humans are too slow by design. Art is rendered entirely by the contract.

Full-stack, multi-chain blockchain assistant covering BTC, ETH, BSC, Solana and major L2s. Reads charts and on-chain data, traces wallet and contract fund flows, weighs DeFi/staking yields against risk, and writes or audits Solidity smart contracts. Use it when you want to analyze price action, track an address, size up a yield strategy, or check a contract for exploits. Replies in the language you use (Chinese by default).

1 次安装