Skip to content

githubotoro/flowy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

Flowy -- Stream NFTs across chains in real-time @ 1 click

See Live Website | View Hack Submission
If you like this project, don't forget to give it a star!
Thanks! 😊

home

What it does?

  • With Flowy, you can stream NFTs across chains in real-time.
  • For instance -- send + change a number automagically from one chain to another @ each second literally.

How it works?

Using some smart contract magic (wink, wink)

  • Flowy’s smart contract has dynamic token URI (stored as on-chain function)
  • Deployed across EVM chains (currently Goerli + Polygon Mumbai)
  • Basically, NFT is changed on a per second basis -- aka streaming

How it's made?

Using Connext + Push Protocol + Smart Contracts

  • Data is streamed by passing a stream reference (linked with block timestamp)
  • Stream Reference changes token URI as per set time interval (currently 1 second)
  • Flowy’s smart contact co-ordinates with chains to ensure a seamless flow

Future Work

  • Link data to colors (RGB + more)
  • Add nested update feedback
  • Simultaneous Chain Support

Disclaimer -- List of all deployments I made to make this work :)

Test 1 -> Hello World!

Test 2 -> TOKENS MISSING -- Tokens were sent from Mumbai Testnet, but they didn't reach Goerli -- if you find them, please send them @ 0x20136F73c536Db9D061b078146D7694cd4Bd0aEA address.

Test 3 -> CONNEXT WORKED -- now, I need to focus on how to actually stream NFT, fr.

Test 4 -> SOMETHING WORKED -- basically data was being sent + received.

Test 5 -> 404 -- don't know what happened here.

Test 6 -> SOMETHING COOL JUST HAPPENED -- ain't gonna reveal here the suspense here, check out the code :)

Test 7 -> TOKENS MISSING PART 2 -- back to the same problem of Test#2, damn.

Test 8 -> MYSTERY SOLVED -- it was the authorization problem in contract.

Test 9 -> TOKENS MISSING PART 3 -- it was not the authorization problem.

Test 10 -> TOKENS MISSING PART 4 -- at this point, I was about to give up, but I didn't -- not gonna let that damn TEST token decide the fate of this project.

Test 11 -> DAMN! -- it was the problem of Connext's bridges; if you send token from Polygon to Optimism, then they go missing (something fishy going on with Connext's bridge on Polygon) -- but if you send from Optimism to Polygon, it works.

Test 12 -> PIVOT -- moved to Goerli (coz' Optimism betrayed me) + added Push Protocol

Test 13 -> TESTING -- notifications are working, we are good for launch -- cap'n

Test 14 -> NOTIFICATION MISSING -- when stream was sent -> notification was received BUT when stream was received -> notification was not received, huh.

Test 15 -> EUREKA! -- everything works, FINALLY!

Built @ Scaling Ethereum Hackathon by me :)