@elizaos/plugin-goplus
A plugin that enables on-chain security checks through the GoPlus API integration.
Installation​
bun add @elizaos/plugin-goplus
Configuration​
Required Environment Variables​
GOPLUS_API_KEY=your_api_key # Required: GoPlus API key for authentication
Usage​
Add the plugin to your character configuration:
import { goplusPlugin } from '@elizaos/plugin-goplus';
const character = {
plugins: [goplusPlugin],
};
Features​
Security Checks​
- EVM Token Security
- Solana Token Security
- Sui Token Security
- Rugpull Detection
- NFT Security Analysis
- Address Security Verification
- Contract Approval Analysis
- Account Token Analysis (ERC20/721/1155)
- Signature Security
- URL/DApp Security
Supported Networks​
The plugin supports various networks including:
- Ethereum (1)
- BSC (56)
- Polygon (137)
- Arbitrum (42161)
- Avalanche (43114)
- Optimism (10)
- Base (8453)
- And many more (see specific check types for supported networks)
Security Check Types​
Token Security​
EVMTOKEN_SECURITY_CHECK
: ERC20 token contract security analysisSOLTOKEN_SECURITY_CHECK
: SPL token security verificationSUITOKEN_SECURITY_CHECK
: Sui token contract analysis
Contract & NFT Security​
RUGPULL_SECURITY_CHECK
: Rugpull risk detectionNFT_SECURITY_CHECK
: NFT contract security analysisAPPROVAL_SECURITY_CHECK
: Smart contract approval analysis
Account & Address Security​
ADDRESS_SECURITY_CHECK
: Malicious address detectionACCOUNT_ERC20_SECURITY_CHECK
: ERC20 token securityACCOUNT_ERC721_SECURITY_CHECK
: NFT asset securityACCOUNT_ERC1155_SECURITY_CHECK
: Multi-token asset security
Additional Checks​
SIGNATURE_SECURITY_CHECK
: Signature verificationURL_SECURITY_CHECK
: Phishing and malicious URL detection
Dependencies​
- @elizaos/core: workspace:*
- ws: ^8.18.0