UNPKG

@elizaos/plugin-squid-router

Version:

ElizaOS plugin for cross-chain token swaps using Squid Router

97 lines (96 loc) 2.5 kB
{ "name": "@elizaos/plugin-squid-router", "version": "1.0.0", "description": "ElizaOS plugin for cross-chain token swaps using Squid Router", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "build": "tsup", "dev": "tsup --watch", "lint": "prettier --write ./src", "clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo", "format": "prettier --write ./src", "format:check": "prettier --check ./src", "test": "bun test", "test:watch": "bun test --watch", "test:coverage": "bun test --coverage" }, "dependencies": { "@elizaos/core": "latest", "@0xsquid/sdk": "2.8.29", "@0xsquid/squid-types": "0.1.122", "ethers": "6.8.1" }, "devDependencies": { "tsup": "8.3.5", "prettier": "^3.0.0", "bun": "^1.2.15", "@types/bun": "latest", "typescript": "^5.0.0" }, "peerDependencies": { "whatwg-url": "7.1.0" }, "publishConfig": { "access": "public" }, "agentConfig": { "pluginType": "elizaos:plugin:1.0.0", "pluginParameters": { "SQUID_SDK_URL": { "type": "string", "description": "URL for the Squid SDK API. Default: https://apiplus.squidrouter.com", "required": false, "sensitive": false }, "SQUID_INTEGRATOR_ID": { "type": "string", "description": "Integrator ID obtained through Squid Router documentation.", "required": true, "sensitive": true }, "SQUID_EVM_ADDRESS": { "type": "string", "description": "EVM blockchain address for the Squid Router.", "required": true, "sensitive": false }, "SQUID_EVM_PRIVATE_KEY": { "type": "string", "description": "Private key for the EVM blockchain address.", "required": true, "sensitive": true }, "SQUID_API_THROTTLE_INTERVAL": { "type": "number", "description": "Throttle interval in milliseconds for Squid API calls", "required": false, "sensitive": false } } }, "files": [ "dist", "src", "package.json", "README.md" ], "keywords": [ "elizaos", "plugin", "squid", "router", "cross-chain", "bridge", "swap", "defi" ], "author": "ElizaOS Contributors", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/elizaos/eliza.git" } }