The number of production dapps continues to explode and the demand for developers building with Solidity and other blockchain languages continues t...
For further actions, you may consider blocking this person and/or reporting abuse
Nice tutorial, thank you for creating high quality blockchain related tutorials on Dev.to!
I had not heard of The Graph until recently. What it allows to be built with relative ease is quite cool. The UI design of the application is great, too.
Maybe as a follow up, or a link to an existing explanation, it would be helpful to get more explanation on what's going on in
mapping.ts
.Thanks for the tutorial!
One thing I had to change: I couldn't get
yarn deploy
to work, so I went with the CLI command provided from The Graph UIgraph deploy --product hosted-service <GitHub_Username>/<Subgraph_name>
Otherwise, the tutorial worked great!
Thank you for tutorial!
I think for initializing Zora contract we need to use
/
instead of\
atgraph init --from-contract 0xabEFBc9fD2F806065b4f3C237d4b59D9A97Bcac7 --network mainnet / --contract-name Token --index-events
At least I had to do it on Windows.
Hello ! I'm getting Compile data source: Token => build\Token\Token.wasm
token.contentURI = event.params._uri;
Hey, unsure what happened, maybe there was an update to the CLI, but I just fixed the mappings and it should work now, sorry for the inconvenience!
Hi Nader!
The command "graph build" failed to compile data source mapping. This was caused by the error "Type 'Bytes' is not assignable to type 'string'."
This error pops up in two places:
inside mapping.ts function "handleTokenIPFSPathUpdated",
entity.indexedTokenIPFSPath = event.params.indexedTokenIPFSPath
inside mapping.ts function "handleMinted",
entity.indexedTokenIPFSPath = event.params.indexedTokenIPFSPath
How can I fix this issue?
I'm also getting this issue. Any updates on progress?
Thank you!!!! It is very interesting :) I like you omit basic stuff and go to the core
Eres el mejor! Estoy aprendiendo mucho gracias a ti.
great tutorial dude! really enjoyed the content
I was having an issue with
graph auth
stage, getting an errorError: Error storing deploy key: Invalid URL
Solution was to run this command instead:
graph auth --product hosted-service
FYI I needed to run yarn add @graphprotocol/graph-ts before graph build to make the build work
Is GRT limited to just Ethereum based queries or can it be used for other protocols like Solana?
There Is Free Geth Graphql: querymaid.com/