Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add beta deployments #530

Closed
wants to merge 64 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
f9723a8
feat: add beta deployment to Netlify
dib542 Feb 5, 2024
73463b4
feat: update production env settings
dib542 Feb 5, 2024
e1006ca
feat: add beta env settings
dib542 Feb 5, 2024
6b214f0
refactor: clean up App default token pair setting
dib542 Feb 5, 2024
dd3f0ea
refactor: clean up App default chain-registry data source settings
dib542 Feb 5, 2024
7b1ec84
feat: add ErrorBoundary to catch unexpected errors
dib542 Feb 5, 2024
5978383
fix: factory asset trace may not be an AdditionalMintageTrace type
dib542 Feb 5, 2024
d24aa9a
fix: update production endpoints
dib542 Feb 5, 2024
9bf44fb
fix: useSWRInfinite can cause React max update depth with useEffect:
dib542 Feb 5, 2024
536a8f2
feat: add conditional useAccountAddress hook
dib542 Feb 6, 2024
cbc6da0
feat: add a place for banner information to be rendered
dib542 Feb 6, 2024
4cc419f
feat: add a place for banner information to be rendered
dib542 Feb 6, 2024
f8c8459
fix: ensure consent is ready to be read or listened for
dib542 Feb 6, 2024
824aa89
feat: temporarily remove the Orderbook page
dib542 Feb 6, 2024
e0b3940
feat: promote NEWT to the beta mascot
dib542 Feb 6, 2024
50fc2f5
fix: known IBC denoms were being filtered out from the denom list
dib542 Feb 7, 2024
2d5183c
docs: improve comments about finding chain data for assets
dib542 Feb 1, 2024
ffffd77
refactor: apply default chain registry options always
dib542 Feb 1, 2024
c6b3f8f
refactor: add native chain name to default chainRegistryClient opts
dib542 Feb 1, 2024
e7f5b8c
feat: create new abstracted AssetIcon, AssetIconPair components
dib542 Feb 2, 2024
a417f71
feat: allow assetClients to resolve to null:
dib542 Feb 2, 2024
addfe2b
feat: allow "unknown chain" token objects to be created without IBC data
dib542 Feb 2, 2024
c751e4b
fix: don't create an unknown token for denom "-"
dib542 Feb 3, 2024
e34d2a6
feat: improve layout flow behavior of asset info in tables
dib542 Feb 2, 2024
c52a716
feat: improve layout flow of assets with long IBC transfer paths
dib542 Feb 2, 2024
f25379f
fix: improve row button edge visual balance
dib542 Feb 3, 2024
8be1e88
fix: make table text cells consistent with table button cells:
dib542 Feb 3, 2024
4286e08
fix: make asset table rows same height as pool table rows
dib542 Feb 3, 2024
d56af21
feat: switch to new AssetIcon components in pools and assets tables
dib542 Feb 3, 2024
9bc135a
feat: switch to new AssetIcon elsewhere
dib542 Feb 3, 2024
a92f114
fix: replace usage of font SVG in animated token icon pair:
dib542 Feb 3, 2024
bb47873
style: cleanup import order
dib542 Feb 3, 2024
0abee2c
fix: use consistent prop for short token display string: symbol
dib542 Feb 3, 2024
6d1fac2
fix: explain tokens a bit more consistently
dib542 Feb 3, 2024
f2011a8
feat: improve created symbols and descriptions for unknown assets
dib542 Feb 3, 2024
0ac1c42
feat: update asset symbol usage with abbr version for readability
dib542 Feb 3, 2024
3ba3c60
fix: protect TokenPicker from unexpected mode change from data updates
dib542 Feb 3, 2024
da11e49
feat: allow different token pickers to default to different modes
dib542 Feb 3, 2024
1965ccc
fix: TokenPicker hooks should not be active before opening
dib542 Feb 3, 2024
009bdc8
fix: reduce recomputation for token clients
dib542 Feb 3, 2024
d718935
feat: change token picker lists to User/Dex/All:
dib542 Feb 3, 2024
c8f3fdc
fix: restrict byDenom maps from useAssetClientByDenom to asked denoms
dib542 Feb 3, 2024
d6d4ff7
refactor: use abstracted useUniqueDenoms fuunction
dib542 Feb 3, 2024
b147446
fix: make Pools tables headers consistent
dib542 Feb 3, 2024
5347fab
fix: don't show unknown tokens on main Pools list:
dib542 Feb 3, 2024
1354e55
feat: abstract out useTokensSortedByValue for TokenPicker
dib542 Feb 3, 2024
6700c9e
feat: sort unknown chains to bottom of lists
dib542 Feb 3, 2024
56adc72
feat: improve "fetchiing prices" display state on Pools page
dib542 Feb 5, 2024
e8a3a48
fix: useObservableList result list was not cause updates
dib542 Feb 5, 2024
b5716b7
feat: filter out unbridgable tokens from Bridge page
dib542 Feb 7, 2024
e1c286f
feat: reduce CoinGecko polling
dib542 Feb 7, 2024
353b2ae
fix: don't refetch denom trace errors
dib542 Feb 7, 2024
4348451
fix: prevent chain queries for denoms known in chain-registry
dib542 Feb 7, 2024
9ae4aff
fix: merge conflict uncaught changes
dib542 Feb 7, 2024
ebf1665
fix: don't return new spread objects for each external request based …
dib542 Feb 7, 2024
abf6e72
fix: update react-query
dib542 Feb 7, 2024
ada45f2
fix: react-query v5 upgrade changed parameter names
dib542 Feb 8, 2024
a61c01e
fix: reduce re-rendering caused by useQueries combine recalculations
dib542 Feb 8, 2024
b926b58
feat: reduce unneccessary map creation before reference comparison
dib542 Feb 8, 2024
fa9db01
fix: remove assetClient asset check, trust that it is ok:
dib542 Feb 8, 2024
176e00e
fix: remove multi-hop tokens from osmosis
dib542 Feb 8, 2024
6e3f888
fix: make one-hop definition more restrictive
dib542 Feb 8, 2024
466b526
perf: cache tokenByDenom objects against unique denom lists
dib542 Feb 9, 2024
9f81307
feat: cache the computed useMemo maps by the found client:
dib542 Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ REACT_APP__CHAIN_ID=pion-1
REACT_APP__CHAIN_NAME=neutrontestnet
REACT_APP__CHAIN_PRETTY_NAME=Pion

