Skip to content

Connect to the Portal network#

Connecting to the current Portal network is as easy as running following command:

./build/nimbus_portal_client --rpc

This will connect to the public Portal mainnet which contains nodes of the different clients.

Note

By default the Portal node will connect to the bootstrap nodes of the public mainnet.

When testing locally the --network:none option can be provided to avoid connecting to any of the default bootstrap nodes.

The --rpc option will also enable the different JSON-RPC interfaces through which you can access the Portal Network.

The Nimbus Portal client fully supports the Portal Network JSON-RPC Specification.

The Nimbus Portal client also supports a small subset of the Execution JSON-RPC API.

Note

The end goal is to be able to fully support the Execution JSON-RPC API, however currently not all Portal networks are specified, implemented or rolled out to be able to provide this.