yoo :wave: thanks for all the heavy lifting on this project! super useful for a frontend noob like me :sweat_smile:
I'm writing some tutorials & one part is focused on using your dapp template for contract frontends. Unfortunately, I couldn't get the transaction list to work in my local copy. So when I went to try to fix it, cecco_ ended up posting about their official react library: https://github.com/auclantis/starknet-react
Since this repo is probably gonna be the next scaffold-eth
, I figure it might be a good idea to use off-the-shelf libraries now that they exist. Feel free to close if you don't think that's the right move tho
As a disclaimer, I like to stay backend so this is the first I've touched React lol just threw the PR together quickly, so feel free to bring up anything you'd rather see done differently, if I've accidentally removed some key functionality, or if you'd rather stick to the Mint Tokens example
Changelog
- use auclantis/starknet-react & remove bespoke providers
- use a testnet contract (same one in cecco_'s demo) for smoother demo/on-boarding ux.
- add a "Get Argent-X" button when connection unavailable (since old functionality was a toast controlled from the now removed providers)
Screenshots
Get Argent-X button:
Unconnected:
Connected:
Signing a tx:
Sent a tx: