base-token-safety-client
v1.0.1
Published
Node.js/browser API client for the Antigravity Token Safety Scanner. Dual-source scanning: bytecode analysis + GoPlus Security API. Detect rug pulls, honeypots, scams.
Maintainers
Readme
base-token-safety-client
Node.js/browser API client for the Antigravity Token Safety Scanner. Scan any Base chain token address for rug pulls, honeypots, and dangerous functions.
Install
npm install base-token-safety-clientUsage
const { scanToken, getLatestScans } = require("base-token-safety-client");
const result = await scanToken("0x4200000000000000000000000000000000000006");
console.log(result.symbol, result.safetyScore, result.riskLevel);
// WETH 10 "safe"
const latest = await getLatestScans(5);
console.log(latest.map((s) => `${s.symbol}: ${s.safetyScore}/10`));API
scanToken(address)
Scans a Base chain token address. Returns { address, symbol, name, safetyScore, riskLevel, risks, dangerousFunctions, note }.
getLatestScans(limit?)
Returns the latest scanned tokens from the live watcher (up to 50).
formatScore(score)
Converts 0-10 numeric score to "safe" | "warning" | "danger".
Web
Full interactive scanner: antigravity-connect-ia.vercel.app/token-safety
