简体   繁体   中英

How to connect to Livepeer to Rinkeby network?

I want to run livepeer and for that I need it to get connected to an Ethereum network. There are two options as mentioned here :

  • Hosted API services
  • Self hosted Ethereum node

If I want to opt for the latter, how would I mention rinkeby?

Because I only want to use for the test purposes.

The tutorial uses geth as example of the self-hosted Ethereum node.

In the geth manual , you can find the --rinkeby option to connect your node to the Rinkeby network.

Example:

geth --rinkeby --rpc --rpcapi "eth,net,web3" 

It seems that the Livepeer doc only shows 1 hyphen ( - ) for the geth options, but it really should be 2 ( -- ).

Don't forget to change the network option to -network rinkeby on Livepeer start as well.

Example:

livepeer -network rinkeby -ethUrl "http://localhost:8545"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM