GraphemeNFT / rarible-scaffold

MIT License
0 stars 0 forks source link

connecting contracts to UI #38

Closed dcsan closed 3 years ago

dcsan commented 3 years ago

The major things are connecting up the UI bits with various contract functions. So I've put in a bunch of stubs, or fake data. Off hand:

mint page

letters page

words page (TBD)

dcsan commented 3 years ago

related #34

dcsan commented 3 years ago

catch the Mint/Roll events from the tx and update state

the event is caught, but there's no real update on the mint page, since stuff isn't visible there. I could move that mint button to the 'letters' page so you'd see stuff arrive.

i think we need smoother transition to guide users to 'pick' those characters to use to make a word with. a bit like your 'add to word'

image

dcsan commented 3 years ago

when a claim event comes in it will cause a re-render, so i'm gonna add claimed state info with DNA on a getInfo reader method, to show claim state.

dcsan commented 3 years ago

it looks like claim is implemented already but only on the YC page... (oh and its a mockup)

dcsan commented 3 years ago

mostly done but events are still to do #45