-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 6.01 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 6.01 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
132
133
134
{
"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": "workspace:*",
"@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": "^6.0.0",
"vitest": "^4.1.4"
},
"scripts": {
"build:prompts": "sh -c 'if test -f ../../eliza/packages/prompts/scripts/generate-plugin-prompts.js; then node ../../eliza/packages/prompts/scripts/generate-plugin-prompts.js ./prompts ./typescript/generated/prompts --target all; elif test -f ../../packages/prompts/scripts/generate-plugin-prompts.js; then node ../../packages/prompts/scripts/generate-plugin-prompts.js ./prompts ./typescript/generated/prompts --target all; else echo \"Prompt generation skipped\"; fi'",
"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": "cd typescript && bunx @biomejs/biome format --write --config-path ./biome.json .",
"format:check": "cd typescript && bunx @biomejs/biome format --config-path ./biome.json .",
"test": "bun run test:ts && bun run test:rust && bun run test:python",
"test:ts": "cd typescript && bun run test",
"test:unit": "cd typescript && bun run test:unit",
"test:integration": "cd typescript && bun run test: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": "if [ -d rust ]; then cd rust && cargo test; else echo 'Rust tests skipped - no rust directory'; fi",
"lint:rust": "cd rust && cargo clippy --all-targets --fix --allow-dirty --allow-staged -- -D warnings && cargo fmt",
"test:python": "if [ -d python ]; then cd python && tmpdir=$(mktemp -d) && python3 -m venv \"$tmpdir\" && \"$tmpdir/bin/python\" -m pip install -e ../../../packages/python -e '.[dev]' -q && \"$tmpdir/bin/python\" -m pytest -p no:anchorpy --asyncio-mode=auto; status=$?; rm -rf \"$tmpdir\"; exit $status; else echo 'Python tests skipped - no python directory'; fi",
"lint:python": "cd python && ruff check --fix . && ruff format .",
"typecheck:python": "cd python && python3 -m mypy elizaos_plugin_evm --ignore-missing-imports",
"lint": "cd typescript && bunx @biomejs/biome check --write --config-path ./biome.json .",
"lint:check": "cd typescript && bunx @biomejs/biome check --config-path ./biome.json .",
"typecheck:rust": "test -d rust && cd rust && cargo check || echo 'Rust typecheck skipped'",
"test:e2e": "node ../../packages/app-core/scripts/run-local-plugin-live-smoke.mjs",
"test:live": "bun run test:e2e"
},
"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"
}