🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@alethio/explorer-plugin-eth-common

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alethio/explorer-plugin-eth-common

Explorer plugin with common ETH modules and pages

latest
Source
npmnpm
Version
4.0.0
Version published
Weekly downloads
222
1287.5%
Maintainers
5
Weekly downloads
 
Created
Source

@alethio/explorer-plugin-eth-common

Alethio Explorer plugin with common ETH modules and pages. It works together with a core plugin that provides a data source (@alethio/explorer-plugin-eth-lite or @alethio/explorer-plugin-eth-extended).

See cms-plugin-tool for install instructions.

Configuration

The plugin accepts the following configuration options:

interface IConfig {
    /** (Optional) Used by Alethio API toolbar/topbar icons */
    alethioApiUrl?: string;
    /** (Optional) Used by Alethio Monitoring toolbar/topbar icons */
    alethioMonitoringUrl?: string;
    /** (Optional) Used by Alethio Reports toolbar/topbar icons */
    alethioReportsUrl?: string;
    /** (Optional) Used by EthStats toolbar/topbar icons */
    ethstatsUrl?: string;
    /** (Optional) Used by Alethio company website toolbar/topbar icons */
    companyUrl?: string;
}

See config.sample.json for an example.

Refer to eth-extended/pages.sample.json or eth-lite/pages.sample.json for a pages structure example.

Exported entities

Pages

Page URICreated context shapeModule slotsDescriptionImplementation
page://aleth.io/block{ blockNumber }sidebar, contentDisplay block detailsblockPage
page://aleth.io/tx{ txHash }sidebar, contentDisplay transaction detailstxPage
page://aleth.io/account{ accountHash }identicon, top, balance, bottomEthereum address detailsaccountPage

Contexts

Context URIGenerated context shapePlaced in contextDescriptionImplementation
context://aleth.io/block/list{ rangeStart, rangeEnd, blockNumber }{ blockNumber }Selects a range of blocks around a selected blockblockListContext
context://aleth.io/block/latest{ blockNumber }N/ABlock context that syncs to the latest block on the chainlatestBlockContext
context://aleth.io/dashboard/latestBlockRange{ rangeStart, rangeEnd }N/ASelects a range of blocks up to the latest block on the chainlatestBlockRangeContext

Modules

Module URIContext shapeModule slotsDescriptionImplementationOptions
module://aleth.io/block/list{ rangeStart, rangeEnd, blockNumber }N/AChart for block sidebar, showing number of txs per blockblockListModuleN/A
module://aleth.io/block/confirmations{ blockNumber }N/AShows real-time number of block confirmationsblockConfirmationsModuleN/A
module://aleth.io/tx/list{ txHash }N/ASidebar chart showing the current transaction in the context of the parent blocktxListModuleN/A
module://aleth.io/account/identicon{ accountHash }N/ARenders an identicon for the given account hashaccountIdenticonModuleN/A
module://aleth.io/dashboard/networkN/AN/AShows the current network name and an optional dropdown for switching to other networks.networkModuleINetworkModuleOptions
module://aleth.io/searchN/AN/ASearch widgetsearchModuleN/A
module://aleth.io/dashboard/chartsN/AcontentLayout wrapper for charts on dashboard pagechartsModuleN/A
module://aleth.io/dashboard/blocksChart{ rangeStart, rangeEnd }childrenChart showing tx counts for a range of blocks. Exposes slot for adding content under itblocksChartModuleN/A
module://aleth.io/dashboard/latestBlockInfo{ blockNumber }N/AShows a line of basic block details, specifically for the latest blocklatestBlockInfoModuleN/A
module://aleth.io/toolbar/ethstatsN/AN/AEthStats 2.0 product icon (left-side toolbar item)ethstatsModuleN/A
module://aleth.io/toolbar/alethioApiN/AN/AAlethio API product icon (left-side toolbar item)alethioApiModuleN/A
module://aleth.io/topbar/alethioApiN/AN/AAlethio API product icon (mobile topbar item)alethioApiModuleN/A
module://aleth.io/toolbar/alethioMonitoringN/AN/AAlethio Monitoring product icon (left-side toolbar item)alethioMonitoringModuleN/A
module://aleth.io/topbar/alethioMonitoringN/AN/AAlethio Monitoring product icon (mobile topbar item)alethioMonitoringModuleN/A
module://aleth.io/toolbar/alethioReportsN/AN/AAlethio Reports product icon (left-side toolbar item)alethioReportsModuleN/A
module://aleth.io/topbar/alethioReportsN/AN/AAlethio Reports product icon (mobile topbar item)alethioReportsModuleN/A
module://aleth.io/toolbar/companyN/AN/AAlethio company website link (left-side toolbar item)alethioCompanyModuleN/A
module://aleth.io/topbar/companyN/AN/AAlethio company website link (mobile topbar item)alethioCompanyModuleN/A
module://aleth.io/toolbar/feedbackN/AN/AHotjar feedback icon (left-side toolbar item)toolbarFeedbackModuleN/A
module://aleth.io/topbar/feedbackN/AN/AHotjar feedback icon (mobile topbar item)topbarFeedbackModuleN/A
module://aleth.io/toolbar/searchN/AN/ASearch icon (left-side toolbar item)toolbarSearchModuleN/A
module://aleth.io/topbar/searchN/AN/ASearch icon (mobile topbar item)topbarSearchModuleN/A
module://aleth.io/cookie-bannerN/AN/ACookie bannercookieBannerModule.tsN/A

FAQs

Package last updated on 07 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts