Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/get-started/how-integrate-your-program/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ To make it easier to integrate via the frontend, we created the [Magic Router](/
```typescript Frontend
import { sendMagicTransaction } from "magic-router-sdk";

const connection = new Connection("https://devnet-router.magicblock.app", "confirmed");
const routerConnection = new Connection("https://devnet-router.magicblock.app", "confirmed");

// Construct a standard Solana transaction
const transaction = await exampleClient.current?.methods
const tx = await exampleClient.current?.methods
.exampleMethod(0)
.accounts({
user: userPda,
Expand Down