Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/shapeshift/web into deve…
Browse files Browse the repository at this point in the history
…lop2

� Conflicts:
�	package.json
  • Loading branch information
BitHighlander committed Apr 9, 2024
2 parents 43eba47 + d3f4241 commit 3680c33
Show file tree
Hide file tree
Showing 1,579 changed files with 160,558 additions and 73,622 deletions.
16 changes: 9 additions & 7 deletions .env.app
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# feature flags
REACT_APP_FEATURE_CHATWOOT=true
REACT_APP_FEATURE_LIFI_SWAP=true

# mixpanel
REACT_APP_MIXPANEL_TOKEN=9d304465fc72224aead9e027e7c24356
Expand All @@ -19,6 +20,8 @@ REACT_APP_UNCHAINED_GNOSIS_HTTP_URL=https://api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_GNOSIS_WS_URL=wss://api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://api.dogecoin.shapeshift.com
Expand All @@ -33,15 +36,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://api.thorchain.shapeshift.com
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://api.thorchain.shapeshift.com

# nodes
REACT_APP_ETHEREUM_NODE_URL=https://daemon.ethereum.shapeshift.com
REACT_APP_ETHEREUM_INFURA_URL=https://mainnet.infura.io/v3/6e2f28ff4f5340fdb0db5da3baec0af2
REACT_APP_AVALANCHE_NODE_URL=https://daemon.avalanche.shapeshift.com/ext/bc/C/rpc
REACT_APP_ETHEREUM_NODE_URL=https://api.ethereum.shapeshift.com/api/v1/jsonrpc
REACT_APP_AVALANCHE_NODE_URL=https://api.avalanche.shapeshift.com/api/v1/jsonrpc
REACT_APP_OPTIMISM_NODE_URL=https://daemon.optimism.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://daemon.bnbsmartchain.shapeshift.com
REACT_APP_POLYGON_NODE_URL=https://daemon.polygon.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://api.bnbsmartchain.shapeshift.com/api/v1/jsonrpc
REACT_APP_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://daemon.arbitrum.shapeshift.com
REACT_APP_COSMOS_NODE_URL=https://daemon.cosmos.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com

# thorchain
Expand Down
40 changes: 24 additions & 16 deletions .env.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@

# feature flags - other .env files will override these
REACT_APP_FEATURE_ARKEO_AIRDROP=true
REACT_APP_FEATURE_AXELAR=false
REACT_APP_FEATURE_BNBSMARTCHAIN=true
REACT_APP_FEATURE_POLYGON=true
REACT_APP_FEATURE_GNOSIS=true
REACT_APP_FEATURE_ARBITRUM=false
REACT_APP_FEATURE_ARBITRUM=true
REACT_APP_FEATURE_ARBITRUM_NOVA=false
REACT_APP_FEATURE_JAYPEGZ=true
REACT_APP_FEATURE_DASHBOARD_TABS=true
REACT_APP_FEATURE_DEFI_DASHBOARD=true
REACT_APP_FEATURE_IDLE=true
REACT_APP_FEATURE_MIXPANEL=true
REACT_APP_FEATURE_OPTIMISM=true
REACT_APP_FEATURE_SAVERS_VAULTS=true
REACT_APP_FEATURE_SAVERS_VAULTS_DEPOSIT=true
REACT_APP_FEATURE_SAVERS_VAULTS_WITHDRAW=true
REACT_APP_FEATURE_TRADE_RATES=true
REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS_V2=true
REACT_APP_FEATURE_WALLET_CONNECT_TO_DAPPS=true
REACT_APP_FEATURE_WHEREVER=true
REACT_APP_FEATURE_YAT=true
REACT_APP_FEATURE_YEARN=false
Expand All @@ -24,8 +26,17 @@ REACT_APP_FEATURE_NFT_METADATA=false
REACT_APP_FEATURE_CHATWOOT=false
REACT_APP_FEATURE_COINBASE_WALLET=true
REACT_APP_FEATURE_ADVANCED_SLIPPAGE=true
REACT_APP_FEATURE_WALLET_CONNECT_V2=false
REACT_APP_FEATURE_FOX_DISCOUNTS=false
REACT_APP_FEATURE_LEDGER_WALLET=true
REACT_APP_FEATURE_WALLET_CONNECT_V2=true
REACT_APP_FEATURE_FOX_DISCOUNTS=true
REACT_APP_FEATURE_THORCHAIN_LENDING=true
REACT_APP_FEATURE_THORCHAIN_LENDING_BORROW=true
REACT_APP_FEATURE_THORCHAIN_LENDING_REPAY=true
REACT_APP_FEATURE_THORCHAINSWAP_LONGTAIL=true
REACT_APP_FEATURE_SHAPESHIFT_MOBILE_WALLET=false
REACT_APP_FEATURE_THORCHAIN_LP=true
REACT_APP_FEATURE_THORCHAIN_LP_DEPOSIT=true
REACT_APP_FEATURE_THORCHAIN_LP_WITHDRAW=true

