Skip to content

camiinthisthang/fameladysquad-subgraph

Repository files navigation

fameladysquad-subgraph

Using the Subgraph

You can query this subgraph in an online playground here.

Screen Shot 2022-02-26 at 1 04 17 AM

Resources

Step by Step Workshop

Check out "Getting Started With The Graph" workshop to walk you through building a subgraph.

How To:

To find the URI of a token and see where their metadata is hosted:

  1. Find their contract on etherscan

Screen Shot 2022-02-26 at 12 55 30 AM

2. Go to Contract > Read Contract 3. If it's an ERC-721 implementation (NFT project), look for ```tokenURI```. Pass in a token ID and then copthe alphanumeric string only. Don't copy the "ipfs://" that precedes the string.

Screen Shot 2022-02-26 at 12 57 15 AM

4. In the browser, navigate to ```https://ipfs.io/ipfs/alphanumeric-string-you-copied-here```

Screen Shot 2022-02-26 at 12 58 25 AM

5. [Copy the JSON object and paste into an online JSON formatter to view the object more clearly.](https://jsonformatter.curiousconcept.com/#)

Additional Resources:

Check out this Assembly Script Cheat Sheet where you can view some of the common issues I ran into when working with assemblyscript to write the mappings.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published