|
1 | 1 | { |
2 | 2 | "name": "@elizaos/plugin-solana", |
3 | | - "version": "1.0.0.52", |
| 3 | + "version": "1.0.3", |
4 | 4 | "type": "module", |
5 | 5 | "main": "dist/index.js", |
6 | 6 | "module": "dist/index.js", |
7 | 7 | "types": "dist/index.d.ts", |
8 | 8 | "repository": { |
9 | 9 | "type": "git", |
10 | | - "url": "https://github.com/elizaos-plugins/plugin-solana" |
| 10 | + "url": "git+https://github.com/elizaos-plugins/plugin-solana.git" |
11 | 11 | }, |
12 | 12 | "exports": { |
13 | 13 | "./package.json": "./package.json", |
|
22 | 22 | "dist" |
23 | 23 | ], |
24 | 24 | "dependencies": { |
25 | | - "@elizaos/core": "workspace:*", |
26 | | - "@elizaos/cli": "^1.0.0", |
| 25 | + "@elizaos/core": "^1.0.0", |
27 | 26 | "@solana/spl-token": "0.4.13", |
28 | 27 | "@solana/web3.js": "^1.98.0", |
29 | 28 | "bignumber.js": "9.3.0", |
|
44 | 43 | "format": "prettier --write ./src", |
45 | 44 | "format:check": "prettier --check ./src" |
46 | 45 | }, |
47 | | - "gitHead": "646c632924826e2b75c2304a75ee56959fe4a460" |
| 46 | + "peerDependencies": { |
| 47 | + "form-data": "4.0.2", |
| 48 | + "whatwg-url": "7.1.0" |
| 49 | + }, |
| 50 | + "gitHead": "646c632924826e2b75c2304a75ee56959fe4a460", |
| 51 | + "agentConfig": { |
| 52 | + "pluginType": "elizaos:plugin:1.0.0", |
| 53 | + "pluginParameters": { |
| 54 | + "SOL_ADDRESS": { |
| 55 | + "type": "string", |
| 56 | + "description": "The mint/contract address used to represent native SOL when interacting with token swap logic.", |
| 57 | + "required": true, |
| 58 | + "sensitive": false |
| 59 | + }, |
| 60 | + "SOLANA_RPC_URL": { |
| 61 | + "type": "string", |
| 62 | + "description": "The Solana RPC endpoint the application should connect to.", |
| 63 | + "required": false, |
| 64 | + "default": "https://api.mainnet-beta.solana.com", |
| 65 | + "sensitive": false |
| 66 | + }, |
| 67 | + "WALLET_SECRET_SALT": { |
| 68 | + "type": "string", |
| 69 | + "description": "Salt used to derive or encrypt the Solana wallet’s secret key; required if the direct secret key is not provided.", |
| 70 | + "required": false, |
| 71 | + "sensitive": false |
| 72 | + }, |
| 73 | + "WALLET_SECRET_KEY": { |
| 74 | + "type": "string", |
| 75 | + "description": "Base58-encoded Solana wallet secret (private) key; required if WALLET_SECRET_SALT is not supplied.", |
| 76 | + "required": false, |
| 77 | + "sensitive": true |
| 78 | + }, |
| 79 | + "WALLET_PUBLIC_KEY": { |
| 80 | + "type": "string", |
| 81 | + "description": "Base58-encoded Solana wallet public key corresponding to WALLET_SECRET_KEY.", |
| 82 | + "required": false, |
| 83 | + "sensitive": false |
| 84 | + }, |
| 85 | + "SOLANA_PUBLIC_KEY": { |
| 86 | + "type": "string", |
| 87 | + "description": "Alternative name accepted by runtime for the wallet’s public key.", |
| 88 | + "required": false, |
| 89 | + "sensitive": false |
| 90 | + }, |
| 91 | + "SLIPPAGE": { |
| 92 | + "type": "string", |
| 93 | + "description": "Maximum acceptable slippage (likely as a percentage or basis points) for Solana swaps/transactions.", |
| 94 | + "required": true, |
| 95 | + "sensitive": false |
| 96 | + }, |
| 97 | + "HELIUS_API_KEY": { |
| 98 | + "type": "string", |
| 99 | + "description": "API key for accessing the Helius Solana infrastructure services.", |
| 100 | + "required": true, |
| 101 | + "sensitive": true |
| 102 | + }, |
| 103 | + "BIRDEYE_API_KEY": { |
| 104 | + "type": "string", |
| 105 | + "description": "API key for accessing Birdeye market data services.", |
| 106 | + "required": true, |
| 107 | + "sensitive": true |
| 108 | + }, |
| 109 | + "SOLANA_PRIVATE_KEY": { |
| 110 | + "type": "string", |
| 111 | + "description": "The Solana wallet private key in base58 or base64 format, used to create a Keypair when private key access is required.", |
| 112 | + "required": false, |
| 113 | + "sensitive": true |
| 114 | + }, |
| 115 | + "WALLET_PRIVATE_KEY": { |
| 116 | + "type": "string", |
| 117 | + "description": "Alternative variable name for the Solana wallet private key in base58 or base64.", |
| 118 | + "required": false, |
| 119 | + "sensitive": true |
| 120 | + } |
| 121 | + } |
| 122 | + } |
48 | 123 | } |
0 commit comments