From 7468898c81931881cfd863e353a9e2363d9e653d Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 4 Feb 2024 14:00:15 -0500 Subject: [PATCH] Bitcoin and Monero testnet scripts --- orchestration/testnet/coins/bitcoin/scripts/run.sh | 7 ++++++- orchestration/testnet/coins/monero/scripts/run.sh | 9 ++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/orchestration/testnet/coins/bitcoin/scripts/run.sh b/orchestration/testnet/coins/bitcoin/scripts/run.sh index d87f29eec..8f7584c31 100644 --- a/orchestration/testnet/coins/bitcoin/scripts/run.sh +++ b/orchestration/testnet/coins/bitcoin/scripts/run.sh @@ -1,3 +1,8 @@ #!/bin/bash -exit 1 +RPC_USER="${RPC_USER:=serai}" +RPC_PASS="${RPC_PASS:=seraidex}" + +bitcoind -txindex -testnet -port=8333 \ + -rpcuser=$RPC_USER -rpcpassword=$RPC_PASS \ + -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -rpcport=8332 diff --git a/orchestration/testnet/coins/monero/scripts/run.sh b/orchestration/testnet/coins/monero/scripts/run.sh index 2bb8d868b..d1ce89fa3 100644 --- a/orchestration/testnet/coins/monero/scripts/run.sh +++ b/orchestration/testnet/coins/monero/scripts/run.sh @@ -1,3 +1,10 @@ #!/bin/sh -exit 1 +RPC_USER="${RPC_USER:=serai}" +RPC_PASS="${RPC_PASS:=seraidex}" + +# Run Monero +monerod --non-interactive --testnet \ + --no-zmq --rpc-bind-ip=0.0.0.0 --rpc-bind-port=18081 --confirm-external-bind \ + --rpc-access-control-origins "*" --disable-rpc-ban \ + --rpc-login=$RPC_USER:$RPC_PASS