Skip to content

Commit

Permalink
Add config for running commands for omega env (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergekh2 authored May 25, 2024
1 parent f727146 commit 91395c8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions core/node/env/omega/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# For running server in info mode ('info' command)
port: 4040
useHttps: false

# Blockchain configuration
baseChain:
chainId: 84532
networkUrl: 'https://nexus-rpc-worker-test-beta.towns.com/84532?key=NOT_SET'
blockTimeMs: 2000
riverChain:
chainId: 550
networkUrl: 'https://mainnet.rpc.river.build'
blockTimeMs: 2000

# Base contracts TODO: not set yet
architectContract:
address: '0x0000000000000000000000000000000000000000'

# River contracts
registryContract:
address: '0x1298c03Fde548dc433a452573E36A713b38A0404'

# Disable logging
log:
file: ''
level: info
console: true
noColor: false
format: text
5 changes: 5 additions & 0 deletions core/node/env/omega/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euo pipefail
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")"

go run ../../node/main.go --config config.yaml $@

0 comments on commit 91395c8

Please sign in to comment.