# App settings
REACT_APP__DEFAULT_PAIR=ATOM/NTRN
# limit of Cosmos sdk.Dec
REACT_APP__MAX_FRACTION_DIGITS=18
# limit of Duality chain using sdk.Dec
# link: https://github.com/duality-labs/duality/commit/377592adb4ac0ef445c5e2bc2a73e2635189ccfc
REACT_APP__MAX_TICK_INDEXES=-352437,352437
# chain-registry data endpoints
REACT_APP__CHAIN_REGISTRY_PATH_ENDPOINTS=["https://api.github.com/repos/cosmos/chain-registry/contents"]
REACT_APP__CHAIN_REGISTRY_FILE_ENDPOINTS=["https://raw.githubusercontent.com/cosmos/chain-registry/master"]

REACT_APP__INDEXER_API=https://indexer.testnet-1.duality.xyz
REACT_APP__REST_API=https://rest-lb-pion.ntrn.tech
REACT_APP__RPC_API=https://rpc-lb-pion.ntrn.tech
REACT_APP__WEBSOCKET_URL=wss://rpc-lb-pion.ntrn.tech/websocket
REACT_APP__WEBSOCKET_SUBSCRIPTION_LIMIT=5

# Add external links to the Bridge page
REACT_APP__BRIDGE_LINKS={"factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH":["https://bridge.neutron.org"]}

# Default Analytics as empty
REACT_APP__GOOGLE_TAG_MANAGER_ID=
REACT_APP__GOOGLE_TAG_USER_ID_TRACKING=
34 changes: 34 additions & 0 deletions .env.beta
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# Chain settings
REACT_APP__CHAIN_ID=neutron-1
REACT_APP__CHAIN_NAME=neutron
REACT_APP__CHAIN_PRETTY_NAME=Neutron

# App settings
REACT_APP__DEFAULT_PAIR=NEWT/NTRN

# Chain data sources
REACT_APP__INDEXER_API=https://indexer.beta.duality.xyz
REACT_APP__REST_API=https://rest-lb.neutron.org
REACT_APP__RPC_API=https://rpc-lb.neutron.org
REACT_APP__WEBSOCKET_URL=wss://rpc-lb.neutron.org/websocket

