w3b_w@y
*\
w3b_w@y
ʎɐʍqǝʍ_
/ \
Rails for the (truly) decentralized and (completely) modular metaverse
Built with scaffold eth
This repo contains the smart contracts and graph repo
Instructions for running the application locally.
- yarn chain
Starts local blockchain instance (may have to be online for this to work, for some reason).
- yarn clean-graph-node
Cleans graph node of previous deployment data (it runs rm -rf data).
- yarn run-graph-node
Starts a local docker node set up to host your local subgraph. If there is a problem here, try restarting docker.
- yarn graph-create-local
Creates a local subgraph instance for deployment. This only needs to be run once - can be skipped upon subsequent local deployments.
- yarn deploy-and-graph
Runs the deployment script in the /deploy folder, then deploys the subgraph onto the local graph node. Ends with terminal output of the graph explorer, with which you can run queries from your browser.
- yarn start
Deploys the react application onto localhost:3000.
- Remember to set your metamask to Localhost 8545!