scio-labs / use-inkathon

Typesafe React hooks and utility functions that simplify the process of working with Substrate-based networks and ink! smart contracts.
https://inkathon.xyz
GNU General Public License v3.0
49 stars 15 forks source link

Add Connection Button Example #65

Open niklasp opened 4 months ago

niklasp commented 4 months ago

eg this one in a simplified version

https://github.com/scio-labs/inkathon/blob/main/frontend/src/components/web3/connect-button.tsx

It helps frontend devs that are just using useInkathon for their dapps

wottpal commented 4 months ago

Really like this idea, @niklasp. We could extend examples/react-ts for this, wdyt? Open for PRs here as well :)

niklasp commented 2 weeks ago
Bildschirmfoto 2024-06-14 um 10 10 05

just wanted to address this, the current state of the example app is this

The second dropdown does not really make sense to me, shall I update the example to mirror the inkathon frontend more? Shall I also use shadcn? Or keep it as minimal as possible? Whats your opinions?