Skip to content

Commit

Permalink
nodeurl
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Oct 31, 2024
1 parent 8b1ce36 commit 7c4e6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ import {
import { ControllerConnector } from "@cartridge/connector";

const cartridgeConnector = new ControllerConnector({
rpc: mainnet.rpcUrls.cartridge.http[0], // or process.env.NEXT_PUBLIC_CARTIDGE_RPC_URL etc
rpc: cartridgeProvider()(mainnet)?.channel.nodeUrl!
});

export function StarknetProvider({ children }: { children: React.ReactNode }) {
Expand Down

0 comments on commit 7c4e6a1

Please sign in to comment.