@theschein/plugin-polymarket
Version:
ElizaOS plugin for Polymarket prediction markets
133 lines • 3.32 kB
JSON
{
"name": "@theschein/plugin-polymarket",
"description": "ElizaOS plugin for Polymarket prediction markets",
"version": "0.1.0",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"polymarket",
"prediction-markets",
"elizaos",
"elizaos-plugin",
"agent",
"trading",
"defi",
"web3",
"plugin"
],
"agentConfig": {
"pluginType": "elizaos:plugin:1.0.0",
"supportedActions": [
"PLACE_ORDER",
"SELL_ORDER",
"REDEEM_WINNINGS",
"SEARCH_MARKETS",
"EXPLAIN_MARKET",
"GET_MARKET_PRICE",
"GET_PORTFOLIO_POSITIONS",
"GET_WALLET_BALANCE",
"DEPOSIT_USDC",
"GET_DEPOSIT_ADDRESS",
"APPROVE_USDC",
"SETUP_TRADING",
"GET_ORDER_BOOK_SUMMARY",
"SYNC_MARKETS",
"GET_ACCOUNT_ACCESS_STATUS"
],
"compatibleModels": [
"gpt-4",
"gpt-4-turbo",
"gpt-3.5-turbo",
"claude-3-opus",
"claude-3-sonnet",
"claude-3-haiku",
"local-llama",
"local-mistral"
],
"providers": [
"marketDataProvider"
],
"pluginParameters": {
"WALLET_PRIVATE_KEY": {
"type": "string",
"description": "Private key for the wallet to use for trading",
"required": false
},
"CLOB_API_URL": {
"type": "string",
"description": "Polymarket CLOB API URL (defaults to https://clob.polymarket.com)",
"required": false,
"default": "https://clob.polymarket.com"
},
"CLOB_API_KEY": {
"type": "string",
"description": "Optional API key for L2 operations",
"required": false
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/Okay-Bet/plugin-polymarket"
},
"homepage": "https://github.com/Okay-Bet/plugin-polymarket#readme",
"bugs": {
"url": "https://github.com/Okay-Bet/plugin-polymarket/issues"
},
"author": {
"name": "Benjamin Scheinberg",
"email": "ben@spmc.dev"
},
"license": "MIT",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "^1.4.2",
"@polymarket/clob-client": "^4.16.0",
"@polymarket/sdk": "^1.0.0",
"drizzle-orm": "^0.29.0",
"ethers": "^6.13.1",
"node-fetch": "^3.0.0",
"ws": "^8.17.0",
"zod": "3.25.32"
},
"devDependencies": {
"@elizaos/cli": "^1.4.2",
"@vitest/coverage-v8": "2.1.5",
"prettier": "3.5.3",
"tsup": "8.4.0",
"vitest": "2.1.5"
},
"scripts": {
"start": "elizaos start",
"dev": "elizaos dev",
"build": "tsup",
"lint": "prettier --write ./src",
"test:component": "vitest run",
"test:e2e": "elizaos test",
"test": "npm run test:component && npm run test:e2e",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"format": "prettier --write ./src",
"format:check": "prettier --check ./src"
},
"publishConfig": {
"access": "public"
},
"gitHead": "b165ad83e5f7a21bc1edbd83374ca087e3cd6b33",
"packageType": "plugin",
"platform": "node",
"npmPackage": "@theschein/plugin-polymarket"
}