4.0.0 • Published 4 years ago

@alethio/explorer-plugin-eth-common v4.0.0

Weekly downloads
64
License
MIT
Repository
github
Last release
4 years ago

@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
4.0.0

4 years ago

3.0.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago