-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Labels
need-more-infoThe issue doesn't contain sufficient information to be able to debug the problem.The issue doesn't contain sufficient information to be able to debug the problem.
Description
Describe the bug and the steps to reproduce it
Using the latest versions of @coinbase/onchainkit
fails to properly connect a wallet while using a mini app on Farcaster.
export function MiniKitContextProvider({ children }: { children: ReactNode }) {
return (
<MiniKitProvider
apiKey={process.env.NEXT_PUBLIC_CDP_CLIENT_API_KEY}
chain={base}
config={{
wallet: {
preference: "all",
},
}}
>
{children}
</MiniKitProvider>
);
}
Connect button:
<Wallet>
<ConnectWallet className="rounded-full uppercase px-8 py-4">
<Avatar className="h-6 w-6" />
<Name />
</ConnectWallet>
<WalletDropdown>
<Identity className="px-4 pt-3 pb-2" hasCopyAddressOnClick>
<Avatar />
<Name />
<Address />
<EthBalance />
</Identity>
<WalletDropdownDisconnect />
</WalletDropdown>
</Wallet>
What's the expected behavior?
No response
What version of the libraries are you using?
No response
Metadata
Metadata
Assignees
Labels
need-more-infoThe issue doesn't contain sufficient information to be able to debug the problem.The issue doesn't contain sufficient information to be able to debug the problem.