Skip to content

Commit abc9fab

Browse files
Update README.md (#83)
Include two new imports to get this parser to work in https://codesandbox.io
1 parent d94bf60 commit abc9fab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ npm install @0x/0x-parser
165165
```typescript
166166
import { parseSwap } from "@0x/0x-parser";
167167
import { createPublicClient } from "viem";
168+
import { http } from "viem";
169+
import { mainnet } from "viem/chains";
168170

169171
async function main() {
170172
const RPC_URL = `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`;

0 commit comments

Comments
 (0)