Skip to content

Commit e7f9411

Browse files
authored
Merge branch 'develop' into feat/sol-agent-kit
2 parents 47eef3a + d4c5419 commit e7f9411

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

agent/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ export async function createAgent(
491491
}
492492

493493
let goatPlugin: any | undefined;
494-
if (getSecret(character, "ALCHEMY_API_KEY")) {
494+
if (getSecret(character, "EVM_PROVIDER_URL")) {
495495
goatPlugin = await createGoatPlugin((secret) =>
496496
getSecret(character, secret)
497497
);
@@ -565,7 +565,7 @@ export async function createAgent(
565565
getSecret(character, "COINBASE_NOTIFICATION_URI")
566566
? webhookPlugin
567567
: null,
568-
getSecret(character, "ALCHEMY_API_KEY") ? goatPlugin : null,
568+
getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
569569
getSecret(character, "FLOW_ADDRESS") &&
570570
getSecret(character, "FLOW_PRIVATE_KEY")
571571
? flowPlugin

packages/plugin-goat/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ const tools = getOnChainActions({
3333
})
3434
```
3535

36+
## Environment Variables Setup
37+
38+
To set up your environment variables, you will need to provide the following information:
39+
40+
* `EVM_PRIVATE_KEY`: Your EVM wallet private key.
41+
* `EVM_PROVIDER_URL`: Your RPC provider URL (e.g. Infura, Alchemy, etc.).
42+
3643
## Wallets
3744
GOAT supports many different wallets from key pairs to [Crossmint Smart Wallets](https://docs.crossmint.com/wallets/smart-wallets/overview) and Coinbase.
3845

0 commit comments

Comments
 (0)