# the production fee tokens should match those of the mainnet chain in:
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/upgrades/v2.0.0/upgrades.go#L239-L241
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/upgrades/v2.0.0/constants.go#L15-L16
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/params/denom.go#L4
REACT_APP__CHAIN_FEE_TOKENS=[{"denom":"untrn"},{"denom":"ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"},{"denom":"ibc/F082B65C88E4B6D5EF1DB243CDA1D331D002759E938A0F5CD3FFDC5D53B3E349"}]

# Do not add development assets
# Add only whitelisted mainnet assets that aren't available in chain-registry yet
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=
REACT_APP__CHAIN_REGISTRY_ASSET_LISTS=
REACT_APP__CHAIN_REGISTRY_CHAINS=
REACT_APP__CHAIN_REGISTRY_IBC_DATA=

# Add external links to the Bridge page
REACT_APP__BRIDGE_LINKS={"factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH":["https://bridge.neutron.org"]}

# Add user analytics in beta
REACT_APP__GOOGLE_TAG_MANAGER_ID=GTM-MXJ2ZKP
REACT_APP__GOOGLE_TAG_USER_ID_TRACKING=1
6 changes: 1 addition & 5 deletions .env.deploy-previews
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
REACT_APP__BUILD_NUMBER=preview

REACT_APP__IS_MAINNET=testnet
REACT_APP__DEFAULT_PAIR=NTRN/ATOM

# Override chain settings
REACT_APP__CHAIN_ID=pion-1
Expand All @@ -13,11 +12,8 @@ REACT_APP__CHAIN_PRETTY_NAME=Pion
# the testnet fee token can either be a test token or a bridged ATOM ("transfer/channel-0/uatom")
REACT_APP__CHAIN_FEE_TOKENS=[{"denom":"untrn"},{"denom":"uibcatom"},{"denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2"}]

REACT_APP__CHAIN_REGISTRY_PATH_ENDPOINTS=["https://api.github.com/repos/cosmos/chain-registry/contents","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_FILE_ENDPOINTS=["https://raw.githubusercontent.com/cosmos/chain-registry/master","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]

# Add development tokens and chain-registry data
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]
REACT_APP__CHAIN_REGISTRY_ASSET_LISTS=[{"\$schema":"../../assetlist.schema.json","chain_name":"neutrontestnet","assets":[{"description":"The native token of Neutron chain","denom_units":[{"denom":"untrn","exponent":0},{"denom":"ntrn","exponent":6}],"base":"untrn","name":"Neutron Testnet","display":"ntrn","symbol":"NTRN","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"}],"coingecko_id":"neutron-3"},{"description":"The native staking and governance token of the Theta testnet version of the Cosmos Hub.","denom_units":[{"denom":"uibcatom","aliases":["uatom"],"exponent":0},{"denom":"atom","exponent":6}],"base":"uibcatom","name":"Cosmos","display":"atom","symbol":"ATOM","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"}],"coingecko_id":"cosmos"},{"description":"USD Coin","denom_units":[{"denom":"uibcusdc","exponent":0,"aliases":["uusdc","microusdc"]},{"denom":"usdc","exponent":6}],"base":"uibcusdc","display":"usdc","name":"USD Coin","symbol":"USDC","logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"},"images":[{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"}],"coingecko_id":"usdc"},{"description":"wstETH on Neutron","denom_units":[{"denom":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","exponent":0},{"denom":"wstETH","exponent":18}],"base":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","name":"wstETH","display":"wstETH","symbol":"wstETH","traces":[{"type":"additional-mintage","counterparty":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"provider":"Lido"}],"images":[{"image_sync":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"}],"logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"},"coingecko_id":"ethereum"}]}]
REACT_APP__CHAIN_REGISTRY_CHAINS=
REACT_APP__CHAIN_REGISTRY_IBC_DATA=
Expand Down
3 changes: 1 addition & 2 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
REACT_APP__BUILD_NUMBER=dev

REACT_APP__IS_MAINNET=testnet
REACT_APP__DEFAULT_PAIR=NTRN/ATOM

