Integration of Cheeze Wizards and the Graph
Neutrals were on fire in the end of the sale. Did people FOMO in?
I've FOMO'd in when I've heard about Cheeze Wizards. I bought/crafted the rarest wizard available and now I am trying to figure out if that was a mistake (obviously) or not. :)
What it does
The whole project goes around 2 things:
- Cheeze Wizards.
- Me being a data scientist.
I decided that it is cool to have the framework for analyzing Cheeze Wizards (both the behavior and properties).
- Deployed the Graph for Cheeze Wizard Presale contract.
- Prepared migrations to deployed the Graph for Big Cheeze Tournament, once that one is on mainnet.
- Showed how one can utilize the Graph in blockchain analysis.
- Adapted the UI for Cheeze Wizards – now one can have CW dapp supported by the Graph.
How I built it
In the same manner described in the previous paragraph.
I used truffle and ganache to setup the dev environment integrated the Graph and deployed the result to the registry. After that I've added the migrations for Big Cheeze Tournament and other contracts; played a bit with the data – found a point when someone FOMO'd in. In the end, I've adapted a React app to use the Graph to show available wizards in the web page.
Challenges I ran into
- I have no clue about React.
- I haven't written even a simplest smart contract, however, I know how to read them.
- I decided to work alone to ensure that I learn how to interact with all these new things.
Accomplishments that I'm proud of
I made it work in 2 days and I've managed to finish the whole project myself.
What I learned
- How to tweak React apps to make them work.
- How to integrate the Graph in my apps.
- How easy it is to find help at the hackathon.
What's next for eth-berlin
Update the project with dynamic data coming from Big Cheeze Tournament. Once it is out.