From 780cfbf735f55e96658acbde52e6930b299eb73b Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 24 Sep 2024 11:11:12 +0200 Subject: [PATCH] update for marketplace address --- SETUP_HOME.md | 3 ++- codex.sh | 3 +-- docker-compose.yaml | 1 - scripts/run_testnet.sh | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/SETUP_HOME.md b/SETUP_HOME.md index f3c0af6..f17b396 100644 --- a/SETUP_HOME.md +++ b/SETUP_HOME.md @@ -93,7 +93,8 @@ These options are required to join the testnet: - `persistence` - Tells the node we want to enable marketplace interactions. - `--eth-private-key=FILE` - Set FILE to your private key file. - `--eth-provider=URL` - Set URL to the "Geth Public RPC" found [here](https://docs.codex.storage/networks/testnet) - - `--marketplace-address=ADDR` - Set ADDR to `0xB119d28d3A1bFD281b23A0890B4c1B626EE8F6F0` +The marketplace address should default to the correct testnet deployment. You can override it with: + - `--marketplace-address=ADDR` - Set ADDR to `0xCDef8d6884557be4F68dC265b6bB2E3e52a6C9d6` The above options allow you to join the testnet, exchange data, and purchase storage in the network. If you wish to *sell storage space* to the network, you must include one additional argument: - `prover` - Tells the node we want to enable storage space selling diff --git a/codex.sh b/codex.sh index ee265d8..2a14276 100644 --- a/codex.sh +++ b/codex.sh @@ -19,5 +19,4 @@ codex persistence \ --nat=$(curl https://ip.codex.storage) \ --circuit-dir=./codex-data/circuits \ --eth-private-key=eth.key \ - --eth-provider=https://rpc.testnet.codex.storage \ - --marketplace-address=0xB119d28d3A1bFD281b23A0890B4c1B626EE8F6F0 + --eth-provider=https://rpc.testnet.codex.storage diff --git a/docker-compose.yaml b/docker-compose.yaml index c0165a3..f9b568d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -25,7 +25,6 @@ services: - CODEX_ETH_PROVIDER=https://rpc.testnet.codex.storage/ - CODEX_VALIDATOR=false - PRIV_KEY=<<>> - - CODEX_MARKETPLACE_ADDRESS=0xB119d28d3A1bFD281b23A0890B4c1B626EE8F6F0 ports: - 8080:8080/tcp # API - 8090:8090/udp # Discovery diff --git a/scripts/run_testnet.sh b/scripts/run_testnet.sh index d75eb40..859f53c 100644 --- a/scripts/run_testnet.sh +++ b/scripts/run_testnet.sh @@ -20,5 +20,4 @@ chmod 0700 ${DATA_DIR} --bootstrap-node=${BOOTSPR} \ persistence \ --eth-private-key=${ETHKEY} \ - --eth-provider=https://rpc.testnet.codex.storage \ - --marketplace-address=0xB119d28d3A1bFD281b23A0890B4c1B626EE8F6F0 + --eth-provider=https://rpc.testnet.codex.storage