# Override chain settings
REACT_APP__CHAIN_ID=pion-1
Expand All @@ -15,9 +14,9 @@ REACT_APP__CHAIN_FEE_TOKENS=[{"denom":"untrn"},{"denom":"uibcatom"},{"denom":"ib

REACT_APP__CHAIN_REGISTRY_PATH_ENDPOINTS=["https://api.github.com/repos/cosmos/chain-registry/contents","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_FILE_ENDPOINTS=["https://raw.githubusercontent.com/cosmos/chain-registry/master","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]

# Add development tokens and chain-registry data
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]
REACT_APP__CHAIN_REGISTRY_ASSET_LISTS=[{"\$schema":"../../assetlist.schema.json","chain_name":"neutrontestnet","assets":[{"description":"The native token of Neutron chain","denom_units":[{"denom":"untrn","exponent":0},{"denom":"ntrn","exponent":6}],"base":"untrn","name":"Neutron Testnet","display":"ntrn","symbol":"NTRN","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"}]},{"description":"The native staking and governance token of the Theta testnet version of the Cosmos Hub.","denom_units":[{"denom":"uibcatom","aliases":["uatom"],"exponent":0},{"denom":"atom","exponent":6}],"base":"uibcatom","name":"Cosmos","display":"atom","symbol":"ATOM","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"}]},{"description":"USD Coin","denom_units":[{"denom":"uibcusdc","exponent":0,"aliases":["uusdc","microusdc"]},{"denom":"usdc","exponent":6}],"base":"uibcusdc","display":"usdc","name":"USD Coin","symbol":"USDC","logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"},"images":[{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"}]},{"description":"wstETH on Neutron","denom_units":[{"denom":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","exponent":0},{"denom":"wstETH","exponent":18}],"base":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","name":"wstETH","display":"wstETH","symbol":"wstETH","traces":[{"type":"additional-mintage","counterparty":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"provider":"Lido"}],"images":[{"image_sync":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"}],"logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"}}]}]
REACT_APP__CHAIN_REGISTRY_CHAINS=
REACT_APP__CHAIN_REGISTRY_IBC_DATA=
Expand Down
22 changes: 19 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@

# Chain
# Chain settings
REACT_APP__CHAIN_ID=neutron-1
REACT_APP__CHAIN_NAME=neutrontestnet
REACT_APP__CHAIN_PRETTY_NAME=Pion
REACT_APP__CHAIN_NAME=neutron
REACT_APP__CHAIN_PRETTY_NAME=Neutron

# Chain data sources
REACT_APP__INDEXER_API=https://indexer.beta.duality.xyz
REACT_APP__REST_API=https://rest-lb.neutron.org
REACT_APP__RPC_API=https://rpc-lb.neutron.org
REACT_APP__WEBSOCKET_URL=wss://rpc-lb.neutron.org/websocket

# the production fee tokens should match those of the mainnet chain in:
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/upgrades/v2.0.0/upgrades.go#L239-L241
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/upgrades/v2.0.0/constants.go#L15-L16
# - https://github.com/neutron-org/neutron/blob/v2.0.0/app/params/denom.go#L4
REACT_APP__CHAIN_FEE_TOKENS=[{"denom":"untrn"},{"denom":"ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"},{"denom":"ibc/F082B65C88E4B6D5EF1DB243CDA1D331D002759E938A0F5CD3FFDC5D53B3E349"}]

# Do not add development assets
# Add only whitelisted mainnet assets that aren't available in chain-registry yet
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=
REACT_APP__CHAIN_REGISTRY_ASSET_LISTS=
REACT_APP__CHAIN_REGISTRY_CHAINS=
REACT_APP__CHAIN_REGISTRY_IBC_DATA=

# Add external links to the Bridge page
REACT_APP__BRIDGE_LINKS={"factory/neutron1ug740qrkquxzrk2hh29qrlx3sktkfml3je7juusc2te7xmvsscns0n2wry/wstETH":["https://bridge.neutron.org"]}

# Analytics
REACT_APP__GOOGLE_TAG_MANAGER_ID=GTM-MXJ2ZKP
6 changes: 1 addition & 5 deletions .env.testnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

# Chain
REACT_APP__IS_MAINNET=testnet
REACT_APP__DEFAULT_PAIR=NTRN/ATOM

# Override chain settings
REACT_APP__CHAIN_ID=pion-1
Expand All @@ -11,11 +10,8 @@ REACT_APP__CHAIN_PRETTY_NAME=Pion
# the testnet fee token can either be a test token or a bridged ATOM ("transfer/channel-0/uatom")
REACT_APP__CHAIN_FEE_TOKENS=[{"denom":"untrn"},{"denom":"uibcatom"},{"denom":"ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2"}]

