Skip to content

Commit

Permalink
Fix quick start code
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Mar 31, 2023
1 parent ceeb03c commit 815f698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ We will do the following operations:


```typescript
import { OrderBookApi } from '@cowprotocol/cow-sdk'
import { OrderBookApi, OrderSigningUtils, SupportedChainId } from '@cowprotocol/cow-sdk'
import { Web3Provider } from '@ethersproject/providers'

const account = 'YOUR_WALLET_ADDRESS'
Expand All @@ -75,7 +75,7 @@ const quoteRequest = {
kind: OrderQuoteSide.kind.SELL,
}

const orderBookApi = new OrderBookApi()
const orderBookApi = new OrderBookApi({ chainId: SupportedChainId.GOERLI })

async function main() {
const { quote } = await orderBookApi.getQuote(quoteRequest)
Expand Down

0 comments on commit 815f698

Please sign in to comment.