-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: updated example env files * feat: added fallback values * ci: updated ci start command * ci: wrapped start command in quotes * feat: removed unused envs * ci: disable e2e * ci: comment out job
- Loading branch information
Showing
14 changed files
with
110 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
INFURA_KEY=xxx | ||
WC_PROJECT_ID=xxx | ||
BOARDROOM_KEY=xxx | ||
WC_PROJECT_ID=5075a2da602e17eec34aa77b40b321be | ||
BOARDROOM_KEY=d9abe7a1ab45ace58e6bd91bb9771586 | ||
DEV=false | ||
DEV_RPC_MOTHERSHIP=http://127.0.0.1:19000 | ||
TESTNET=false | ||
CI=true | ||
CI=false | ||
CI_RPC_MOTHERSHIP=http://127.0.0.1:8545 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { providers } from 'ethers'; | ||
|
||
export const motherShipProvider = new providers.JsonRpcProvider( | ||
process.env.DEV === 'true' | ||
? process.env.DEV_RPC_MOTHERSHIP | ||
: process.env.CI === 'true' | ||
export const motherShipProvider = (networkId?: number) => { | ||
return new providers.JsonRpcProvider( | ||
process.env.CI === 'true' | ||
? process.env.CI_RPC_MOTHERSHIP | ||
: process.env.TESTNET === 'true' | ||
: networkId === 13001 | ||
? 'https://testnet.snaxchain.io/' | ||
: 'https://mainnet.snaxchain.io/' | ||
); | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters