File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,11 @@ function buildAgentPrompt(program: Command): AgentPrompt {
149149 "debug" ,
150150 "simulate" ,
151151 "solana" ,
152+ "send" ,
153+ "contract" ,
154+ "swap" ,
155+ "approve" ,
156+ "status" ,
152157 ] ,
153158 } ,
154159 {
@@ -179,6 +184,18 @@ function buildAgentPrompt(program: Command): AgentPrompt {
179184 "debug" ,
180185 ] ,
181186 } ,
187+ {
188+ method : "Wallet + API key" ,
189+ envVar : "ALCHEMY_WALLET_KEY" ,
190+ flag : "--wallet-key-file <path>" ,
191+ configKey : "wallet-key-file" ,
192+ commandFamilies : [
193+ "send" ,
194+ "contract call" ,
195+ "swap" ,
196+ "approve" ,
197+ ] ,
198+ } ,
182199 ] ,
183200 commands,
184201 errors,
@@ -189,6 +206,10 @@ function buildAgentPrompt(program: Command): AgentPrompt {
189206 "alchemy --json --no-interactive apps list --access-key $ALCHEMY_ACCESS_KEY" ,
190207 "alchemy --json --no-interactive rpc eth_blockNumber --api-key $ALCHEMY_API_KEY" ,
191208 "alchemy --json --no-interactive network list" ,
209+ "alchemy --json --no-interactive send 0xRecipient 0.001 -n eth-sepolia" ,
210+ "alchemy --json --no-interactive contract read 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \"balanceOf(address)(uint256)\" --args '[\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"]' -n eth-mainnet" ,
211+ "alchemy --json --no-interactive swap quote --from 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE --to 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 --amount 1.0 -n eth-mainnet" ,
212+ "alchemy --json --no-interactive status 0xCallId -n eth-mainnet" ,
192213 ] ,
193214 docs : "https://www.alchemy.com/docs" ,
194215 } ;
You can’t perform that action at this time.
0 commit comments