# absolute URL prefix
REACT_APP_ABSOLUTE_URL_PREFIX=https://app.shapeshift.com
Expand All @@ -39,10 +50,9 @@ REACT_APP_FEATURE_READ_ONLY_ASSETS=true
REACT_APP_FEATURE_COWSWAP=true
REACT_APP_FEATURE_COWSWAP_GNOSIS=true
REACT_APP_FEATURE_LIFI_SWAP=true
REACT_APP_FEATURE_ONE_INCH=true
REACT_APP_FEATURE_ONE_INCH=false
REACT_APP_FEATURE_THOR_SWAP=true
REACT_APP_FEATURE_THOR_SWAP_STREAMING_SWAPS=true
REACT_APP_FEATURE_THOR_SWAP_AFFILIATE_FEES=false
REACT_APP_FEATURE_ZRX_SWAP=true

# chat woot
Expand Down Expand Up @@ -78,6 +88,10 @@ REACT_APP_TOKEMAK_STATS_URL=https://stats.tokemaklabs.com/
# market data
REACT_APP_COINGECKO_API_KEY=CG-we5Z4KbdYMCgMUVAqDjQMWfc

# fiat currencies data
REACT_APP_EXCHANGERATEHOST_BASE_URL=https://api.exchangerate.host
REACT_APP_EXCHANGERATEHOST_API_KEY=8f7515ffddef9d3e449b45f93108ca4d

# unstoppable domains resolution
REACT_APP_ALCHEMY_API_KEY=3DnVf4ZoxBk0W0TZcipqAhmATm7uc1vE

Expand Down Expand Up @@ -113,6 +127,7 @@ REACT_APP_MTPELERIN_ASSETS_API=https://api.mtpelerin.com/currencies/tokens
REACT_APP_MTPELERIN_BUY_URL=https://buy.mtpelerin.com/
REACT_APP_MTPELERIN_SELL_URL=https://sell.mtpelerin.com/
REACT_APP_MTPELERIN_REFERRAL_CODE=shapeshift
REACT_APP_MTPELERIN_INTEGRATION_KEY=954139b2-ef3e-4914-82ea-33192d3f43d3

# onramper
REACT_APP_ONRAMPER_WIDGET_URL=https://buy.onramper.com/
Expand All @@ -133,12 +148,10 @@ REACT_APP_ETHERSCAN_API_KEY=XT8BI6VDYUGD9675X861ATHZNK3AN6HRMF
REACT_APP_WHEREVER_PARTNER_KEY=00da1f18-3bba-4b71-824c-21e5ed772dfa

# WalletConnect
REACT_APP_WALLET_CONNECT_PROJECT_ID=a28cc4392a374056df13372b666190a0
REACT_APP_WALLET_CONNECT_TO_DAPPS_PROJECT_ID=a28cc4392a374056df13372b666190a0
REACT_APP_WALLET_CONNECT_WALLET_PROJECT_ID=f58c0242def84c3b9befe9b1e6086bbd
REACT_APP_WALLET_CONNECT_RELAY_URL=wss://relay.walletconnect.com

# zerion
REACT_APP_ZERION_API_KEY=emtfcHJvZF8xMjE3ZGRmYjhlZDY0ZGEzYmE2MjFiODg2NjQ5MTM4Yzo=

# zapper
REACT_APP_ZAPPER_API_KEY=c1b0bac5-bfc4-44f2-9fee-ed82679f76b7

Expand All @@ -149,15 +162,10 @@ REACT_APP_FEATURE_COVALENT_JAYPEGS=true
#oneinch
REACT_APP_ONE_INCH_API_URL=https://api-shapeshift.1inch.io/v5.0

# 0x
REACT_APP_ZRX_API_KEY=834f3988-83d1-43de-8aeb-9337d1eccdbf

REACT_APP_SNAP_ID=npm:@shapeshiftoss/metamask-snaps
# REACT_APP_SNAP_ID=local:http://localhost:9000

