RPCHub
  • instruction to rpchub
    • What are RPC and RPC Aggregator?
    • What problems does RPCHub solve?
  • User guide
    • Installation and run
    • Configuration
    • Use RPCHub in MetaMask
    • Reference
  • resources
    • Public Endpoints
    • Phishing DB Warehouse
    • Official Links
Powered by GitBook
On this page
  • Prerequisite
  • Installation
  1. User guide

Installation and run

PreviousWhat problems does RPCHub solve?NextConfiguration

Last updated 2 years ago

The Github repo of RPCHub is

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.

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

Download the latest installation package from .

If you have old configurations and want to start over, delete it first. Directory should be /usr/.rpchub/

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.

https://github.com/BlockPILabs/aggregator
https://go.dev/doc/install
here