Skip to content

Commit 4440cd8

Browse files
authored
Merge pull request #62 from alchemyplatform/blake/agent-prompt-update
feat: update agent-prompt for v1 execution commands
2 parents 265f852 + a1dec85 commit 4440cd8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/commands/agent-prompt.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff 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
};

0 commit comments

Comments
 (0)