coinbase / coinbase/onchainkit

Bug: Error fetching token balance

Open
#1,228 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### Describe the bug and the steps to reproduce it

1. Integrate OnchainKit into React/NextJS codebase.
2. Define .env
3. Start app (yarn dev)
4. Login/Connect wallet
5. Render `swap` component
6. Error fetching token balance

### What's the expected behavior?

As per the onchainkit example, I would expect swap component to allow me to enter amounts and not error.

![image](https://github.com/user-attachments/assets/b2c6929f-6f51-486b-8ce1-f3e4b1075dce)

### What version of the libraries are you using?

- OnchainKit 0.31.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.