Call it what it is
This app requires a connection to a Bcoin Bitcoin node, other options
such as Bitcoind don't work.  To reenforce this notion we're updating
the env var configs for Bcoin host/port/api to BCOIN from BITCOIN.  This
naming also matches closely with the related relayer vars.
@@ -74,11 +74,11 @@ async function createRelayMaintainerConfig() {
const ethURL = new URL(process.env.ETH_RPC_URL)
const ethNetworkName = process.env.ETH_NETWORK_NAME
- // Do not include the protocol for BITCOIN_HOST.
+ // Do not include the protocol for BCOIN_HOST.
// It's added on by the app.
- const bcoinHost = process.env.BITCOIN_HOST
- const bcoinPort = process.env.BITCOIN_PORT
- const bcoinApiKey = process.env.BITCOIN_API_KEY
+ const bcoinHost = process.env.BCOIN_HOST
+ const bcoinPort = process.env.BCOIN_PORT
+ const bcoinApiKey = process.env.BCOIN_API_KEY
const infuraKey = ""
const finalEnv =
