<?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: Dristpunk</title>
    <description>The latest articles on Developers Forum for XinFin XDC Network by Dristpunk (@dristpunk).</description>
    <link>https://www.xdc.dev/dristpunk</link>
    <image>
      <url>https://www.xdc.dev/images/Uk1r1dXdB-6k-0jHUw6K5YiiawE_U5Ez3ou70Kjk49M/rs:fill:90:90/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL3VzZXIvcHJv/ZmlsZV9pbWFnZS8x/MjU3L2ZmMmQ1OWIw/LTk0MDQtNGQ1ZS1h/MjNjLTcxMDZlMWNm/MzAzYy5qcGc</url>
      <title>Developers Forum for XinFin XDC Network: Dristpunk</title>
      <link>https://www.xdc.dev/dristpunk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.xdc.dev/feed/dristpunk"/>
    <language>en</language>
    <item>
      <title>Contracts deploy issue and solution</title>
      <dc:creator>Dristpunk</dc:creator>
      <pubDate>Mon, 19 Dec 2022 14:04:00 +0000</pubDate>
      <link>https://www.xdc.dev/dristpunk/contracts-deploy-issue-and-solution-4gmg</link>
      <guid>https://www.xdc.dev/dristpunk/contracts-deploy-issue-and-solution-4gmg</guid>
      <description>&lt;p&gt;If you try to deploy contracts through Remix IDE and face an issue that you can't see the confirmation message of contracts creation and the query is always pending &lt;br&gt;
&lt;a href="https://www.xdc.dev/images/zt_1vCBzKyO6drCSSAMyCJ6lyjEk5DKFai94D3J5N1k/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L2MyNjc0MXhpMWVi/cDNlaW45cDdpLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/zt_1vCBzKyO6drCSSAMyCJ6lyjEk5DKFai94D3J5N1k/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L2MyNjc0MXhpMWVi/cDNlaW45cDdpLnBu/Zw" alt="img1" width="880" height="352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is a solution: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Everything is okay&lt;/strong&gt;, contracts were deployed, but it didn't display in Remix for some reason (I don't know why). Only one thing you need to do is to find a contract address and associate it with your contract interface in Remix directly. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But there is one more issue&lt;/strong&gt; takes place. Sometimes when the network activity is too low, scanner seems to be not scanning all of the blocks. And when you go to your account transactions (paste your address with &lt;code&gt;xdc&lt;/code&gt; prefix) you will see no transactions you did recently.&lt;br&gt;
&lt;a href="https://www.xdc.dev/images/QKYS1kKvbrJMQV3duTgPVI6EhFoUX9t9nYBjOQskfD4/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L2hmbGYxbmw5bThx/ZHhvNzY5c2NuLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/QKYS1kKvbrJMQV3duTgPVI6EhFoUX9t9nYBjOQskfD4/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L2hmbGYxbmw5bThx/ZHhvNzY5c2NuLnBu/Zw" alt="img2" width="880" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To find your contract address you need to go through recent blocks manually and find the transaction you made. You can easily find block with your contract deployment transaction by the block gas consumed amount. Contracts deployment require much more gas then regular transactions and, as the chain activity always is not too high, the desired block is the recent block with highest gas amount.&lt;br&gt;
&lt;a href="https://www.xdc.dev/images/noUXqKXS9Aoo-AmGfHi7CrhJK6J-qtPiqRrbqhNneBM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3hld3o2cDNyamtt/a2V2OHpwbjRqLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/noUXqKXS9Aoo-AmGfHi7CrhJK6J-qtPiqRrbqhNneBM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3hld3o2cDNyamtt/a2V2OHpwbjRqLnBu/Zw" alt="img3" width="880" height="256"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After that just go through all transactions into the block which have non-zero &lt;code&gt;txFee&lt;/code&gt; and find a transaction raised by your wallet address and click to its hash.&lt;br&gt;
&lt;a href="https://www.xdc.dev/images/xqlaYAxSpoiiGGtXf_fFrYZ62zqtDrxk-jDRtpcF5uI/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3hkcnp3cnN2bzJ4/aDMzYmh4M3NqLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/xqlaYAxSpoiiGGtXf_fFrYZ62zqtDrxk-jDRtpcF5uI/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3hkcnp3cnN2bzJ4/aDMzYmh4M3NqLnBu/Zw" alt="img4" width="880" height="227"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here you are! Just copy the contract address and past it into Remix &lt;code&gt;At Address&lt;/code&gt; field. Your contract is added to Remix! &lt;br&gt;
&lt;a href="https://www.xdc.dev/images/KJRkEugOYXD9vhoZ8R5p93OIfgDp4BBWP8A0CLhOWMM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3h3ZmJucXQ2eWVt/azQ2czE1bHNkLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/KJRkEugOYXD9vhoZ8R5p93OIfgDp4BBWP8A0CLhOWMM/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3h3ZmJucXQ2eWVt/azQ2czE1bHNkLnBu/Zw" alt="img5" width="880" height="429"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.xdc.dev/images/5G1DnsfU4xAE2FsNXAYovOlUeBKk2EfqlmYUEvlK_PE/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3pjdnZ6eXRqNHR4/em83M3I0NXNwLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/5G1DnsfU4xAE2FsNXAYovOlUeBKk2EfqlmYUEvlK_PE/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3pjdnZ6eXRqNHR4/em83M3I0NXNwLnBu/Zw" alt="img6" width="460" height="943"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>deploy</category>
      <category>contracts</category>
      <category>issue</category>
    </item>
  </channel>
</rss>
