Skip to content

Commit

Permalink
Remove references to keys-dev, devs can use keys.coinbase.com
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerstock committed Dec 18, 2024
1 parent 69e7876 commit 4c479df
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/pages/guides/spend-permissions/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,11 @@ export async function getSpenderWalletClient() {

### Configure the Smart Wallet URL

In `app/providers.tsx`, update the value of `keysUrl` to be `"https://keys-dev.coinbase.com/connect"`.
This will point your app to connect to our public dev environment for smart wallet connections.

We also want to point our chain id to Base Sepolia testnet by setting replacing all instances of `base`
with `baseSepolia` in this file (including the import).
In `app/providers.tsx`, update the chain configuration to use Base Sepolia testnet by replacing all instances of `base` with `baseSepolia` in this file (including the import).

Your config in `app/providers.tsx` should now look like this:

```
```ts
const config = createConfig({
chains: [baseSepolia],
connectors: [
Expand All @@ -96,8 +92,6 @@ const config = createConfig({
preference: process.env.NEXT_PUBLIC_ONCHAINKIT_WALLET_CONFIG as
| "smartWalletOnly"
| "all",
// @ts-ignore
keysUrl: "https://keys-dev.coinbase.com/connect"
}),
],
storage: createStorage({
Expand Down

0 comments on commit 4c479df

Please sign in to comment.