<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Developers Forum for XinFin XDC Network: Eduardo Robles</title>
    <description>The latest articles on Developers Forum for XinFin XDC Network by Eduardo Robles (@eoaks).</description>
    <link>https://www.xdc.dev/eoaks</link>
    <image>
      <url>https://www.xdc.dev/images/hatTiK7oAsmm8uYNucWwitx2rhkCcIYk0htkUOk8Na8/rs:fill:90:90/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL3VzZXIvcHJv/ZmlsZV9pbWFnZS8y/MTMvODlhN2NlYmEt/MzNlOC00MzRjLWIw/OWEtYWE0NjI0YTQy/M2FjLnBuZw</url>
      <title>Developers Forum for XinFin XDC Network: Eduardo Robles</title>
      <link>https://www.xdc.dev/eoaks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.xdc.dev/feed/eoaks"/>
    <language>en</language>
    <item>
      <title>How do i implement a subgraph?</title>
      <dc:creator>Eduardo Robles</dc:creator>
      <pubDate>Mon, 29 Aug 2022 23:31:36 +0000</pubDate>
      <link>https://www.xdc.dev/eoaks/how-do-i-implement-a-subgraph-4hpb</link>
      <guid>https://www.xdc.dev/eoaks/how-do-i-implement-a-subgraph-4hpb</guid>
      <description>&lt;p&gt;I've been trying to implement a subgraph using graph-protocol's &lt;a href="https://github.com/graphprotocol/graph-node"&gt;graph-node&lt;/a&gt; by changing &lt;a href="https://github.com/graphprotocol/graph-node/blob/master/docker/docker-compose.yml"&gt;this file &lt;/a&gt; to have &lt;code&gt;ethereum: 'mainnet:https://rpc.apothem.network'&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;But running &lt;code&gt;docker-compose up&lt;/code&gt; with this gives the following error.&lt;br&gt;
&lt;code&gt;Aug 29 20:46:40.700 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #11) with result Err(Decoder error: Error("invalid length 43, expected a (both 0x-prefixed or not) hex string with length of 40", line: 0, column: 0)), provider: mainnet-rpc-0&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I was kindly pointed to t&lt;a href="https://www.xdc.dev/xu_zhaolin_fcf881856ae0b5/graphnode-xinfin-compatibility-project-done-44mp"&gt;his post&lt;/a&gt; which does say that it is possible to have a subgraph, but haven't been able to tell the difference from my code to the one in the examples. &lt;/p&gt;

&lt;p&gt;Can someone point me in the right direction here? What am i missing?&lt;/p&gt;

</description>
      <category>subgraph</category>
      <category>thegraph</category>
      <category>graphnode</category>
      <category>testnet</category>
    </item>
  </channel>
</rss>
