forked from elizaos-plugins/plugin-evm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 5.12 KB
/
package.json
File metadata and controls
131 lines (131 loc) · 5.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@elizaos/plugin-evm-root",
"private": true,
"version": "2.0.0-alpha.1",
"type": "module",
"main": "typescript/dist/index.js",
"module": "typescript/dist/index.js",
"types": "typescript/dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/elizaos-plugins/plugin-evm"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./typescript/dist/index.d.ts",
"import": "./typescript/dist/index.js",
"default": "./typescript/dist/index.js"
}
},
"sideEffects": false,
"files": [
"typescript/dist",
"types"
],
"dependencies": {
"@elizaos/core": "next",
"@lifi/data-types": "5.15.5",
"@lifi/sdk": "^3.7.9",
"@lifi/types": "^17.18.0",
"viem": "^2.21.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/node": "^25.0.3",
"bun-types": "^1.2.0",
"typescript": "^5.9.3"
},
"scripts": {
"build:prompts": "node ../../packages/prompts/scripts/generate-plugin-prompts.js ./prompts ./typescript/generated/prompts --target all",
"build": "npm run build:prompts && bun run build:ts && bun run build:rust && bun run build:python",
"build:ts": "cd typescript && bun run build.ts",
"build:python": "test -n \"$SKIP_PYTHON_BUILD\" && echo 'Python build skipped (SKIP_PYTHON_BUILD set)' || (test -d python && cd python && (timeout 120 python3 -m build 2>/dev/null || timeout 120 pyproject-build 2>/dev/null) || echo 'Python build skipped or timed out')",
"dev": "bun run build.ts --watch",
"typecheck": "tsc --noEmit -p typescript/tsconfig.json",
"clean": "rm -rf typescript/dist .turbo typescript/node_modules .turbo-tsconfig.json typescript/*.tsbuildinfo",
"format": "bunx @biomejs/biome format --write ./typescript",
"format:check": "bunx @biomejs/biome format ./typescript",
"test": "bun run test:ts && bun run test:rust && bun run test:python",
"test:ts": "vitest run typescript/__tests__/unit/",
"test:unit": "vitest run typescript/__tests__/unit/",
"test:integration": "vitest run typescript/__tests__/integration/",
"build:rust": "test -d rust && cd rust && cargo build --release || echo 'Rust build skipped - no rust directory'",
"build:rust:wasm": "cd rust && wasm-pack build --target web --out-dir pkg/web",
"test:rust": "test -d rust && cd rust && cargo test || echo 'Rust tests skipped'",
"lint:rust": "cd rust && cargo clippy --all-targets --fix --allow-dirty --allow-staged -- -D warnings && cargo fmt",
"test:python": "test -d python && cd python && pytest -p no:anchorpy --asyncio-mode=auto || echo 'Python tests skipped'",
"lint:python": "cd python && ruff check --fix . && ruff format .",
"typecheck:python": "cd python && python3 -m mypy elizaos_plugin_evm",
"lint": "bunx @biomejs/biome check --write ./typescript",
"lint:check": "bunx @biomejs/biome check ./typescript",
"typecheck:rust": "test -d rust && cd rust && cargo check || echo 'Rust typecheck skipped'"
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"agentConfig": {
"pluginType": "elizaos:plugin:1.0.0",
"pluginParameters": {
"EVM_PRIVATE_KEY": {
"type": "string",
"description": "Hex-encoded private key (starting with 0x) used by the WalletProvider to sign transactions.",
"required": true,
"sensitive": true
},
"ETHEREUM_PROVIDER_ETHEREUM": {
"type": "string",
"description": "Custom RPC URL for Ethereum mainnet. For other chains, set ETHEREUM_PROVIDER_<CHAINNAME> (or EVM_PROVIDER_<CHAINNAME>) in your .env.",
"required": false,
"sensitive": false
},
"ETHEREUM_PROVIDER_BASE": {
"type": "string",
"description": "Custom RPC URL for Base mainnet.",
"required": false,
"sensitive": false
},
"ETHEREUM_PROVIDER_ARBITRUM": {
"type": "string",
"description": "Custom RPC URL for Arbitrum One.",
"required": false,
"sensitive": false
},
"ETHEREUM_PROVIDER_OPTIMISM": {
"type": "string",
"description": "Custom RPC URL for Optimism mainnet.",
"required": false,
"sensitive": false
},
"TEE_MODE": {
"type": "string",
"description": "Controls whether Trusted Execution Environment (TEE) mode is enabled.",
"required": false,
"default": "OFF",
"sensitive": false
},
"WALLET_SECRET_SALT": {
"type": "string",
"description": "Salt value for TEE-derived wallet keypair.",
"required": false,
"sensitive": true
},
"SEPOLIA_RPC_URL": {
"type": "string",
"description": "RPC endpoint URL for Sepolia testnet.",
"required": false,
"default": "https://ethereum-sepolia-rpc.publicnode.com",
"sensitive": false
},
"BASE_SEPOLIA_RPC_URL": {
"type": "string",
"description": "RPC endpoint URL for Base Sepolia testnet.",
"required": false,
"default": "https://sepolia.base.org",
"sensitive": false
}
}
},
"gitHead": "05d4ca11d769db8c7f54a722ee24b2ce2b951543"
}