token-safety-react
v1.0.0
Published
React component for the Antigravity Token Safety Scanner. Embed a token scanner widget in any React/Next.js app with one component. Detects rug pulls, honeypots, and scams on Base chain.
Downloads
159
Maintainers
Readme
token-safety-react
React component for the Antigravity Token Safety Scanner. Embed a token scanner widget in any React/Next.js app with one component.
Install
npm install token-safety-reactUsage
import { TokenScanner } from "token-safety-react";
export default function Page() {
return (
<div>
<h1>Check any token for rug pulls</h1>
<TokenScanner />
</div>
);
}With props
<TokenScanner theme="light" />Props
| Prop | Type | Default | Description |
|-----------|---------------------|---------|----------------------------|
| theme | "dark" \| "light" | dark | Color theme |
| address | string | — | Pre-fill address (TBD) |
How it works
The component loads the embed script from the Antigravity scanner API and renders a <token-scanner-widget> custom element. Users can paste any Base chain token address and get an instant safety score.
Web
Full interactive scanner: antigravity-connect-ia.vercel.app/token-safety
