coinbase / coinbase/onchainkit

Feature Request: Customization of Fund Wallet Link

Open
#1,125 3 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 solution you'd like

I would like the ability to customize the fund wallet link so that I can put it anywhere in my app.

For example, an app that relies heavily on USDC may want to show the USDC balance of the connected user at all times

![Screenshot 2024-08-21 at 10 04 31 AM](https://github.com/user-attachments/assets/35559ba7-f999-450a-b9ff-564687c7cabd)

Ideally, I would like to be able to give the component children like this:
```

```
or accept a render prop that returns a jsx element
` }`

This would me to follow a familiar UX pattern for depositing funds like in draft kings for example where your balance is always visible and depositing more funds is just a tap away (I cannot wait to make it this easy to get onchain apps funded)

![RPReplay_Final1724249664-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/b97b9e2d-ddc6-4f9f-b349-eff1f51b3c56)

This request is related to #742

### Describe alternatives you've considered.

I've considered placing the balance chip inside of the connect wallet component so that when it is clicked, the wallet dropdown with the funding option is visible. It's a good compromise for now but ideally, I would like the act of depositing to require less mental-load on the user by separating their balancing into a different chip and having one tap to open the deposit flow.

![Screenshot 2024-08-21 at 10 20 36 AM](https://github.com/user-attachments/assets/72c7822a-dfbd-4b21-97bf-b0f40bb08971)

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.