diff --git a/site/.env.local.example b/site/.env.local.example index 08883429eff..f36eb2812ee 100644 --- a/site/.env.local.example +++ b/site/.env.local.example @@ -2,3 +2,4 @@ VITE_CDP_API_KEY="GET_FROM_COINBASE_DEVELOPER_PLATFORM" VITE_CDP_PAYMASTER_AND_BUNDLER_ENDPOINT="GET_FROM_COINBASE_DEVELOPER_PLATFORM_PAYMASTER_AND_BUNDLER" VITE_CDP_PROJECT_ID="GET_FROM_COINBASE_DEVELOPER_PLATFORM" VITE_WALLET_CONNECT_PROJECT_ID="GET_FROM_WALLET_CONNECT" +VITE_DEMO_WALLET_PK="GET_FROM_VERCEL_ENV_VARIABLES" \ No newline at end of file diff --git a/site/docs/components/AppDemo.tsx b/site/docs/components/AppDemo.tsx index 36904a1c16e..69f9e8d538a 100644 --- a/site/docs/components/AppDemo.tsx +++ b/site/docs/components/AppDemo.tsx @@ -26,7 +26,7 @@ export default function AppDemo({ children }: { children: ReactNode }) { chains: [base, baseSepolia], connectors: [ () => { - const demoWalletPK = import.meta.env.VITE_DEMO_WALLET_PRIVATE_KEY; + const demoWalletPK = import.meta.env.VITE_DEMO_WALLET_PK; const account = privateKeyToAccount(demoWalletPK as `0x${string}`); const client = createWalletClient({ account,