apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
368 stars 147 forks source link

feat (kakarot connectors): add kakarot svg to EVM wallet icons to hint user that the wallets are interacting with kakarot middlewares and not native Starknet #534

Open Eikix opened 1 day ago

Eikix commented 1 day ago

for Kakarot Connectors -> Take the Wallet Icon and add a Kakarot smaller icon like done by Dynamic on fibrous.finance for metamask-starknet;

Example: image

basically here do some SVG magic to superpose our logo to the ethprovider detail icon SVG: https://github.com/apibara/starknet-react/blob/main/packages/kakarot/src/kakarot.ts#L94-L97

Definition of done: When I open the wallet list, if Kakarot connectors are included, Then I see the list of EVM wallets with each of them the logo of Kakarot placed in the down right corner.