Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mmpotulo28 committed Apr 25, 2024
1 parent d181776 commit 6fddd9d
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,30 @@ Welcome to the BraniacWiz Quiz Game, a decentralized application built on the Et
- Switch between accounts using Metamask for different interactions.
- Verify that your using Celo Alfajores Testnet or the game won't run

### - **The Subgraph Utilization**:

-The subgraph is created on subgraph studio at https://thegraph.com/studio/ using the Celo - alfajores.
- A subgraph is named BraniacWiz.
- To create the graph the steps to be taken are:
- On your local machine, run one of the following commands:
```
npm install -g @graphprotocol/graph-cli
```
- Initialize your Subgraph using command:
```
graph init --studio <SUBGRAPH_SLUG>
```
- Then after writing the subgraph deploy to the subgraph studio.
- Once your subgraph is written , run the following commands:
```
- $ graph codegen
- $ graph build
```
- Publish Your Subgraph to The Graph’s Decentralized Network⁠.
- Query your Subgraph.
- With regards to this Web application the query to the subgraph is your wallet under transactions.


## 🎲 **Usage Instructions (Player/Host)**

### - **Creating a Quiz**:
Expand All @@ -75,29 +99,7 @@ Welcome to the BraniacWiz Quiz Game, a decentralized application built on the Et
- click on the `wallet icon` at the top to view a list of your collected NFTs and preview the transactions you have made on the game
- Your tokens (NFTs) and transactions are linked to your wallet account, so keep your `MetaMask wallet` safe.
- you access them from everywhere

### - **The Subgraph Utilization**:

-The subgraph is created on subgraph studio at https://thegraph.com/studio/ using the Celo - alfajores.
- A subgraph is named BraniacWiz.
- To create the graph the steps to be taken are:
- On your local machine, run one of the following commands:
```
npm install -g @graphprotocol/graph-cli
```
- Initialize your Subgraph using command:
```
graph init --studio <SUBGRAPH_SLUG>
```
- Then after writing the subgraph deploy to the subgraph studio.
- Once your subgraph is written , run the following commands:
```
- $ graph codegen
- $ graph build
```
- Publish Your Subgraph to The Graph’s Decentralized Network⁠.
- Query your Subgraph.
- With regards to this Web application the query to the subgraph is your wallet under transactions.


### ⚠️ **Known Issues**

Expand Down

0 comments on commit 6fddd9d

Please sign in to comment.