Skip to content

Commit 082163f

Browse files
authored
fixed bug in configureWithWallet config (#805)
1 parent 2e4794f commit 082163f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-onchain-agent": patch
3+
---
4+
5+
Fixed a bug in wallet config

typescript/create-onchain-agent/templates/next/app/api/agent/agentkit/evm/smart/prepare-agentkit.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ export async function prepareAgentkitAndWalletProvider(): Promise<{
102102
networkId: process.env.NETWORK_ID || "base-sepolia",
103103
// eslint-disable-next-line @typescript-eslint/no-explicit-any
104104
owner: owner as any,
105-
smartWalletAddress: walletData?.smartWalletAddress,
106-
paymasterUrl: undefined, // Sponsor transactions: https://docs.cdp.coinbase.com/paymaster/docs/welcome
105+
address: walletData?.smartWalletAddress,
107106
});
108107

109108
// Initialize AgentKit: https://docs.cdp.coinbase.com/agentkit/docs/agent-actions

0 commit comments

Comments
 (0)