Installation and run

The Github repo of RPCHub is https://github.com/BlockPILabs/aggregator

Following these simple steps to download and install RPCHub

Prerequisite

RPCHub is developed by Go. Before installation, check your Go version or install Go language from the official site. https://go.dev/doc/install

Installation

//If you have old configurations and want to start over, delete it first
rm -rf $HOME/.rpchub/aggregator/

// git from source and make
git clone https://github.com/BlockPILabs/aggregator.git
cd aggregator
make

//start the aggregator
build/aggregator

RPCHub will show a initial log like this if it is successfully started.

The available chains are listed in the log. (e.g. http://localhost:8011/ethereum)Now you can use the local endpoint to send RPC requests. Check Use RPCHub in MetaMaskas an example to set the local endpoint in MetaMask.

Last updated