repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | { |
| #2 | "skillId": "pumpfun-analytics", |
| #3 | "name": "pumpfun-analytics", |
| #4 | "description": "Monitor bonding curves, graduation progress, and trade analytics on Pump.fun", |
| #5 | "category": "pump-protocol", |
| #6 | "path": "pumpfun-analytics/SKILL.md", |
| #7 | "url": "https://x402.wtf/api/skills/pumpfun-analytics", |
| #8 | "tags": [ |
| #9 | "pumpfun", |
| #10 | "solana", |
| #11 | "analytics" |
| #12 | ], |
| #13 | "requiredEnv": [], |
| #14 | "homepage": null, |
| #15 | "attestation": { |
| #16 | "status": "pending", |
| #17 | "isFormallyVerified": false, |
| #18 | "attestationPda": null, |
| #19 | "verificationTimestamp": null |
| #20 | }, |
| #21 | "markdown": "---\ndescription: Monitor bonding curves, graduation progress, and trade analytics on Pump.fun\n---\n\n# PumpFun Analytics\n\nMonitor bonding curve state, calculate price impact, track graduation progress, and analyze token economics on the Pump.fun protocol.\n\n## Prerequisites\n\n- `HELIUS_RPC_URL` or `SOLANA_RPC_URL` configured\n- `@coral-xyz/anchor` and `@solana/web3.js` available\n\n## Capabilities\n\n### 1. Bonding Curve State\n\nFetch the current state of any token's bonding curve:\n\n```typescript\nimport { OnlinePumpSdk } from \"@nirholas/pump-sdk\";\n\nconst sdk = new OnlinePumpSdk(connection);\nconst summary = await sdk.fetchBondingCurveSummary(mint);\n\nconsole.log(\"Market Cap:\", summary.marketCap.toString());\nconsole.log(\"Graduated:\", summary.isGraduated);\nconsole.log(\"Token Supply Remaining:\", summary.tokensRemaining.toString());\n```\n\n### 2. Graduation Progress\n\nTrack how close a token is to graduating from the bonding curve to the AMM:\n\n```typescript\nimport { getGraduationProgress } from \"@nirholas/pump-sdk\";\n\nconst progress = getGraduationProgress(bondingCurve, global);\nconsole.log(`Progress: ${progress.progressBps / 100}%`);\nconsole.log(`SOL accumulated: ${progress.solAccumulated.toString()}`);\nconsole.log(`Tokens remaining: ${progress.tokensRemaining.toString()}`);\n```\n\n### 3. Price Impact Analysis\n\nCalculate the price impact of a trade before executing:\n\n```typescript\nimport { calculateBuyPriceImpact, calculateSellPriceImpact } from \"@nirholas/pump-sdk\";\n\nconst buyImpact = calculateBuyPriceImpact(bondingCurve, global, feeConfig, buyAmountLamports);\nconsole.log(`Price impact: ${buyImpact.priceImpactBps / 100}%`);\nconsole.log(`Effective price: ${buyImpact.effectivePrice.toString()}`);\n\nconst sellImpact = calculateSellPriceImpact(bondingCurve, global, feeConfig, sellTokenAmount);\nconsole.log(`Price impact: ${sellImpact.priceImpactBps / 100}%`);\n```\n\n### 4. Token Price\n\nGet the current buy and sell price per token:\n\n```typescript\nimport { getTokenPrice } from \"@nirholas/pump-sdk\";\n\nconst price = getTokenPrice(bondingCurve, global, feeConfig);\nconsole.log(`Buy price: ${price.buyPricePerToken.toString()} lamports`);\nconsole.log(`Sell price: ${price.sellPricePerToken.toString()} lamports`);\n```\n\n### 5. Fee Tier Calculation\n\nCalculate the current fee tier based on market cap:\n\n```typescript\nimport { computeFeesBps, calculateFeeTier } from \"@nirholas/pump-sdk\";\n\nconst fees = computeFeesBps(global, feeConfig);\nconsole.log(`Protocol fee: ${fees.protocolFeeBps} bps`);\nconsole.log(`Creator fee: ${fees.creatorFeeBps} bps`);\n```\n\n### 6. Buy/Sell Quote\n\nCalculate expected tokens for a given SOL amount:\n\n```typescript\nimport { getBuyTokenAmountFromSolAmount, getSellSolAmountFromTokenAmount } from \"@nirholas/pump-sdk\";\n\nconst tokens = getBuyTokenAmountFromSolAmount({\n global, feeConfig,\n mintSupply: bondingCurve.tokenTotalSupply,\n bondingCurve,\n amount: solAmountLamports,\n});\n\nconst sol = getSellSolAmountFromTokenAmount({\n global, feeConfig,\n mintSupply: bondingCurve.tokenTotalSupply,\n bondingCurve,\n amount: tokenAmount,\n});\n```\n\n## Agent Integration\n\nThe OODA trading loop uses these analytics automatically during the **Observe** phase to pull bonding curve data into ClawVault KNOWN memory.\n" |
| #22 | } |
| #23 |