Skip to content

aiblocks/explorer

AiBlocks Explorer

Build Status

A ledger explorer for AiBlocks.

Public: https://explorer.aiblocks.io Test: https://explorer-testnet.aiblocks.io Local: http://localhost:3000

Resources

Lists

Resource URI
Operations /operations
Transactions /txs
Ledgers /ledgers
Payments /payments
Trades /trades
Effects /effects

Directory

Resource URI
Assets /assets

Accounts

Resource URI
by Federated address /account/aiblocks*fed.network
by Public address /account/GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX

Tabs

Resource URI
Balances Tab /account/aiblocks*fed.network#balances
Payments Tab /account/aiblocks*fed.network#payments
Offers Tab /account/aiblocks*fed.network#offers
Trades Tab /account/aiblocks*fed.network#trades
Effects Tab /account/aiblocks*fed.network#effects
Operations Tab /account/aiblocks*fed.network#operations
Transactions Tab /account/aiblocks*fed.network#transactions
Signing Tab /account/aiblocks*fed.network#signing
Flags Tab /account/aiblocks*fed.network#flags
Data Tab /account/aiblocks*fed.network#data

Search

Resource URI
Federated address /search/explorer*fed.network
Public address /search/GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX
Ledger /search/10000000
Transaction /search/26a568681712a44a515b2c90dcfaadb3ed2c40dc60254638407937bee4767071
Asset Code /search/NGN
Anchor Name /search/ripplefox
Anchor Name (Partial) /search/fox

Misc

Resource URI
Transaction /tx/26a568681712a44a515b2c90dcfaadb3ed2c40dc60254638407937bee4767071
Ledger /ledger/10000000
Anchor /anchor/apay.io
Asset /asset/NGN

Exploring Private / Local Development Networks

explorer will connect to a local horizon instance at http://localhost:8000 by default. If your running a local private network for development this is quite handy for browsing your changes to the ledger.

Alternatively you can run locally connecting to the testnet or public network horizon instances. To do this define these aliases to localhost:

127.0.1.1  testnet.local     # for explorer use testnet horizon
127.0.1.1  publicnet.local   # for explorer use mainnet horizon

Navigate to http://testnet.local:3000 or http://publicnet.local:3000 to select the network your interesting in exploring.

Development

See the section Exploring Private / Local Development Networks for connecting to different backend networks. By default explorer will look for a local instance of horizon.

Start:

npm i && npm start

Test:

npm i && npm test

Build:

npm i && npm run build

Languages

Use the language selector in the top right corner to change the language.

Translation files are here: https://github.com/aiblocks/explorer/tree/master/src/languages

Submit pull requests with new languages or languages fixes there.