diff --git a/packages/relayer/.env.example b/packages/relayer/.env.example index e93993e..79c4f59 100644 --- a/packages/relayer/.env.example +++ b/packages/relayer/.env.example @@ -1,5 +1,6 @@ +ORAI_RPC_URL= # ORAI RPC URL XRPL_SERVER="wss://s1.ripple.com/" -MNEMONIC_ENCRYPTED= +ORAI_MNEMONIC_ENCRYPTED= XRPL_SEED_ENCRYPTED= # or XRPL_MNEMONIC_ENCRYPTED, XRPL_SECRET_ENCRYPTED LAST_LEDGER=-1 CW_BRIDGE_ADDRESS=orai1ce35tj5jas8wg3p3d8927j3qykxe70y3kxe8pddca3xfd50wzncqr5g8uh diff --git a/packages/relayer/src/helper.ts b/packages/relayer/src/helper.ts index f5ebbec..63b0bd0 100644 --- a/packages/relayer/src/helper.ts +++ b/packages/relayer/src/helper.ts @@ -60,7 +60,7 @@ export const getOraiSigner = async (): Promise => { process.env.MNEMONIC ?? decryptMnemonic( "enter orai passphrase: ", - process.env.MNEMONIC_ENCRYPTED + process.env.ORAI_MNEMONIC_ENCRYPTED ), { hdPaths: [stringToPath(process.env.HD_PATH || "m/44'/118'/0'/0/0")], diff --git a/packages/relayer/src/relayer.ts b/packages/relayer/src/relayer.ts index a8b0774..80c5198 100644 --- a/packages/relayer/src/relayer.ts +++ b/packages/relayer/src/relayer.ts @@ -72,7 +72,7 @@ export class XrplBridgeRelayer { } export default async (yargs: Argv) => { - const oraiRpcUrl = process.env.RPC_URL ?? "https://rpc.orai.io"; + const oraiRpcUrl = process.env.ORAI_RPC_URL ?? "https://rpc.orai.io"; const xrplServer = process.env.XRPL_SERVER ?? "wss://xrplcluster.com/"; const lastLedger = Number(process.env.LAST_LEDGER) || -1;