Commit Graph

346 Commits

Author SHA1 Message Date
Evan Gray 39bc7d1ca8 bridge_ui: use relayer fee schedule 2022-04-12 22:24:43 -04:00
Evan Gray 69ac3cc07c bridge_ui: update acala relayer url 2022-04-11 21:33:53 -04:00
Evan Gray 74fdb3a4eb bridge_ui: add aurora to mainnet beta 2022-04-11 17:06:10 -04:00
Paul Noel 763f80b45d
Repair eth for Aurora (#1065)
* node/hack/repair_eth: update for Aurora

Change-Id: Ic073cb7806ce611a0d0c742b864dfa5cd57f39da

* bridge_ui/utils: update for Aurora

Change-Id: I19089355910d1252d139267ce1398e1dcdd46095

* node/hack/repair_eth: add comments

Change-Id: I2361d317e24446590334d39bc2e52f68d75932c5

* node/hack/repair_eth: fix comments

Change-Id: I4fd3e04d74f4f0b1c3731c556a106663bb36b66d
2022-04-11 16:27:20 -04:00
Kevin Peters db67ec390a bridge_ui: Fixed broken metaplex token-metadata program url 2022-04-08 05:44:07 -04:00
Kevin Peters f840d72b41 bridge_ui: optimized svg icons 2022-04-07 21:12:22 -04:00
Evan Gray 383bcbd8c1
bridge_ui: support acala relayer (#1043)
* bridge_ui: support acala relayer

* testnet bridge_ui action

* update acala urls

* support recovery with acala relayer

* update relayer API

* karura and acala are 1 conf

* add native-ish KAR and ACA

* update testnet action

* fix ACA token name
2022-04-07 00:18:48 -04:00
Jeff Schroeder 349fa42c58
Spy relayer cleanup (#1015)
* initial spy-relayer

* Update spy_relayer Dockerfile

* added example mainnet config files

* split out private keys into its own ENV variable

* Update spy relayer supportedChains.json

To remove the `walletPrivateKey` entries. All of the private keys have
been split out into their own json file.

* fixed evm private key env parse

* missing solana accounts report 0 balance, rather than error

* wallet address is logged in debug

* spy_relayer: enabled prometheus default metrics

Also set a prefix of `relayer_`

* spy_relayer: updates to the prometheus bits

* Use a single metric registry
* Use a simpler metric name and add labels for individual wallets

* spy_relayer: human readable app mode in the metrics

[ listener | relayer | both ]

* spy_relayer: unify metrics

* remove the collection of default metrics
* hardcode the `spy_relayer_` prefix on all custom metrics

* fixed dep arrays, nullable terra token/balance info

* attempt stack debug

* debug pullTerraBalance

* provider http or ws

* update sdk

* logging for tokenAddress is 0

* fix foreign address calc

* fix calcLocalAddressesTerra

* relayer/spy_relayer: update prometheus helpers

Add / url handler for the ingress-gce stupid load balancer that
doesn't support custom url healthchecks unless you make a BackendConfig
custom resource definition.

* logging refinement

* use chain name in prometheus

* adjust retry timeout calculation

* spy_relayer: update prometheus bits

* improved error handling

* relayer ui improvements

* prep sdk release

* use latest sdk, manual redeem button

* relaying ux improvements

* gas price fix

* shortened terra success log

* use gh base relayer list

* fix prometheus urls

* Update prometheus metric name

* only show TPS warning on mainnet

* show relayer fee in source preview

* fix unwrap check

* add native bool to balance metric

* logging improvements

* add feeRecipientAddress to redeemOnSolana

* gather solana fees

* remove relayer ws support

* add nativeCurrencySymbol to ChainConfigInfo

* fix solana native symbol

* demoteWorking option, logger contexts

* scoped logging

* bridge_ui: unwrap native

* add evm wallet monitor test

* solana vaa parsing fix

* add monitorRedis

* make Jeff's brain happy

* log demoting keys

* register redisQueue metric

* human readable redisQueue metric

* fix timestamp inconsistency

* use scopedLogger for the first level of workers

* pull wallet balances in parallel

* more scoped logging

* pick a solana fee

* moving keys log improvement

* update eth gas calculations based on recent txs

* use postVaaSolanaWithRetry

* split success and failures by chain

* fix using terraCoin

* check prom every 10s

* batch getting evm token balances

* batch calcLocalAddressesEVM

* debug worker logging

* log retry number

* support Polygon?

* reset status on demotion

* enhance!

* update avax fee

Co-authored-by: Chase Moran <chasemoran45@gmail.com>
Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-03-28 23:39:08 -04:00
Evan Gray 32634f87e6 bridge_ui: add Aurora to testnet 2022-03-17 13:01:53 -04:00
Kevin Peters ca0b9cd35c bridge_ui: moved to webpack 5 and react-app-rewired, updated solana wallet deps 2022-03-16 22:20:30 -04:00
Evan Gray bbb9986f05 bridge_ui: fix receiving tvl for unknown chains 2022-03-16 20:07:31 -04:00
kev1n-peters a5dbbac112
bridge_ui: Make transfers to/from chains configurable (#997)
* bridge_ui: Make transfers to/from chains configurable
2022-03-16 20:07:13 -04:00
Kevin Peters 02a2397479 bridge_ui: stats page null data fix 2022-03-16 20:06:48 -04:00
Kevin Peters 21e2a710a7 bridge_ui: enable polygon transfers 2022-03-14 23:39:01 -04:00
Kevin Peters d233436168 bridge_ui: Changed terra est. fees to be more accurate 2022-03-14 11:14:03 -04:00
Kevin Peters c70637d832 bridge_ui: Added wrapped-fantom logo 2022-03-14 11:13:32 -04:00
Leopold Schabel 2b64e5a10c
bridge_ui: be more specific about Polygon downtime (#994)
commit-id:12c98920
2022-03-11 16:52:29 -06:00
Kevin Peters 2961462ebe bridge_ui: Disable transfers to and from polygon, display network upgrade warning 2022-03-10 12:01:58 -05:00
Kevin Peters 2e0fc37ba0 bridge_ui: Show terra est. fees in UST, reassessed range (0.05 - 0.15 UST) 2022-03-09 18:44:08 -06:00
Evan Gray 7d64e40b93 karura and acala testnet support 2022-03-09 17:22:24 -05:00
kev1n-peters 7f8a92f416
bridge_ui: Added tags for SEO (#979) 2022-03-09 10:29:52 -06:00
Adrian Timpau f92acc2503 copy fix 2022-03-09 09:57:43 -06:00
Adrian Timpau 4037312d20 font, lines, gradients 2022-03-09 09:57:43 -06:00
Kevin Peters 8f335fa4f3 Revert "bridge_ui: Disable transfers from oasis and display network upgrade message (#955)"
This reverts commit f44837578b.
2022-03-08 11:07:06 -05:00
Evan Gray d738079d82 bridge_ui: remove fantom from beta 2022-03-07 22:10:27 -05:00
kev1n-peters f44837578b
bridge_ui: Disable transfers from oasis and display network upgrade message (#955) 2022-03-06 20:39:18 -06:00
Evan Gray f6c3754da3 bridge_ui: fix oasis order 2022-03-03 15:49:52 -05:00
Evan Gray baec96654e fix: oasis addresses 2022-03-02 06:10:21 -05:00
Evan Gray e7cc32e447 bridge_ui: add fantom beta 2022-03-01 21:58:41 -05:00
Kevin Peters 7e461f489c bridge_ui: tvl chain name fix 2022-02-25 14:47:31 -05:00
Kevin Peters 2080c27ef2 bridge_ui: Use new TVL calculation in useTVL hook, 48h transaction count 2022-02-25 11:40:04 -05:00
kev1n-peters d4b7dbf98b
bridge_ui: xdefi and leap wallet support (#866)
* bridge_ui: xdefi and leap wallet support

* bridge_ui: wallet connect feature refactor

* bridge_ui: terra native balance fix

* bridge_ui: bumped max polygon confirmations to 512
2022-02-23 23:52:02 -05:00
Evan Gray 075defa634 feat: improve bridge_ui tilt
properly cache npm ci in Docker container image
support hotloading outside ci
2022-02-14 07:56:38 -05:00
Kevin Peters b38f842e40 bridge_ui: Updated terra dependencies
Updated @terra-money/wallet-provider to 3.8.0
2022-02-11 12:34:19 -05:00
Evan Gray 8eb019d97f fix: tvl bad prices 2022-02-09 20:25:10 -05:00
Evan Gray d823366cf1 fix: restore tvl quote 2022-02-08 16:22:26 -05:00
chase-45 28c713a6dd
Tilt tests (#688)
* tests run in tilt / ci

* changed bridge_ui test process

* tests use kube proxy when in ci

* fix: allTests.sh permission

* fix: bridge_ui dockerfile sha for amd64

* fix: bridge_ui should use cra test

* fix: ci tests

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-02-08 03:55:10 -05:00
Evan Gray d1de172699 fix: tvl bad prices 2022-02-07 10:53:24 -05:00
Kevin Peters 613773d3fc bridge_ui: Changed title to Portal Token Bridge 2022-02-01 10:11:53 -05:00
kev1n-peters 83b97bedb8
bridge_ui: Put new wormhole SVGs into icons directory (#787) 2022-01-27 11:36:23 -06:00
Justin Schuldt d4735fc7c1
update bridge copy (#778) 2022-01-26 09:22:52 -06:00
Evan Gray 5cc332cc40 bridge_ui: redesign 2022-01-24 11:24:14 -05:00
Evan Gray c2a879ec7c bridge_ui: solana tps warning 2022-01-22 11:08:05 -05:00
Keone Hon 00ddd5f02b update WROSE_ADDRESS to 0x21C7 2022-01-17 20:04:48 -05:00
Evan Gray 25357d3848 bridge_ui: fix oasis explorer link 2022-01-13 09:46:45 -05:00
Kevin Peters 7882eccac4 bridge_ui: Terra fee denomination support 2022-01-11 18:28:02 -05:00
Evan Gray 8eea035490 bridge_ui: update oasis explorer links 2022-01-11 15:52:39 -05:00
Evan Gray b563772d46 bridge_ui: add footer link to docs 2022-01-11 15:52:39 -05:00
Evan Gray a32c7343e5 bridge_ui: update polygon confs 2022-01-11 15:52:39 -05:00
Evan Gray 26b848d375 bridge_ui: remove oasis from beta 2022-01-07 12:39:20 -05:00
Evan Gray 9a0b2240d9 bridge_ui: tvl >1b decimals 2022-01-04 08:39:48 -05:00
Kevin Peters 07446e2e23 bridge_ui: Show featured markets when redeemed tokens, link to Jupiter swap 2021-12-29 21:40:41 -05:00
Kevin Peters 48e3367f0b bridge_ui: Fixed warning message 2021-12-29 21:29:59 -05:00
Chase Moran 5d80c8c103 bridge_ui: move shuttle warning to source component 2021-12-29 21:29:59 -05:00
Kevin Peters 4ec81b48da bridge_ui: Warn when transferring shuttle wrapped tokens from Polygon 2021-12-29 21:29:59 -05:00
Chase Moran 537495b4bb bridge_ui: add query strings to transfer urls 2021-12-29 21:07:15 -05:00
Kevin Peters 4efa63fe4f bridge_ui: Solana on-chain metadata warning check fix 2021-12-29 20:58:08 -05:00
Chase Moran 30a9d7410e bridge_ui: prep bridge_ui for sdk 0.1.5 2021-12-29 20:54:41 -05:00
Chase Moran 0233f03a3c bridge_ui: fixed an errant error message 2021-12-28 10:48:01 -05:00
Chase Moran 7f74392a91 bridge_ui: add NFT URI length check 2021-12-28 10:32:49 -05:00
Chase Moran 94a15d37a9 bridge_ui: added avax nft tvl stats 2021-12-27 13:31:31 -05:00
Evan Gray 1d3ae6938b bridge_ui: add avax tvl 2021-12-27 13:31:31 -05:00
Justin Schuldt f674ff44c9 bridge_ui: update cloud function URLs
To match the updated resource structure of cloud functions.
2021-12-27 13:24:14 -05:00
Kevin Peters 43d858772a bridge_ui: Show swap arrow on hover 2021-12-24 01:11:47 -05:00
Kevin Peters 48fa0b783e bridge_ui: Show checkmark on step 4 when complete 2021-12-24 01:02:20 -05:00
Evan Gray 5e4f47d501 bridge_ui: remove avax from coming soon 2021-12-23 19:52:09 -05:00
Evan Gray dfa821b8b4 bridge_ui: remove avax from beta 2021-12-23 19:36:48 -05:00
Kevin Peters 713b834f20 bridge_ui: Added withdraw-tokens-terra page 2021-12-22 23:34:45 -05:00
Kevin Peters 21c3f143db bridge_ui: Click arrow to swap source and target chains 2021-12-22 22:36:09 -05:00
Kevin Peters d6945bf6fa bridge_ui: Don't display amount on Redeem step (formatUnits throws on
fractional amounts)
2021-12-22 07:27:14 -05:00
Chase Moran 195a61714e bridge_ui: oasis support 2021-12-21 18:29:13 -05:00
Kevin Peters b59c696a6c bridge_ui: Notify user to update metadata when attesting
Warn user when attesting from solana and token has no on-chain metadata.
Remind user to update token-list when attesting to solana or terra.
2021-12-21 15:21:28 -05:00
Chase Moran d8d3a92dae bridge_ui: fix v1 asset check 2021-12-21 14:00:50 -05:00
Kevin Peters 86c3423b6a bridge_ui: Transfer already redeemed feature
Notify the user when they're trying to redeem a transfer that has
already been redeemed.

Added useGetIsTransferCompleted hook
2021-12-21 13:55:06 -05:00
Chase Moran a68d93dc58 bridge_ui: add avax to coming soon list
Change-Id: I4471446113ba516e08cd68275d7a8f0d65e88103
2021-12-15 09:17:43 -05:00
Evan Gray f74faba94a bridge_ui: add avalanche to testnet / beta 2021-12-14 17:27:38 -05:00
Chase Moran 29d77cda1e bridge_ui: remove incorrect prices from tvl
Change-Id: Ic9a59dd847b87c6354b2615d8ea657652c1e2813
2021-12-13 22:38:49 -05:00
Leo b0ed42681d Use stable Buildkit syntax
We no longer need to be on an experimental branch - all the
Dockerfile features we need were released on 1.3.

commit-id:b083856a
2021-12-13 15:38:17 +01:00
Evan Gray 57919f6675 bridge_ui: pin sdk, fix imports
Change-Id: I5231b81423705af5866ee8b2e8647ea7cf469153
2021-12-10 17:22:26 +00:00
Evan Gray 0888297b82 bridge_ui: add orion bsc migration
Change-Id: I8d67410ca8a817e2bfe4546c88e81a3dc2a49d0e
2021-12-09 20:12:33 +00:00
Chase Moran 5b46564bee bridge_ui: override orion metadata
Change-Id: I8c4a85247e66b8e7bf0071cfa95f27275accbfec
2021-12-09 03:11:09 +00:00
Chase Moran b5d534465c bridge_ui: added oasis to coming soon networks
Change-Id: I2f73733e5a882c23dd3933a1cab37c54328b97cb
2021-12-08 23:12:05 +00:00
Evan Gray 9e36586dd8 bridge_ui: update testnet solana nft bridge
Change-Id: Ida04ecb357b0448ac07cea1f21c527fe960b3136
2021-12-01 14:40:29 +00:00
Chase Moran cb9c65b421 bridge_ui: exclude unreasonably high value coins from tvl
Change-Id: I0dd4ef3b7da725ca2ac8abd67583bfc41f5d152e
2021-11-29 09:34:58 -05:00
Chase Moran 69dc6476c8 bridge_ui: add logo to toolbar
Change-Id: Iede503b10adc8a775f8ff1094f846c86808480ea
2021-11-29 09:29:20 -05:00
Leo c7c9e52e1d *: add 01node RPC endpoint and remove duplicate
Change-Id: I8ccc2aee1c8692d4ac048e21f2ec7ec8638c3d21
2021-11-26 13:27:31 +01:00
Chase Moran d9513f9c39 bridge_ui: Solana quick migrate page
Change-Id: Ide559e50de4fab0a45c0a0e41a91eb52cee75215
2021-11-23 21:14:01 -05:00
Evan Gray 78e1244177 bridge_ui: add ropsten to testnet
Change-Id: I54f0dd7955f01b383f42f4521360acc5b4a185e5
2021-11-23 00:47:34 -05:00
Evan Gray c30d0e4c01 bridge_ui: update testnet addresses
Change-Id: I184727755ba3c98a4cf41b6f523cb31dd5a5e1a5
2021-11-23 01:11:02 +00:00
Chase Moran dac68d093c bridge_ui: removed bad price
Change-Id: Ibebae4a6e668a03bcb92e84ddb3a9c813bf1ecf8
2021-11-22 17:51:34 +00:00
Chase Moran 3cdca7f4e8 bridge_ui: random nft is now whitelist
Change-Id: I619292bb4a8a82fc109602fd90e3da36378c0d56
2021-11-22 17:51:34 +00:00
Evan Gray f085e4e15c sdk/js: esm and cjs builds
Change-Id: I9ddb372ac872675f5b906d523ff5237e4f65ecb1
2021-11-21 19:18:37 -05:00
Evan Gray 8ea4e9889e bridge_ui: fix add to metamask with no symbol
Change-Id: Ic3a1c92d31bb6e4a7180dbbd09e3d652d58a1fae
2021-11-20 21:40:06 -05:00
Evan Gray b99216f462 bridge_ui: testnet covalent and explorers
Change-Id: Ia52c7d6ba64c834f9f76c83ca44b4a8172dbbe6e
2021-11-20 14:36:14 -05:00
Evan Gray 793a4b4f5f bridge_ui: featured markets
Change-Id: I72a48fd3f1ff674d64aad58c9a0020585d234c82
2021-11-20 09:30:58 -05:00
Leo 54ebc6481f *: remove third party testnet URLs
Change-Id: I0ede95f3972528e3bc2f8e15813758683684f7ac
2021-11-20 13:55:09 +01:00
Chase Moran bf439a4759 bridge_ui: updated token picker search bar text
Change-Id: Ida77c18b0665f877b031f6483f51df8556aca690
2021-11-19 19:59:17 +00:00
Evan Gray 55bc96d979 sdk/js: updateWrappedOnSolana
Change-Id: Ib4d25b8c4494d79883ad55873f13ff2688e5e969
2021-11-19 14:31:29 -05:00
Chase Moran 443b18a0f6 bridge_ui: nft blacklist
Change-Id: I25bbd411620f83911d6f6654ee4e3f3142e10592
2021-11-19 14:42:15 +00:00
Chase Moran b783a44fb0 bridge_ui: evm token account fetch on selection
Change-Id: Ia9c9c54d61ab90b40616472628238ec1b5e00c0e
2021-11-19 14:42:15 +00:00