Marketplace has launched, further enabling blockchain developers! Learn more

How to run Expedition Block Explorer

September 09, 2022

What is Expedition Ethereum Block explorer?

In this article, we will talk about how to install and run the Expedition Ethereum Block explorer. 

While playing with the Ethereum blockchain network one might need to look up transactions, tokens, addresses, or prices. To accomplish these tasks, we might want an Ethereum blockchain explorer which makes all these tasks easier for not only developers, but for regular blockchain users while potentially reducing development time for building on Ethereum.

Expedition is an open-source block explorer for Ethereum created by Etclabs team. It is built on a bunch of other open-source items including Jade Service Runner for managing background services (Multi-Geth) and OpenRPC for underlying functionality. If you have a node endpoint, you can run Expedition directly. 

Expedition does not use a database and can be configured to point at any remote RPC node for any EVM-based network. We can look forward to these features once everything is set up:

  • Display chain id
  • Node Syncing status
  • Runtime configuration for endpoints
  • Search by Block, Transaction, Address
  • Charts for the hash, transaction count, gas used, uncles
  • Preview latest blocks with pagination
  • Multi-language support

Lastly, before proceeding, please make sure you have the following on your machine. If you don't follow the help links:

  • NodeJS installed on your system [help]
  • git installed in your system [help]

Install Expedition Ethereum Block Explorer

As mentioned earlier, Expedition doesn’t use any database, so we can simply clone it and run it using our QuikNode URL.

Now, let's install Expedition using git and npm installer of nodejs, you can simply copy the below in your cmd/terminal:

install expedition ethereum block explorer

Copy
$ git clone https://github.com/etclabscore/expedition.git && cd expedition && npm install

Above we are first cloning the Expedition file from GitHub then we're changing the directory to expedition and at last, we're installing expedition using npm.

You might encounter errors 'HTTP' request fatal' this might be because of the git version installed on your computer, so always download the latest and stable git version, another thing you must make sure is that you copy the exact link because these links are case sensitive in git.

The most common issue at this step is an internal failure with `node-gyp`. You can follow node-gyp installation instructions here.

Note: You will need to have your python version match one of the compatible versions listed in the instructions above if you encounter the node-gyp issue.

Getting Ethereum HTTP URL

For our purposes today, we could use pretty much any Ethereum client, such as Geth or OpenEthereum (fka Parity). Since that is a bit too involved for our purposes today, we'll just grab a free endpoint from QuickNode to make this easy. After you've created your free ethereum endpoint, copy your HTTP Provider endpoint:

Screenshot of Quicknode Ethereum endpoint


You'll need this later, so copy it and save it.

Running Expedition

Now we can run our Expedition explorer locally using the below command

running expedition

Copy
$ REACT_APP_ETH_RPC_URL=ADD_YOUR_ETHEREUM_NODE_URL npm start

So go ahead and replace `ADD_YOUR_ETHEREUM_NODE_URL` with the http provider from the instructions above. 

This will start the explorer, to check it navigate to https://localhost:3000/ on your browser.
You might see something like this

Alternative Option for using Expedition with QuikNode

The expedition team deployed an explorer which you can access by navigating https://expedition.dev/ . The best part here is that you can use your QuickNode with this already deployed explorer using the below URL. 

https://expedition.dev/?rpcUrl=ADD_YOUR_ETHEREUM_NODE_URL

Here replace 'ADD_YOUR_ETHEREUM_NODE_URL' with your QuickNode URL. 

However, it's important to note that you could be leaking your QuickNode URL to a third party by doing this. We do not recommend using this method if you have a paid QuickNode account because it could result in unwanted charges that you'd be responsible for.

Conclusion

As we saw, with QuikNode and Expedition, you can host your own Ethereum block explorer within 5 minutes.

As Expedition does not use any database and pull data in real-time, therefore, there is no maintenance cost.

We at QuikNode run hundreds of nodes for you awesome developers. Subscribe to our newsletter for more articles and guide on Ethereum. If you have any feedback, please feel free to reach out to us via Twitter and you can always chat with us if you have a question via our community server on Discord, thanks :)

Related articles 11

How to run a OpenEthereum (ex-parity client) Node
Originally Published On: Apr 5, 2020
Updated On: Sep 9, 2022

Ethereum nodes are computers... OpenEthereum (ex-parity client)... Running an Ethereum mainnet node... We can run/install OpenEthereum... After lots of trials and... Here is some other helpful flags... OpenEthereum is a solid choice...

Continue reading
Ethereum Full Node vs Archive Node
Originally Published On: Apr 8, 2021
Updated On: Sep 20, 2022

Ethereum runs on a network of... Basic understanding of... Learn about Nodes on... A node is a computer that runs... A Full node on Ethereum's PoW... An Archive node inherits the... Running a node (i.e., Full node)... In addition to the Ethereum... When it comes to processing... Kudos! You now have...

Continue reading
How to setup a Chainlink node
Originally Published On: Jul 6, 2020
Updated On: Sep 21, 2022

Smart-contracts are the heart... For our purposes today, we could... To run a Chainlink node we also... By now, you should have... Next, as we have Docker-CE... We can now run the Docker image...

Continue reading
Introduction to Ethereum Rollups
Originally Published On: Dec 28, 2021
Updated On: Sep 9, 2022

Ethereum, the most popular... The main goal of all the... On one hand, we have layer 2... Rollups look like an... If you made it here now, you...

Continue reading
How to run Nethermind node
Originally Published On: May 18, 2021
Updated On: Sep 9, 2022

To run an Ethereum node without... Nethermind is an open-source... Generally, it is suggested that... It is recommended to use a... Before getting to the process of... So here we saw how to launch...

Continue reading
How to run a Hyperledger Besu node
Originally Published On: May 18, 2021
Updated On: Sep 9, 2022

As the Ethereum network... An Ethereum client is an... System requirements for Besu... The first step here would be to... Here are some helpful flags you... Congratulations on launching...

Continue reading
How to Run a Binance Smart Chain Node
Originally Published On: Jul 2, 2021
Updated On: Sep 9, 2022

Binance Smart Chain, BSC for... Great question! BSC is a... Perhaps after seeing the Binance... The process of running a... With all of the initial... Congratulations! If all of the...

Continue reading
How to install and run a Geth node
Originally Published On: Apr 5, 2020
Updated On: Sep 12, 2022

Ethereum nodes are computers... There are many reasons you'd use... Running an Ethereum mainnet node... We can install Geth in many ways... After lots of trials and... The following are some flag... Running a node helps make the...

Continue reading
How to Use Laika with QuickNode
Originally Published On: Apr 22, 2022
Updated On: Sep 9, 2022

Developers spend most of their... While this goal could be... Now that we have our blockchain... We have our smart contract... Code... Congratulations on interacting...

Continue reading