REACT_APP_EXPERIMENTAL_MM_SNAPPY_FINGERS=true

# Experemental features (not production ready)
REACT_APP_EXPERIMENTAL_CUSTOM_SEND_NONCE=false

REACT_APP_TRM_LABS_API_URL=https://api.trmlabs.com/public/v1/sanctions/screening
19 changes: 8 additions & 11 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# feature flags
REACT_APP_FEATURE_NFT_METADATA=true
REACT_APP_FEATURE_ARBITRUM=true
REACT_APP_FEATURE_FOX_DISCOUNTS=true
REACT_APP_FEATURE_WALLET_CONNECT_V2=true

# logging
REACT_APP_REDUX_WINDOW=false
Expand All @@ -25,6 +21,8 @@ REACT_APP_UNCHAINED_GNOSIS_HTTP_URL=https://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_GNOSIS_WS_URL=wss://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -39,15 +37,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com

# nodes
REACT_APP_ETHEREUM_NODE_URL=https://dev-daemon.ethereum.shapeshift.com
REACT_APP_ETHEREUM_INFURA_URL=https://mainnet.infura.io/v3/fb05c87983c4431baafd4600fd33de7e
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
REACT_APP_ETHEREUM_NODE_URL=https://dev-api.ethereum.shapeshift.com/api/v1/jsonrpc
REACT_APP_AVALANCHE_NODE_URL=https://dev-api.avalanche.shapeshift.com/api/v1/jsonrpc
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-api.bnbsmartchain.shapeshift.com/api/v1/jsonrpc
REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
Expand Down
20 changes: 9 additions & 11 deletions .env.develop
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# feature flags
REACT_APP_FEATURE_NFT_METADATA=true
REACT_APP_FEATURE_CHATWOOT=true
REACT_APP_FEATURE_ARBITRUM=true
REACT_APP_FEATURE_WALLET_CONNECT_V2=true

# mixpanel
REACT_APP_MIXPANEL_TOKEN=1c1369f6ea23a6404bac41b42817cc4b
Expand All @@ -22,6 +19,8 @@ REACT_APP_UNCHAINED_GNOSIS_HTTP_URL=https://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_GNOSIS_WS_URL=wss://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -36,16 +35,15 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com

# nodes
REACT_APP_ETHEREUM_NODE_URL=https://dev-daemon.ethereum.shapeshift.com
REACT_APP_ETHEREUM_INFURA_URL=https://mainnet.infura.io/v3/d28923bef53e4b26b21a094ae38d32b3
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
REACT_APP_ETHEREUM_NODE_URL=https://dev-api.ethereum.shapeshift.com/api/v1/jsonrpc
REACT_APP_AVALANCHE_NODE_URL=https://dev-api.avalanche.shapeshift.com/api/v1/jsonrpc
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-api.bnbsmartchain.shapeshift.com/api/v1/jsonrpc
REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
REACT_APP_MIDGARD_URL=https://dev-indexer.thorchain.shapeshift.com/v2
REACT_APP_MIDGARD_URL=https://indexer.thorchain.shapeshift.com/v2
15 changes: 8 additions & 7 deletions .env.e2e
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ REACT_APP_UNCHAINED_GNOSIS_HTTP_URL=https://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_GNOSIS_WS_URL=wss://dev-api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://dev-api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://dev-api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://dev-api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://dev-api.dogecoin.shapeshift.com
Expand All @@ -30,15 +32,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com

# nodes
REACT_APP_ETHEREUM_NODE_URL=http://localhost:8080
REACT_APP_ETHEREUM_INFURA_URL=https://mainnet.infura.io/v3/d28923bef53e4b26b21a094ae38d32b3
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
REACT_APP_ETHEREUM_NODE_URL=https://dev-api.ethereum.shapeshift.com/api/v1/jsonrpc
REACT_APP_AVALANCHE_NODE_URL=https://dev-api.avalanche.shapeshift.com/api/v1/jsonrpc
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-api.bnbsmartchain.shapeshift.com/api/v1/jsonrpc
REACT_APP_POLYGON_NODE_URL=https://dev-api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://dev-api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com

# thorchain
Expand Down
16 changes: 9 additions & 7 deletions .env.private
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# feature flags
REACT_APP_FEATURE_MIXPANEL=false
REACT_APP_FEATURE_CHATWOOT=false
REACT_APP_FEATURE_LIFI_SWAP=true