REACT_APP__CHAIN_REGISTRY_PATH_ENDPOINTS=["https://api.github.com/repos/cosmos/chain-registry/contents","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_FILE_ENDPOINTS=["https://raw.githubusercontent.com/cosmos/chain-registry/master","https://registry.ping.pub"]
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]

# Add development tokens and chain-registry data
REACT_APP__CHAIN_REGISTRY_CHAIN_NAMES=["celestiatestnet3","noistestnet","nolustestnet","osmosistestnet"]
REACT_APP__CHAIN_REGISTRY_ASSET_LISTS=[{"\$schema":"../../assetlist.schema.json","chain_name":"neutrontestnet","assets":[{"description":"The native token of Neutron chain","denom_units":[{"denom":"untrn","exponent":0},{"denom":"ntrn","exponent":6}],"base":"untrn","name":"Neutron Testnet","display":"ntrn","symbol":"NTRN","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/neutrontestnet/images/neutron.svg"}]},{"description":"The native staking and governance token of the Theta testnet version of the Cosmos Hub.","denom_units":[{"denom":"uibcatom","aliases":["uatom"],"exponent":0},{"denom":"atom","exponent":6}],"base":"uibcatom","name":"Cosmos","display":"atom","symbol":"ATOM","logo_URIs":{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"},"images":[{"png":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png","svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"}]},{"description":"USD Coin","denom_units":[{"denom":"uibcusdc","exponent":0,"aliases":["uusdc","microusdc"]},{"denom":"usdc","exponent":6}],"base":"uibcusdc","display":"usdc","name":"USD Coin","symbol":"USDC","logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"},"images":[{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg"}]},{"description":"wstETH on Neutron","denom_units":[{"denom":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","exponent":0},{"denom":"wstETH","exponent":18}],"base":"factory/neutron1xdtwh5jr4zjx8g3zh29jud75c666wua7tsmum3ajm6ylf782etfs60dj2h/wstETH","name":"wstETH","display":"wstETH","symbol":"wstETH","traces":[{"type":"additional-mintage","counterparty":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"provider":"Lido"}],"images":[{"image_sync":{"chain_name":"ethereum","base_denom":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"},"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"}],"logo_URIs":{"svg":"https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg"}}]}]
REACT_APP__CHAIN_REGISTRY_CHAINS=
REACT_APP__CHAIN_REGISTRY_IBC_DATA=
Expand Down
32 changes: 30 additions & 2 deletions .github/workflows/deploy_semantic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,36 @@ jobs:
env:
REACT_APP__BUILD_NUMBER: ${{ github.run_id }}

- name: Deploy preview to Netlify
id: netlify_deploy
- name: Deploy testnet to Netlify
id: netlify_deploy_testnet
# see: https://github.com/marketplace/actions/netlify-deploy
uses: jsmrcaga/action-netlify-deploy@v1.7.2
with:
# secret tokens are added in Github project settings under [project]/settings/secrets/actions
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_MESSAGE: 'Production deploy ${{ github.ref }}' # github.ref looks like `refs/pull/[PR#]/merge`
NETLIFY_DEPLOY_TO_PROD: true
build_directory: build
# we skip the build steps in this custom step because if we allow the project to build inside this step
# and specify the node version for that, this action will first download the latest node version,
# then switch back to the specified node version, then build the project.
# this wastes build minutes, so we instead pre-build the "build" folder
build_command: echo "already built app"
install_command: echo "already installed dependencies"

- name: Clear build folder
run: rm -rf build

# run build with .env.beta file (instead of .env.production)
# and add Netlify settings
- name: Build
run: npm run build -- --mode beta && cp netlify.toml build/netlify.toml
env:
REACT_APP__BUILD_NUMBER: ${{ github.run_id }}

- name: Deploy beta to Netlify
id: netlify_deploy_beta
# see: https://github.com/marketplace/actions/netlify-deploy
uses: jsmrcaga/action-netlify-deploy@v1.7.2
with:
Expand Down
28 changes: 9 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@keplr-wallet/stores": "^0.12.20",
"@radix-ui/react-dialog": "^1.0.5",
"@react-hook/resize-observer": "^1.2.6",
"@tanstack/react-query": "^5.0.0-alpha.35",
"@tanstack/react-query": "^5.18.1",
"@visx/event": "^3.0.1",
"@visx/group": "^3.0.0",
"@visx/scale": "^3.0.0",
Expand Down
Loading
Loading