Skip to content

Commit

Permalink
feat: demonet network config (#453)
Browse files Browse the repository at this point in the history
* add demonet network config

* chore: update api_host to empty string

We are not running the api host on demonet, and setting an empty string disables calls to the api.
  • Loading branch information
noryev authored Nov 26, 2024
1 parent bc8bb78 commit 732b5ad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hardhat/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ const config: HardhatUserConfig = {
chainId: 421614,
accounts: [getAccount('admin').privateKey],
},
demonet:{
url: 'https://demonet-chain-http.lilypad.tech',
chainId: 412347,
accounts: [getAccount('admin').privateKey],
},
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
Expand Down
20 changes: 20 additions & 0 deletions pkg/options/configs/demonet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[services]
solver = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
mediator = ["0x90F79bf6EB2c4f870365E785982E1f101E93b906"]
api_host = ""

[web3]
rpc_url = "wss://demonet-chain-ws.lilypad.tech"
chain_id = 412347
controller_address = "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f"
payments_address = "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
storage_address = "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e"
users_address = "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
token_address = "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
mediation_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
jobcreator_address = "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE"
pow_address = "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1"

[telemetry]
url = "https://observe.lilypad.tech"
token = "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJhdXRob3JpemVkIjp0cnVlLCJ1c2VyIjoicmVzb3VyY2UtcHJvdmlkZXIifQ.n36M_ngwC4XPQ_pEkkWAnPiOinnx6-0VO1v_WgCTUEERD7b_p9KHCU6SY5bUdFh5UXRZHAhc1gfyc7rjAnmeDQ"

0 comments on commit 732b5ad

Please sign in to comment.