Developers Forum for XinFin XDC Network

Arturo Cantera Carrasco
Arturo Cantera Carrasco

Posted on • Updated on

BlockChain Explorers on XinFin Network [BlocksScan]

BlocksScan XinFin Network

XinFin Network, as a public and open-source ledger, has the ability to provide information and data to network users.

One thing is to receive information in an organized and readable manner, and another is for it to appear all scattered.

It's of no use if I give you a dictionary that's all disorganized; it would be impossible to find a single word.
Or if they provide you with a dictionary that hasn't included all the words it should.

The idea of this document is to make a portion of the information flowing within the network visible, which currently the average user would only find through the blockchain scanner.
Through this, we perform a comparison with another explorer, where these comparisons will reflect suggestions to add to BlocksScan.

For this, we take Etherscan as our reference: https://etherscan.io/

Main Page

  • Seeker

It would be nice to add the dropdown to perform a more individualized filter.

Image description

(Remove it from BlocksScan Explorer; It is as if my web page says Wordpress.)
Image description

  • Toolbar

Etherscan offers a vast array of sections for searching specific information about concrete data. We can observe this simply by looking at the section bar on the homepage:
Image description

Providing a practical and user-friendly interface to both regular users and developers seeking information while conducting relevant tests on their code is crucial. An example of this could be the dropdown menu under "Developers" or the one under the "More" tab.

Image description

Image description

  • APIS

Decent documentation is necessary. The specifications of the APIs should be included, for instance: a developer needs to know how many requests they can make if there is a maximum limit.
There should be a Gitbook accessible directly from the blockchain explorer. It should contain something like this:
https://docs.xdc.community/
https://docs.xdc.org/build-with-xdc/deploy-smart-contracts-on-xdc-network

If we observe the transition that other major companies are undergoing, we realize that they are moving away from using Swagger. Moreover, for new developers, it can present certain complexities.

The next step to professionalize the APIs in BlocksScan would be to create documents similar to what other companies are doing:

-Alchemy:
https://docs.alchemy.com/reference/api-overview

-Etherscan or Moralis would be good examples too.

XinFin Network is currently quite substantial and is increasingly catching the attention of users due to the rise in Market Cap and the visibility it's gaining at in-person Blockchain events and on social media platforms. Swagger is becoming inadequate for its current scale.

  • Txns When we access a transaction (Txns), it takes a long time to display the information related to that transaction. Is there a lack of data indexing?

On the other hand, if we access the TxHash of a transaction on Etherscan and go to "Logs," we encounter two things:

  • A visually appealing interface
  • The ability to convert hexadecimal values to decoded ones Image description

BlocksScan appearance:
Image description

  • Data connection Data connection with one-page web links that display much more information about that specific data.

If we click on Gwei:
Image description

Leads us to: https://etherscan.io/gastracker

Furthermore, GAS is a piece of data that is not currently tracked on BlocksScan, and it's very important.

It indicates the price we will pay for using the network. In other words, it tells us how much XDC we will use to carry out transactions. Thanks to this, we can determine the minimum we need to pay in fees.

By expressing it in gas units relative to $, we can understand how much we can pay to prioritize our transaction and have it executed faster.

There are other examples:

If we click on ‘’Market cap’’:
Image description

Leads us to: https://etherscan.io/stat/supply
We can view detailed information about the types of supply based on rewards. If we click on:
Image description

Leads us to: https://etherscan.io/chart/etherprice

  • Latest Blocks

XinFin:
Image description

Etherscan:
Image description

If we click on ‘’View all blocks’’:

XinFin:
Image description

Etherscan:
Image description

We come across large boxes that provide additional information. Moreover, in the transaction concatenation, we have more columns on etherscan.

When searching in the explorer for an address:

-EVM compatible

Connecting the wallet address with other EVM networks that have balances associated with that address could indeed be an interesting feature.
Image description

-Balance and assets

In the blockchain, everything is public, including the balance. That's why we can see all the tokens a wallet holds from here.

This way, if, for instance, I published my address, you could know exactly how much I have down to the last dollar.

(etherscan)
Image description

https://etherscan.io/address/0xe81e54f36a9e6ee871aa0f2e9991889f7c414bae

Right next to the tokens dropdown, there's an icon of a wallet. If we click on it, it takes us to a unique wallet link.
Here, we can see in detail how many cryptocurrencies it holds and the quantity of each of them.

Image description

https://etherscan.io/tokenholdings?a=0xe81e54f36a9e6ee871aa0f2e9991889f7c414bae

NFTs

NFTs are currently one of the major focal points on the XDC network due to Prime Numbers.

On Etherscan, we have a plethora of information about these tokens:
Image description

If we click on "Top NFTs," which would be equivalent to XRC721 tokens on BlocksScan, we find numerous columns with information about the collections.

Image description

XRC721, whereas on BlocksScan, the amount of information is less extensive.
Image description

If we enter a specific collection, we can see that on BlocksScan, it provides us with a series of information.
Image description

However, we can see that on Etherscan, there are more sections.

On the other hand, if we look at the rows of data, we come across 'Method' which indicates the executed function based on decoded input data.
Image description

The 'Item' column displays a small image of the NFT.

Links:

If we compare an NFT on Etherscan and another on BlocksScan, we discover very interesting information on the Etherscan NFT:
Image description

It would be great to have detailed information within the "Properties" section and the "Details" section.

Additionally, expanding the NFT information to include its activity, similar to how the following screenshot displays, would also be beneficial:
Image description

Links:

//Post Written by Victor Manero (Prime Numbers Labs- Team)

Discussion (7)

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Thank you for your thoughtful suggestions and your concern for the improvement of our BlocksScan explorer within the XDC community.
We greatly appreciate your input, and we are committed to enhancing our explorer based on your valuable feedback. Rest assured, we are actively working on incorporating these suggestions to make our platform even more fruitful for the community.
Stay tuned for the upcoming updates, and thank you once again for your support and engagement!

Collapse
xcantera profile image
Arturo Cantera Carrasco Author

Thank you so much for the amazing work, keep working.

Collapse
harleyhermanson profile image
harley hermanson

Glad you made these suggestions I was just talking to someone yesterday about how XDC explorer specifically NFTs need some improvements. 👏

Collapse
sdslash profile image
Sdslash

An excellent write up and discussion, it's a yes from me.

Collapse
boris_xdc_b7b9a25940bb63d profile image
Boris XDC

Nice writing Amigo. Certainly can find myself in the suggestions made so I fully support this.

Collapse
tigerwhitehead profile image
TigerWhitehead

All great suggestions, couldn’t agree more.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hey @xcantera

We have introduced several enhancements and are continuing to perfect the appearance. Here's another guide for your review. We'd love to hear your valuable feedback: xdc.dev/blocksscan/mastering-xdc-b...

Explorer link: xdc.blocksscan.io/