Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/commands/agent-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ function buildAgentPrompt(program: Command): AgentPrompt {
"debug",
"simulate",
"solana",
"send",
"contract",
"swap",
"approve",
"status",
],
},
{
Expand Down Expand Up @@ -179,6 +184,18 @@ function buildAgentPrompt(program: Command): AgentPrompt {
"debug",
],
},
{
method: "Wallet + API key",
envVar: "ALCHEMY_WALLET_KEY",
flag: "--wallet-key-file <path>",
configKey: "wallet-key-file",
commandFamilies: [
"send",
"contract call",
"swap",
"approve",
],
},
],
commands,
errors,
Expand All @@ -189,6 +206,10 @@ function buildAgentPrompt(program: Command): AgentPrompt {
"alchemy --json --no-interactive apps list --access-key $ALCHEMY_ACCESS_KEY",
"alchemy --json --no-interactive rpc eth_blockNumber --api-key $ALCHEMY_API_KEY",
"alchemy --json --no-interactive network list",
"alchemy --json --no-interactive send 0xRecipient 0.001 -n eth-sepolia",
"alchemy --json --no-interactive contract read 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \"balanceOf(address)(uint256)\" --args '[\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"]' -n eth-mainnet",
"alchemy --json --no-interactive swap quote --from 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE --to 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 --amount 1.0 -n eth-mainnet",
"alchemy --json --no-interactive status 0xCallId -n eth-mainnet",
],
docs: "https://www.alchemy.com/docs",
};
Expand Down
Loading