vega-frontend-monorepo/apps/explorer/.env

28 lines
1.3 KiB
Bash
Raw Normal View History

NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8
NX_ETHERSCAN_URL=https://sepolia.etherscan.io
NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz
NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks-internal/main/stagnet1/vegawallet-stagnet1.toml
NX_VEGA_ENV=STAGNET1
NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz
NX_VEGA_TOKEN_URL=https://stagnet1.governance.vega.xyz
NX_VEGA_WALLET_URL=http://localhost:1789
NX_TENDERMINT_URL=https://tm.n01.stagnet1.vega.xyz
NX_TENDERMINT_WEBSOCKET_URL=wss://tm.n01.stagnet1.vega.xyz/websocket
NX_BLOCK_EXPLORER=https://be.stagnet1.vega.xyz/rest
NX_ETHERSCAN_URL=https://sepolia.etherscan.io
NX_ORACLE_PROOFS_URL=https://raw.githubusercontent.com/vegaprotocol/well-known/main/__generated__/oracle-proofs.json
NX_VEGA_GOVERNANCE_URL=https://stagnet1.governance.vega.xyz
NX_ANNOUNCEMENTS_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/announcements/fairground/announcements.jsoo
NX_VEGA_NETWORKS='{"TESTNET":"https://explorer.fairground.wtf","MAINNET":"https://explorer.vega.xyz"}'
Feat/231-explorer-infinite-loading-blocks (#306) * Making a start with react-window-infinite-loader for the blocks infinite scrolling * WIP block explorer infinte scroll * WIP pairing * pairing tidying * Applied refetch url params more cleanly, moved useFetch to react-helpers lib * Add notice of new blocks created since page load, some cleanup of blocks-infinite-list.tsx component * Attempting a refresh of the 'new blocks' value in blocks-refetch.tsx * Correctly updating state based on previous value * Update libs/react-helpers/src/hooks/use-fetch.ts Co-authored-by: Matthew Russell <mattrussell36@gmail.com> * Update libs/react-helpers/src/hooks/use-fetch.ts Co-authored-by: Matthew Russell <mattrussell36@gmail.com> * Update apps/explorer/src/app/components/blocks/blocks-refetch.tsx Co-authored-by: Matthew Russell <mattrussell36@gmail.com> * Cleanup from convos and PR * Prettier formatting * struggling with websocket tests * struggling with websocket tests * Progress on websocket tests for blocks-refetch.tsx * Tests for blocks-refetch * Tests for blocks-infinite-list * Scroll test for blocks-infinite-list * Defined NOOP in blocks-infinite-list.tsx * Separate web sockets for each test * Separate web sockets for each test * Tweaked e2e tests to account for blocks taking longer to load * fix tests * Removed nx knowledge of empty simple-trading-app-e2e for now * mock at use fetch level instead of at fetch level * fix edge cases and add further tests * fix failing e2e tests * rename test * Update apps/explorer-e2e/src/support/pages/blocks-page.ts * Update apps/explorer-e2e/src/support/pages/blocks-page.ts * rename * test: use explicit wait for rather than times * style: remove console * test: correct env file * Revert "test: correct env file" This reverts commit d01d3cfa5e593cbb5ec06af4d3356bac842e61fa. * think env var is incorrect * correct env file * fix flakiness * add minor wait for test flakiness * longer timeout Co-authored-by: Dexter <dexter.edwards93@gmail.com> Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-05-13 11:03:08 +00:00
# App flags
Feat/dockerize frontends (#388) * feat: unhardcode contract addresses * fix: linting and tests * feat: switch contract usage in token app to use unhardcoded addresses * chore: remove other usage of hard coded contract addresses * feat: convert contracts to classes, update claim contract to fix circular dependency * feat: add hard coded contract addresses to contracts page * fix: misc tidy up * chore: rename ethers big num conversion func * fix: remove pending transactions modal * chore: add single toBigNum function that can accept number string or EthersBignNumber * chore: delete unused tranche helpers and decimals functions from smart contracts lib * feat: add faucetable token class * fix: reset tx state after early exit from approve tx * feat: re add transaction modal using zustand store * fix: loader colors for eth wallet * fix: pass ethereum config to gurantee existence before tx execution * add docker image for building explorer * add arg * env file changes * add docker file to build env file * add requirement for env file in explorer * fix env file syntax * containers functional * default to testnet * make env flag logic consistent in all places * pre populate env file * ensure working for all projects * address PR comment * generalising env for token * invert config dependency from ui toolkit * fix: merge issues * docs: running containers documentation * style: lint * fix: env varibales not being added properly * chore: fix merge issues * chore: fix docker file to support new exectutors * chore: set address on all contracts as a property * feat: pull token from contract rather than relying on env var * chore: fix typing * chore: remove duplicated prop * chore: don't use chainId * style: lint * style: lint * Merge branch 'master' into feat/dockerize-frontends * Merge remote-tracking branch 'origin/master' into feat/dockerize-frontends * test: revert changes to explorer e2e file * fix: creating client without base causing token to error * test: fix tests erroring in before hook due to file not being found * chore: remove node env from configurable flags Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-06-13 14:39:17 +00:00
NX_EXPLORER_ASSETS=1
NX_EXPLORER_GENESIS=1
NX_EXPLORER_GOVERNANCE=1
NX_EXPLORER_NETWORK_PARAMETERS=1
NX_EXPLORER_PARTIES=1
NX_EXPLORER_VALIDATORS=1
NX_EXPLORER_MARKETS=1
NX_EXPLORER_ORACLES=1
NX_EXPLORER_TXS_LIST=1