# unchained
REACT_APP_UNCHAINED_ETHEREUM_HTTP_URL=https://api.ethereum.shapeshift.com
Expand All @@ -17,6 +18,8 @@ REACT_APP_UNCHAINED_GNOSIS_HTTP_URL=https://api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_GNOSIS_WS_URL=wss://api.gnosis.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_HTTP_URL=https://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_WS_URL=wss://api.arbitrum.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_HTTP_URL=https://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_ARBITRUM_NOVA_WS_URL=wss://api.arbitrum-nova.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_HTTP_URL=https://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_BITCOIN_WS_URL=wss://api.bitcoin.shapeshift.com
REACT_APP_UNCHAINED_DOGECOIN_WS_URL=wss://api.dogecoin.shapeshift.com
Expand All @@ -31,15 +34,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://api.thorchain.shapeshift.com
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://api.thorchain.shapeshift.com

# nodes
REACT_APP_ETHEREUM_NODE_URL=https://daemon.ethereum.shapeshift.com
REACT_APP_ETHEREUM_INFURA_URL=https://mainnet.infura.io/v3/6e2f28ff4f5340fdb0db5da3baec0af2
REACT_APP_AVALANCHE_NODE_URL=https://daemon.avalanche.shapeshift.com/ext/bc/C/rpc
REACT_APP_ETHEREUM_NODE_URL=https://api.ethereum.shapeshift.com/api/v1/jsonrpc
REACT_APP_AVALANCHE_NODE_URL=https://api.avalanche.shapeshift.com/api/v1/jsonrpc
REACT_APP_OPTIMISM_NODE_URL=https://daemon.optimism.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://daemon.bnbsmartchain.shapeshift.com
REACT_APP_POLYGON_NODE_URL=https://daemon.polygon.shapeshift.com
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://api.bnbsmartchain.shapeshift.com/api/v1/jsonrpc
REACT_APP_POLYGON_NODE_URL=https://api.polygon.shapeshift.com/api/v1/jsonrpc
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://daemon.arbitrum.shapeshift.com
REACT_APP_COSMOS_NODE_URL=https://daemon.cosmos.shapeshift.com
REACT_APP_ARBITRUM_NODE_URL=https://api.arbitrum.shapeshift.com/api/v1/jsonrpc
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://api.arbitrum-nova.shapeshift.com/api/v1/jsonrpc
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com

# thorchain
Expand Down
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"plugins": [
"jest",
"prettier",
"simple-import-sort"
"simple-import-sort",
"eslint-plugin-react-memo"
],
"parserOptions": {
"sourceType": "module"
Expand Down Expand Up @@ -79,7 +80,8 @@
"@typescript-eslint/consistent-type-imports": "error",
"react/jsx-handler-names": "error",
"require-await": "error",
"import/no-duplicates": "error"
"import/no-duplicates": "error",
"react-memo/require-usememo": "error"
},
"overrides": [
{
Expand Down
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@ If applicable, please link to the github issue and put `closes #XXXX` in your co
closes #

## Risk
> High Risk PRs Require 2 approvals
<!-----------------------------------------------------------------------------
Outline the scope of your changes and the risk associated with them. You must use your discretion as an engineer to determine the potential impact of your changes.
WARNING: If your PR introduces a new on-chain transaction or modifies an existing one, please add the "High-Risk" label to this PR and ask for 2 reviewers to approve it before merging.
E.g. an upgrade to `hdwallet` or core state management would be considered higher risk, and might require a full regression test. UI or isolated view changes, or something behind a feature flag may have near zero risk. Small bug fixes might require testing isolated to the specific fix.
------------------------------------------------------------------------------>

> What protocols, transaction types or contract interactions might be affected by this PR?
## Testing

<!-----------------------------------------------------------------------------
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/add-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,35 @@ jobs:
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectNext(number: $number) {
projectV2(number: $number) {
id
fields(first:20) {
nodes {
id
name
settings
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}' -f org=$ORGANIZATION -F number=$PROJECT_NUMBER > project_data.json
echo 'PROJECT_ID='$(jq '.data.organization.projectNext.id' project_data.json) >> $GITHUB_ENV
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
- name: Add Issue to project
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
ISSUE_ID: ${{ github.event.issue.node_id }}
run: |
item_id="$( gh api graphql -f query='
mutation($project:ID!, $issue:ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $issue}) {
projectNextItem {
addProjectV2ItemById(input: {projectId: $project, contentId: $issue}) {
item {
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectV2ItemById.item.id')"
Loading

0 comments on commit 3680c33

Please sign in to comment.