Skip to content

Commit

Permalink
Merge pull request #362 from rsksmart/readme-update
Browse files Browse the repository at this point in the history
more documentation
  • Loading branch information
MaximStanciu8 authored May 24, 2023
2 parents d465d8f + 7a7af99 commit f502f83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions federator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,17 @@ To run the federator using Docker, go to the /federator/config folder and rename

```js
module.exports = {
mainchain: require('./rsktestnet-kovan.json'),
sidechain: [require('./kovan.json')],
mainchain: require('./rsktestnet.json'),
sidechain: [require('./sepolia.json')],
runEvery: 1, // In minutes,
confirmations: 10,// Number of blocks before processing it,
privateKey: process.env.FEDERATOR_KEY || '',
storagePath: './db',
etherscanApiKey: '<YOUR ETHERSCAN API KEY>',
runHeartbeatEvery: 1, // Frequency for emitting HeartBeat events
endpointsPort: 5000, // Server port health status endpoint listens on
federatorRetries: 0, // amount of federator retries on error, 0 means infinite
checkHttps: false,
}
```

Expand Down

0 comments on commit f502f83

Please sign in to comment.