bridge env generic
This commit is contained in:
parent
5f95b7d3ac
commit
a03053efa1
|
@ -5,7 +5,7 @@ const env = process.env.NODE_ENV || "local";
|
|||
dotenv.config({ path: `.env.${env}` });
|
||||
|
||||
async function main() {
|
||||
if (!process.env.BASE_BRIDGE_ADDRESS) throw "Bridge address not defined";
|
||||
if (!process.env.BRIDGE_ADDRESS) throw "Bridge address not defined";
|
||||
if (!process.env.TOKEN_NAME) throw "Token name not defined";
|
||||
if (!process.env.TOKEN_SYMBOL) throw "Token symbol not defined";
|
||||
|
||||
|
|
Loading…
Reference in New Issue