Skip to content

Commit

Permalink
fix: code-review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sandrk committed Dec 18, 2023
2 parents b182f89 + 1f28819 commit 74ad358
Show file tree
Hide file tree
Showing 51 changed files with 1,092 additions and 447 deletions.
3 changes: 1 addition & 2 deletions .devArbitrum.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CHAIN_ID=421613
SYMBOL_LMR=gaLMR
SYMBOL_ETH=gaETH

PROXY_ROUTER_URL=http://proxy.dev.lumerin.io:8080
EXPLORER_URL=https://arbiscan.io/tx/{{hash}}
EXPLORER_API_URLS=["https://api.arbiscan.io/api"]
ETH_NODE_ADDRESS=
ETH_NODE_ADDRESS_HTTP=
IP_LOOKUP_URL=https://ifconfig.io/ip
Expand All @@ -14,7 +14,6 @@ LMR_DEFAULT_GAS_LIMIT=999999
DEFAULT_GAS_PRICE=1000000000
MAX_GAS_PRICE=20000000000000000

REQUIRED_PASSWORD_ENTROPY=72
SENTRY_DSN=
TRACKING_ID=

Expand Down
25 changes: 0 additions & 25 deletions .devGoerli.env

This file was deleted.

5 changes: 1 addition & 4 deletions .devSepolia.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ SYMBOL_ETH=sETH

LUMERIN_TOKEN_ADDRESS=0x9072495AFc2D59d857118ee59b4EF6cfc407D103
CLONE_FACTORY_ADDRESS=0xBC2776b15F0CD5eF9f8E443b22B9690b579C0506
FAUCET_ADDRESS=0xFE64cAE7Ca5166c8bb0e014e2D402f8d22764f24

PROXY_ROUTER_URL=http://proxy.dev.lumerin.io:8080
EXPLORER_URL=https://sepolia.etherscan.io/tx/{{hash}}
EXPLORER_API_URLS=["https://api-sepolia.etherscan.io/api", "https://eth-sepolia.blockscout.com/api"]
ETH_NODE_ADDRESS=wss://sepolia.infura.io/ws/v3/API_KEY
ETH_NODE_ADDRESS_HTTP=https://rpc.ankr.com/eth_sepolia
IP_LOOKUP_URL=https://ifconfig.io/ip
Expand All @@ -20,8 +19,6 @@ LMR_DEFAULT_GAS_LIMIT=999999
DEFAULT_GAS_PRICE=1000000000
MAX_GAS_PRICE=20000000000000000

REQUIRED_PASSWORD_ENTROPY=72

RECAPTCHA_SITE_KEY=1
FAUCET_URL=https://faucet.dev.lumerin.io/
SHOW_FAUCET=true
Expand Down
27 changes: 27 additions & 0 deletions .devSepoliaArbitrum.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
DISPLAY_NAME=Sepolia Arbitrum
CHAIN_ID=421614
SYMBOL_LMR=saLMR
SYMBOL_ETH=saETH

EXPLORER_URL=https://sepolia.arbiscan.io/tx/{{hash}}
EXPLORER_API_URLS=["https://api-sepolia.arbiscan.io/api"]
ETH_NODE_ADDRESS=
ETH_NODE_ADDRESS_HTTP=["https://arbitrum-sepolia.blockpi.network/v1/rpc/public","https://sepolia-rollup.arbitrum.io/rpc","https://arbitrum-sepolia.publicnode.com"]
IP_LOOKUP_URL=https://ifconfig.io/ip

COIN_DEFAULT_GAS_LIMIT=999999
LMR_DEFAULT_GAS_LIMIT=999999
DEFAULT_GAS_PRICE=1000000000
MAX_GAS_PRICE=20000000000000000

SENTRY_DSN=
TRACKING_ID=

RECAPTCHA_SITE_KEY=
FAUCET_URL=https://faucet.dev.lumerin.io/
SHOW_FAUCET=true
LUMERIN_TOKEN_ADDRESS=0xC27DafaD85F199FD50dD3FD720654875D6815871
CLONE_FACTORY_ADDRESS=0x15437978300786aDe37f61e02Be1C061e51353D3

