Skip to content

Commit

Permalink
it should be a sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfirefist committed Dec 18, 2023
1 parent a60279a commit 488ad9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions fortuna/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
config.yaml
2 changes: 1 addition & 1 deletion fortuna/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ registering a new randomness provider, or drawing a random value. To see the ava

To start an instance of the webserver for local testing, you first need to perform a few setup steps:

1. Edit `config.yaml` to point to the desired blockchains and Entropy contracts.
1. Create `config.yaml` file to point to the desired blockchains and Entropy contracts. Copy the content in `config.sample.yaml` to start with.
1. Generate a secret key. The secret key is a 32-byte random value used to construct the hash chains.
You can generate this value using the `openssl` command:
`openssl rand -hex 32`
Expand Down
6 changes: 6 additions & 0 deletions fortuna/config.sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
chains:
lightlink_pegasus:
geth_rpc_addr: https://replicator.pegasus.lightlink.io/rpc/v1
contract_addr: 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a
reveal_delay_blocks: 0
legacy_tx: true

0 comments on commit 488ad9b

Please sign in to comment.