<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jakub Pánik on Medium]]></title>
        <description><![CDATA[Stories by Jakub Pánik on Medium]]></description>
        <link>https://medium.com/@jakpan?source=rss-10865544ac1d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*e95R8ZUOT4JPZhRp</url>
            <title>Stories by Jakub Pánik on Medium</title>
            <link>https://medium.com/@jakpan?source=rss-10865544ac1d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:04:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jakpan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to update your Substrate-based app in 3 minutes using API explorer]]></title>
            <link>https://medium.com/@jakpan/how-to-update-your-substrate-based-app-in-3-minutes-using-api-explorer-21a180395a87?source=rss-10865544ac1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/21a180395a87</guid>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[kusama]]></category>
            <category><![CDATA[blockchain-development]]></category>
            <category><![CDATA[polkadot]]></category>
            <category><![CDATA[substrate]]></category>
            <dc:creator><![CDATA[Jakub Pánik]]></dc:creator>
            <pubDate>Mon, 20 Apr 2020 11:14:21 GMT</pubDate>
            <atom:updated>2020-04-20T11:14:21.072Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XepwtfijdIMoTwoREVjp2A.png" /></figure><p>There’s been a lot going on in the Substrate ecosystem. While developing our first app <a href="https://github.com/galacticcouncil/polkalert">polkalert</a> (TLDR: Substrate-based node monitoring and alerting service, better version in this <a href="https://medium.com/@giovanna.nguyenova/polkalert-889d2726431e">article</a> by <a href="https://medium.com/u/572d283d516a">Gee</a>) together with guys from <a href="https://blockunison.com/">BlockUnison</a>, we came across a problem that bugs every developer that works with the Substrate and tries to keep up with the great work, that everybody contributing to Polkadot and substrate ecosystem is doing.</p><h3><strong>UPDATES.</strong></h3><p>If you feel like you’re too slow keeping up with Polkadot-js API and general Substrate and Kusama node updates, you’re not alone. That’s why we’ve developed the <a href="https://apiexplorer.dev/">API explorer</a>. A tool that helps us look at, test, and see what RPC calls are available on the actual node, with the documentation for each method.</p><p>This is very helpful, especially if you updated your node or Polkadot-js API library, and suddenly, you are missing a method you used before. Let’s look at an example that happened to us a few days ago. In the API V11, a method</p><pre>api.query.staking.stakers(accountId)</pre><p>we used to get the list of stakers disappeared. After a dependency update, TypeScript will just tell you that the method you used before doesn’t exist anymore. Let’s try to get help from API explorer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RoJQHtWyeOurCG5S6hRnzg.png" /></figure><p>Open up <a href="https://apiexplorer.dev/">https://apiexplorer.dev</a> or build it from the sources locally <a href="https://github.com/galacticcouncil/substrate-api-explorer">https://github.com/galacticcouncil/substrate-api-explorer</a> and select your node. It will be the official Kusama node in our case.</p><p>Now let’s use the search function, and let’s go for stakers keyword.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ck97RlYr3Iv1JexoUIxNBg.png" /></figure><p>Voila! That’s the problem.</p><p>The method name changed from stakers to erasStakers and takes another property called eraIndex. It’s easy fix for us, and what might have taken us half an hour or longer, looking through commits or documentation, we figured out and fixed in three minutes using API explorer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhPmIDJwz8riVt_MlaUeLw.png" /></figure><p>There it goes. We’re now able to continue with product development. API explorer won’t help you with all of your problems, but this is not the only thing API explorer can do for you.</p><p>We’ve used it for testing RPC methods of our custom chain, to quickly test if the chain itself functions, and generally as a source of documentation for RPCs.</p><p>There’s also an alpha version of compare-API function, which looks at two nodes and compares methods between the two. It’s not completely ready, but we think it’s better to show it to you in this case so we can iterate on it.</p><p>We’d love to take API explorer to the next level, and we would be thrilled if it helped other people as it helped us, and that’s why we open-sourced it. We hope that you guys get your hands on it and help us develop it further.</p><p>We are planning more great stuff at <a href="https://galacticcouncil.io/">Galactic Council</a>, so if you want to keep up, follow us on <a href="https://twitter.com/GalacticCounci1">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21a180395a87" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>