VSC Block Explorer UI updates 1H 2024

in #vsc8 months ago
Authored by @techcoderx

Disclaimer: VSC Blocks is not an official project by the VSC team.

Below are the highlights of VSC Blocks UI (and VSC-HAF backend) updates that have been worked on in the last 30 days, following the major protocol updates of the VSC network.

VSC-HAF subindexer

One of the major changes in VSC-HAF v1.27.5.0.1 is the addition of subindexer sync, which is a separate indexer that runs alongside the main HAF app sync.

The subindexer has access to L2 data on IPFS, therefore it has the full capability to determine the validity of the transactions posted on L1 and to provide L2 data on the API that the explorer frontend uses. The main HAF app sync does not have access to such data on IPFS for performance reasons and to prevent the app sync from stalling if data retrieval from IPFS is taking too long.

CID Search

Thanks to the subindexer, VSC-HAF is able to provide an API method to determine the content type of a given CID. This is to replace the findCID method that has been broken for some time.

Here are some queries you may try in API request and the search bar:

Multisig key holders

The multisig account page now shows the list of usernames that is currently part of the multisig by their owner signing keys. It also specifies the current weight threshold and the number of signers of the multisig setup.

For other accounts, the relevant user info will be displayed instead such as activity info and L2 balances.

Elections, Blocks, Contracts

The elections and blocks page now show the participation rate for voting for the election results and block proposals respectively. The election (in epochs) and block details page displays the list of members who participated, the aggregation bits (in little endian format) and the BLS aggregated signature.

This information is also displayed for contract storage proofs in the contract page.

Contract Call Output

The contract call page now shows detailed info about contract call output returned by the contract executor such as logs, results and error messages (if any), as well as gas used by the contract call. These details may be retrieved either by the contract call CID or the contract output CID.

Bridge

Another new page in the frontend is the Hive bridge overview and list of latest deposits and withdrawals. The overview page displays balances held by the multisig account and transaction count for both directions at the top.

Currently the UI shows deposit transactions to Hive usernames. Deposits to DID key will be worked on once the relevant data is available to be displayed.

Links

Block explorer: https://vsc.techcoderx.com
Source code: https://github.com/techcoderx/vsc-explorer

HAF API: https://vsc-haf.techcoderx.com
HAF app source code: https://github.com/techcoderx/vsc-haf

Sort:  

Congratulations @vsc.network! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 8000 upvotes.
Your next target is to reach 9000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP