gasguard-ai
v0.1.4
Published
GasGuard AI — real-time gas optimization, MEV risk insight, and transaction intelligence for MetaMask
Readme
GasGuard AI (MetaMask Snap)
GasGuard AI provides real-time gas optimization, MEV risk insight, and transaction intelligence directly in MetaMask.
Install
Install via MetaMask using the Snap ID:
npm:gasguard-aiFeatures
- Gas recommendations (EIP-1559 aware)
- MEV risk insights before signing
- Price impact prediction via backend API
- Strict real-data-only policy
Permissions
- endowment:ethereum-provider
- endowment:network-access
- endowment:transaction-insight
- snap_dialog
- snap_manageState
Development
- Build:
npm run build:snap(from repo root) - Local test page: see
test-snap-integration.html
Configuration
- Prediction API base URL is provided by the dashboard backend (see
snap/src/config/apiConfig.ts). - Advanced predictions use backend inference (e.g., OpenAI) – no model weights are bundled in the snap.
License
MIT
