Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Sep 10, 2024
1 parent 322560a commit bd2c631
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs.renegade.fi/docs/typescript-sdk/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ npm install @renegade-fi/node@latest @wagmi/core viem@2.x
- Renegade Price Reporter: [`mainnet.price-reporter.renegade.fi`](http://mainnet.price-reporter.renegade.fi/)
- Renegade Relayer: [`mainnet.cluster0.renegade.fi`](http://mainnet.cluster0.renegade.fi/)
- Testnet (Arbitrum Sepolia)
- Same as above
- Darkpool contract address: `0x9af58f1ff20ab22e819e40b57ffd784d115a9ef5`
- Permit2 contract address: `0x9458198bcc289c42e460cb8ca143e5854f734442`
- Chain ID: `421614`
Expand Down Expand Up @@ -68,7 +67,14 @@ Now, you can pass the `config` to use actions.

```jsx
import { backOfQueueWallet } from "@renegade-fi/node"
import config from "./config"
import { createConfig } from "@renegade-fi/node"

const config = createConfig({
darkPoolAddress: "0x30bd8eab29181f790d7e495786d4b96d7afdc518",
priceReporterUrl: "mainnet.price-reporter.renegade.fi",
relayerUrl: "mainnet.cluster0.renegade.fi",
viemClient: publicClient,
})

const wallet = await getBackOfQueueWallet(config)
```
Expand Down

0 comments on commit bd2c631

Please sign in to comment.