TITAN_LIGHTNING_POOL=pplp.titan.io:4141
DEFAULT_SELLER_CURRENCY=BTC
73 changes: 39 additions & 34 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ jobs:
os: macos-latest
runs-on: ${{ matrix.os }}
environment: ${{ matrix.environment }}
env:
CHAIN_ID: ${{ secrets.CHAIN_ID }}
EXPLORER_URL: ${{ secrets.EXPLORER_URL }}
DISPLAY_NAME: ${{ secrets.DISPLAY_NAME }}
SYMBOL: ${{ secrets.SYMBOL }}
SYMBOL_ETH: ${{ secrets.SYMBOL_ETH }}
SYMBOL_LMR: ${{ secrets.SYMBOL_LMR }}
PROXY_ROUTER_URL: ${{ secrets.PROXY_ROUTER_URL }}
COIN_DEFAULT_GAS_LIMIT: ${{ secrets.COIN_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ secrets.MAX_GAS_PRICE }}
LMR_DEFAULT_GAS_LIMIT: ${{ secrets.LMR_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ secrets.DEFAULT_GAS_PRICE }}
REQUIRED_PASSWORD_ENTROPY: ${{ secrets.REQUIRED_PASSWORD_ENTROPY }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
FAUCET_URL: ${{ secrets.FAUCET_URL }}
SHOW_FAUCET: ${{ secrets.SHOW_FAUCET }}
env: # keep alphabetical order
CHAIN_ID: ${{ vars.CHAIN_ID }}
COIN_DEFAULT_GAS_LIMIT: ${{ vars.COIN_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ vars.DEFAULT_GAS_PRICE }}
DISPLAY_NAME: ${{ vars.DISPLAY_NAME }}
ETH_NODE_ADDRESS_HTTP: ${{ vars.ETH_NODE_ADDRESS_HTTP }}
TITAN_LIGHTNING_POOL: ${{ secrets.TITAN_LIGHTNING_POOL }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
EXPLORER_API_URLS: ${{ vars.EXPLORER_API_URLS }}
EXPLORER_URL: ${{ vars.EXPLORER_URL }}
FAUCET_URL: ${{ vars.FAUCET_URL }}
LMR_DEFAULT_GAS_LIMIT: ${{ vars.LMR_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ vars.MAX_GAS_PRICE }}
PORT_CHECK_ERROR_LINK: ${{ vars.PORT_CHECK_ERROR_LINK }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
SELLER_WHITELIST_URL: ${{ vars.SELLER_WHITELIST_URL }}
SHOW_FAUCET: ${{ vars.SHOW_FAUCET }}
SYMBOL_ETH: ${{ vars.SYMBOL_ETH }}
SYMBOL_LMR: ${{ vars.SYMBOL_LMR }}
TITAN_LIGHTNING_DASHBOARD: ${{ vars.TITAN_LIGHTNING_DASHBOARD }}
TITAN_LIGHTNING_POOL: ${{ vars.TITAN_LIGHTNING_POOL }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -60,28 +60,33 @@ jobs:
- name: Post install
if: matrix.target == 'macos-arm'
run: npm run postinstallMacDist
- name: Set env from github
run: |
- name: Set env from github
# keep alphabetical order
run: |
echo "CHAIN_ID=$CHAIN_ID" >> .env
echo "EXPLORER_URL=$EXPLORER_URL" >> .env
echo "DISPLAY_NAME=$DISPLAY_NAME" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "COIN_DEFAULT_GAS_LIMIT=$COIN_DEFAULT_GAS_LIMIT" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "LMR_DEFAULT_GAS_LIMIT=$LMR_DEFAULT_GAS_LIMIT" >> .env
echo "DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY" >> .env
echo "FAUCET_URL=$FAUCET_URL" >> .env
echo "SHOW_FAUCET=$SHOW_FAUCET" >> .env
echo "DEV_TOOLS=true" >> .env
echo "DISPLAY_NAME=$DISPLAY_NAME" >> .env
echo "ETH_NODE_ADDRESS_HTTP=$ETH_NODE_ADDRESS_HTTP" >> .env
echo "TITAN_LIGHTNING_POOL=$TITAN_LIGHTNING_POOL" >> .env
echo "EXPLORER_API_URLS=$EXPLORER_API_URLS" >> .env
echo "EXPLORER_URL=$EXPLORER_URL" >> .env
echo "FAUCET_URL=$FAUCET_URL" >> .env
echo "LMR_DEFAULT_GAS_LIMIT=$LMR_DEFAULT_GAS_LIMIT" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "NODE_ENV=production" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PORT_CHECK_ERROR_LINK=$PORT_CHECK_ERROR_LINK" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "SELLER_WHITELIST_URL=$SELLER_WHITELIST_URL" >> .env
echo "SHOW_FAUCET=$SHOW_FAUCET" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "TITAN_LIGHTNING_DASHBOARD=$TITAN_LIGHTNING_DASHBOARD" >> .env
echo "TITAN_LIGHTNING_POOL=$TITAN_LIGHTNING_POOL" >> .env
shell: bash
- name: Set env from gitlab
run: |
Expand Down
66 changes: 35 additions & 31 deletions .github/workflows/auto-release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,26 @@ jobs:
asset_name: lumerin_v${{github.ref_name}}_arm.dmg
runs-on: ${{ matrix.os }}
environment: ${{ matrix.environment }}
env:
CHAIN_ID: ${{ secrets.CHAIN_ID }}
EXPLORER_URL: ${{ secrets.EXPLORER_URL }}
DISPLAY_NAME: ${{ secrets.DISPLAY_NAME }}
SYMBOL: ${{ secrets.SYMBOL }}
SYMBOL_ETH: ${{ secrets.SYMBOL_ETH }}
SYMBOL_LMR: ${{ secrets.SYMBOL_LMR }}
PROXY_ROUTER_URL: ${{ secrets.PROXY_ROUTER_URL }}
COIN_DEFAULT_GAS_LIMIT: ${{ secrets.COIN_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ secrets.MAX_GAS_PRICE }}
LMR_DEFAULT_GAS_LIMIT: ${{ secrets.LMR_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ secrets.DEFAULT_GAS_PRICE }}
REQUIRED_PASSWORD_ENTROPY: ${{ secrets.REQUIRED_PASSWORD_ENTROPY }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
FAUCET_URL: ${{ secrets.FAUCET_URL }}
SHOW_FAUCET: ${{ secrets.SHOW_FAUCET }}
env: # keep alphabetical order
CHAIN_ID: ${{ vars.CHAIN_ID }}
COIN_DEFAULT_GAS_LIMIT: ${{ vars.COIN_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ vars.DEFAULT_GAS_PRICE }}
DISPLAY_NAME: ${{ vars.DISPLAY_NAME }}
ETH_NODE_ADDRESS_HTTP: ${{ vars.ETH_NODE_ADDRESS_HTTP }}
TITAN_LIGHTNING_POOL: ${{ secrets.TITAN_LIGHTNING_POOL }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
EXPLORER_API_URLS: ${{ vars.EXPLORER_API_URLS }}
EXPLORER_URL: ${{ vars.EXPLORER_URL }}
FAUCET_URL: ${{ vars.FAUCET_URL }}
LMR_DEFAULT_GAS_LIMIT: ${{ vars.LMR_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ vars.MAX_GAS_PRICE }}
PORT_CHECK_ERROR_LINK: ${{ vars.PORT_CHECK_ERROR_LINK }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
SELLER_WHITELIST_URL: ${{ vars.SELLER_WHITELIST_URL }}
SHOW_FAUCET: ${{ vars.SHOW_FAUCET }}
SYMBOL_ETH: ${{ vars.SYMBOL_ETH }}
SYMBOL_LMR: ${{ vars.SYMBOL_LMR }}
TITAN_LIGHTNING_DASHBOARD: ${{ vars.TITAN_LIGHTNING_DASHBOARD }}
TITAN_LIGHTNING_POOL: ${{ vars.TITAN_LIGHTNING_POOL }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -67,28 +67,32 @@ jobs:
if: matrix.target == 'macos-arm'
run: npm run postinstallMacDist
- name: Set env from github
# keep alphabetical order
run: |
echo "CHAIN_ID=$CHAIN_ID" >> .env
echo "COIN_DEFAULT_GAS_LIMIT=$COIN_DEFAULT_GAS_LIMIT" >> .env
echo "DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE" >> .env
echo "DEV_TOOLS=true" >> .env
echo "DISPLAY_NAME=$DISPLAY_NAME" >> .env
echo "ETH_NODE_ADDRESS_HTTP=$ETH_NODE_ADDRESS_HTTP" >> .env
echo "EXPLORER_API_URLS=$EXPLORER_API_URLS" >> .env
echo "EXPLORER_URL=$EXPLORER_URL" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "COIN_DEFAULT_GAS_LIMIT=$COIN_DEFAULT_GAS_LIMIT" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "FAUCET_URL=$FAUCET_URL" >> .env
echo "LMR_DEFAULT_GAS_LIMIT=$LMR_DEFAULT_GAS_LIMIT" >> .env
echo "DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "NODE_ENV=production" >> .env
echo "PORT_CHECK_ERROR_LINK=$PORT_CHECK_ERROR_LINK" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY" >> .env
echo "FAUCET_URL=$FAUCET_URL" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "SELLER_WHITELIST_URL=$SELLER_WHITELIST_URL" >> .env
echo "SHOW_FAUCET=$SHOW_FAUCET" >> .env
echo "NODE_ENV=production" >> .env
echo "ETH_NODE_ADDRESS_HTTP=$ETH_NODE_ADDRESS_HTTP" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "TITAN_LIGHTNING_DASHBOARD=$TITAN_LIGHTNING_DASHBOARD" >> .env
echo "TITAN_LIGHTNING_POOL=$TITAN_LIGHTNING_POOL" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PORT_CHECK_ERROR_LINK=$PORT_CHECK_ERROR_LINK" >> .env
shell: bash
- name: Set env from gitlab
run: |
Expand Down
69 changes: 37 additions & 32 deletions .github/workflows/auto-release-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,26 @@ jobs:
asset_name: lumerin_v${{github.ref_name}}_arm.dmg
runs-on: ${{ matrix.os }}
environment: ${{ matrix.environment }}
env:
CHAIN_ID: ${{ secrets.CHAIN_ID }}
EXPLORER_URL: ${{ secrets.EXPLORER_URL }}
DISPLAY_NAME: ${{ secrets.DISPLAY_NAME }}
SYMBOL: ${{ secrets.SYMBOL }}
SYMBOL_ETH: ${{ secrets.SYMBOL_ETH }}
SYMBOL_LMR: ${{ secrets.SYMBOL_LMR }}
PROXY_ROUTER_URL: ${{ secrets.PROXY_ROUTER_URL }}
COIN_DEFAULT_GAS_LIMIT: ${{ secrets.COIN_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ secrets.MAX_GAS_PRICE }}
LMR_DEFAULT_GAS_LIMIT: ${{ secrets.LMR_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ secrets.DEFAULT_GAS_PRICE }}
REQUIRED_PASSWORD_ENTROPY: ${{ secrets.REQUIRED_PASSWORD_ENTROPY }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
FAUCET_URL: ${{ secrets.FAUCET_URL }}
SHOW_FAUCET: ${{ secrets.SHOW_FAUCET }}
env: # keep alphabetical order
CHAIN_ID: ${{ vars.CHAIN_ID }}
COIN_DEFAULT_GAS_LIMIT: ${{ vars.COIN_DEFAULT_GAS_LIMIT }}
DEFAULT_GAS_PRICE: ${{ vars.DEFAULT_GAS_PRICE }}
DISPLAY_NAME: ${{ vars.DISPLAY_NAME }}
ETH_NODE_ADDRESS_HTTP: ${{ vars.ETH_NODE_ADDRESS_HTTP }}
TITAN_LIGHTNING_POOL: ${{ secrets.TITAN_LIGHTNING_POOL }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
EXPLORER_API_URLS: ${{ vars.EXPLORER_API_URLS }}
EXPLORER_URL: ${{ vars.EXPLORER_URL }}
FAUCET_URL: ${{ vars.FAUCET_URL }}
LMR_DEFAULT_GAS_LIMIT: ${{ vars.LMR_DEFAULT_GAS_LIMIT }}
MAX_GAS_PRICE: ${{ vars.MAX_GAS_PRICE }}
PORT_CHECK_ERROR_LINK: ${{ vars.PORT_CHECK_ERROR_LINK }}
PORT_CHECKER_URL: ${{ vars.PORT_CHECKER_URL }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
SELLER_WHITELIST_URL: ${{ vars.SELLER_WHITELIST_URL }}
SHOW_FAUCET: ${{ vars.SHOW_FAUCET }}
SYMBOL_ETH: ${{ vars.SYMBOL_ETH }}
SYMBOL_LMR: ${{ vars.SYMBOL_LMR }}
TITAN_LIGHTNING_DASHBOARD: ${{ vars.TITAN_LIGHTNING_DASHBOARD }}
TITAN_LIGHTNING_POOL: ${{ vars.TITAN_LIGHTNING_POOL }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -67,27 +67,32 @@ jobs:
if: matrix.target == 'macos-arm'
run: npm run postinstallMacDist
- name: Set env from github
# keep alphabetical order
run: |
echo "CHAIN_ID=$CHAIN_ID" >> .env
echo "EXPLORER_URL=$EXPLORER_URL" >> .env
echo "DISPLAY_NAME=$DISPLAY_NAME" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "COIN_DEFAULT_GAS_LIMIT=$COIN_DEFAULT_GAS_LIMIT" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "LMR_DEFAULT_GAS_LIMIT=$LMR_DEFAULT_GAS_LIMIT" >> .env
echo "DEFAULT_GAS_PRICE=$DEFAULT_GAS_PRICE" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY" >> .env
echo "DEV_TOOLS=true" >> .env
echo "DISPLAY_NAME=$DISPLAY_NAME" >> .env
echo "ETH_NODE_ADDRESS_HTTP=$ETH_NODE_ADDRESS_HTTP" >> .env
echo "EXPLORER_API_URLS=$EXPLORER_API_URLS" >> .env
echo "EXPLORER_URL=$EXPLORER_URL" >> .env
echo "FAUCET_URL=$FAUCET_URL" >> .env
echo "SHOW_FAUCET=$SHOW_FAUCET" >> .env
echo "LMR_DEFAULT_GAS_LIMIT=$LMR_DEFAULT_GAS_LIMIT" >> .env
echo "MAX_GAS_PRICE=$MAX_GAS_PRICE" >> .env
echo "NODE_ENV=production" >> .env
echo "ETH_NODE_ADDRESS_HTTP=$ETH_NODE_ADDRESS_HTTP" >> .env
echo "TITAN_LIGHTNING_POOL=$TITAN_LIGHTNING_POOL" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PORT_CHECK_ERROR_LINK=$PORT_CHECK_ERROR_LINK" >> .env
echo "PORT_CHECKER_URL=$PORT_CHECKER_URL" >> .env
echo "PROXY_ROUTER_URL=$PROXY_ROUTER_URL" >> .env
echo "RECAPTCHA_SITE_KEY=$RECAPTCHA_SITE_KEY" >> .env
echo "REQUIRED_PASSWORD_ENTROPY=$REQUIRED_PASSWORD_ENTROPY" >> .env
echo "SELLER_WHITELIST_URL=$SELLER_WHITELIST_URL" >> .env
echo "SHOW_FAUCET=$SHOW_FAUCET" >> .env
echo "SYMBOL_ETH=$SYMBOL_ETH" >> .env
echo "SYMBOL_LMR=$SYMBOL_LMR" >> .env
echo "SYMBOL=$SYMBOL" >> .env
echo "TITAN_LIGHTNING_DASHBOARD=$TITAN_LIGHTNING_DASHBOARD" >> .env
echo "TITAN_LIGHTNING_POOL=$TITAN_LIGHTNING_POOL" >> .env
shell: bash
- name: Set env from gitlab
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Auto Tag
uses: butlerlogic/action-autotag@stable
uses: butlerlogic/action-autotag@1.1.2
if: github.ref != 'refs/heads/main'
env:
GITHUB_TOKEN: "${{ secrets.ACCESS_TOKEN }}"
Expand Down
Loading

0 comments on commit 74ad358

Please sign in to comment.