Skip to content

How to migrate custom wallet to rainbowkit v2 beta? (new wallet not showing) #1737

Discussion options

You must be logged in to vote

ok ended up figuring this out by copying one of the reference wallet implementations (i.e. coinbaseWallet), and then re-porting over the custom connector logic and properties

it turns out, my main issue was that I wasn't adhering to the eip6963 spec for the icon image uri:

// uri-encoded svg image of tokenproof logo
// follows eip-6963: https://eips.ethereum.org/EIPS/eip-6963#imagesicons
const tokenproofIconUri = `data:image/svg+xml,%0A%3Csvg%20width%3D%22126%22%20height%3D%22126%22%20viewBox%3D%220%200%20126%20126%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%0A%3Crect%20width%3D%22125.882%22%20height%3D%22125.882%22%20rx%3D%2226.0444%22%20fill%3D%22%232665FF%22/…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@magiziz
Comment options

@thatguyintech
Comment options

@magiziz
Comment options

Answer selected by thatguyintech
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants