Kali-Decoder / Kali-Decoder/Vision-Zerox

Integrate WAGMI and Add Utility to Fetch User Balance on Monad

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Implement wallet connection using wagmi, specifically targeting Monad network only. Alongside, add a utility function that accepts a wallet address or ENS name and returns the user's current balance on Monad.

- Setup wagmi with Monad RPC provider.
- Configure the Monad chain using createConfig or configureChains.
- Create a utility function:
```
async function getMonadBalance(addressOrENS: string): Promise

```

- Resolve ENS names to wallet address (if applicable).
- Use Monad RPC to fetch native balance.
- Display balance in UI or toast.

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.