Skip to content

Commit

Permalink
Merge branch 'main' into feature/pprof
Browse files Browse the repository at this point in the history
  • Loading branch information
ironbeer committed Jan 18, 2024
2 parents 59797ef + a2c740b commit 1c69e4c
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ mkdir /home/geth/.oasvlfy
chown geth:geth /home/geth/.oasvlfy
```

Create a configuration file. [Click here for a sample.](./readme/config.yml)
Create a configuration file.
- [Mainnet sample](https://github.com/oasysgames/verse-verifier/blob/main/readme/config-mainnet.yml)
- [Testnet sample](https://github.com/oasysgames/verse-verifier/blob/main/readme/config-testnet.yml)

> Open the TCP port that P2P listens on the firewall.
```shell
# Mainnet
curl -O /home/geth/.oasvlfy/config.yml \
https://raw.githubusercontent.com/oasysgames/verse-verifier/main/readme/config.yml
https://raw.githubusercontent.com/oasysgames/verse-verifier/main/readme/config-mainnet.yml

# Testnet
curl -O /home/geth/.oasvlfy/config.yml \
https://raw.githubusercontent.com/oasysgames/verse-verifier/main/readme/config-testnet.yml

# and edit
```
Expand Down
File renamed without changes.
47 changes: 47 additions & 0 deletions readme/config-testnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Datastore directory path
datastore: /home/geth/.oasvlfy

# Keystore directory path
keystore: /home/geth/.ethereum/keystore

wallets:
# Wallet used by Verifier (Usually the same address as geth)
signer:
address: '0x'
# password: /home/geth/.ethereum/password.txt

# Wallet used by Submitter (gas is required)
# submitter:
# address: '0x'

# Hub-Layer settings
hub_layer:
chain_id: 9372
rpc: wss://ws.testnet.oasys.games/

# Verse-Layer settings
verse_layer:
discovery:
endpoint: https://cdn.testnet.oasys.games/_oasvlfy/verse-layers.v1.json

# P2P node
p2p:
listen: 0.0.0.0:4101
bootnodes:
- /ip4/34.142.254.12/tcp/4101/p2p/12D3KooWMQpbQbv9vuGj2dWQHQX6K5oHPupTTSEMNzZWJQqgsBMU

# IPC server
ipc:
enable: true

# Verification worker
verifier:
enable: true
wallet: signer

# Signature submitting worker
submitter:
enable: false # Only enable for Verse Builder
targets:
- chain_id: 420 # Chain ID of your Verse-Layer(testnet)
wallet: submitter

0 comments on commit 1c69e4c

Please sign in to comment.