103 Commits

Author SHA1 Message Date
dlipicar
af0be7ec2f feat(wallet): add split onramp url endpoint (#5656)
* feat(wallet)_: add split onramp url endpoint & fix onrmap url
2024-08-12 13:54:05 +01:00
dlipicar
d4c6734a44
feat(wallet)_: handle paraswap price impact error (#5622) (#5680) 2024-08-09 18:52:53 +01:00
saledjenic
ca25be4516
fix(wallet)_: fixed error with parsing coingecko response. (#5650)
For tokens that it does not support and some that were listed in mapping
we responded with error

Co-authored-by: Ivan Belyakov <ivan.belyakov.job@gmail.com>
2024-08-02 18:56:16 +01:00
Icaro Motta
a57055f43b
fix(wallet)_: fix provider down event happening too often (#5595) (#5649)
* fix(wallet)_: fix provider down event happening too often

- handle context cancelled error
- do not count expected errors when calling tokenURI as providers
  errors
- use archival not for optimism (was silently added by Grove makeing the
  old URL non-archival)

Closes #5555

* test(wallet)_: add test for collectibles manager to verify that main
circuit is not tripped calling by tokenURI method

Co-authored-by: IvanBelyakoff <ivan.belyakov.job@gmail.com>
2024-08-01 19:29:05 -03:00
IvanBelyakoff
e16d820ecd
chore_: CHERRY-PICK Proxy URLs for blockchain providers (#5644)
* feat(wallet)_: add basic auth for cryptocompare proxy (#5536)

* feat(wallet)_: add basic auth for cryptocompare proxy

* test(wallet)_: add a test for httpclient used in market clients

* feat(wallet)_: add status proxy RPC urls for blockchain providers

Replace the status proxy URL for cryptocompare.
2024-08-01 10:06:34 +01:00
dlipicar
0456dcef8b
fix(wallet)_: exclude paraswap providers not supporting partner fees (#5573) 2024-07-24 16:29:54 -04:00
Dario Gabriel Lipicar
7c4b43b4d9 feat(wallet)_: incorporate partner fees for L1 paraswap swaps 2024-07-23 15:27:43 -03:00
Andrea Maria Piana
9a59d6a459 feat(metrics)_: add centralized metrics
This commit adds support for centralized metrics.
There are two providers as of now, and we haven't quite decided which
one to go for, so for the time being both are supported.
It also introduces a new endpoint InitializeApplication that replaces
OpenAccounts
2024-07-11 10:05:31 +01:00
Ivan Belyakov
4b19845592 chore(wallet)_: Added a test for Market manager FetchTokenMarketValues
Added a nil/empty command test for circuit breaker
2024-07-05 12:39:19 +01:00
Ivan Belyakov
a009855bbb feat(wallet)_: use CircuitBreaker for blockhain RPC calls
fix usage of circuit breaker for collectibles and market data to
match the implementation
2024-07-05 12:39:19 +01:00
Ivan Belyakov
ee2330fe5d feat(wallet)_: add CryptoCompare proxy to market manager as a last
resort
2024-06-21 16:39:00 +02:00
Sale Djenic
462013520f chore_: swap via paraswap improvements 2024-06-14 15:44:38 +02:00
Sale Djenic
534c756bf5 fix_: re-trying http requests up to the predefined max retries
This commit should fix the issue with Cryptocompare and CoinGecko providers down.
Often happens that the first request fails and because of that:
- the Router cannot complete calculation successfully
- some tests are failing
- some users very often see a red banner line saying the providers are down
2024-05-23 16:28:50 +02:00
Sale Djenic
08fef4afde chore_: the router implementation simplification 2024-05-18 00:00:23 +02:00
Cuteivist
838311e902
fix_: Prioritize tokens on eth platform (#5151) 2024-05-15 07:33:12 +02:00
Khushboo-dev-cpp
867cd1f14b
feat(api)_: add api and functionality to get collection website and twitter handle from alchemy (#5007) 2024-05-14 08:58:08 +02:00
Dario Gabriel Lipicar
8a0b7ddbb5 feat(wallet)_: switch rarible client to eth sepolia 2024-05-03 08:49:20 -03:00
Cuteivist
eb1ed696f6
fix_: Fix timestamo integer cast (#5092) 2024-04-25 14:15:07 +02:00
Patryk Osmaczko
759e5e5c7b fix_: improve fetchCommunityAssets performance
fixes: #5038
2024-04-10 21:00:28 +02:00
Patryk Osmaczko
1ceb180e8a fix: fetch community only when assets metadata is missing
fixes: status-im/status-desktop#14296
2024-04-09 10:51:21 -04:00
Cuteivist
d3d155a5b2
Added soulbound field for collectibles (#5026) 2024-04-09 16:16:20 +02:00
Sale Djenic
7b09ee073d feat: swap via paraswap 2024-04-08 10:14:48 +02:00
Dario Gabriel Lipicar
58b57b12a3 feat: implement search api
Issue #13921
2024-03-18 10:22:00 -03:00
Ivan Belyakov
b0a0f078c4 feat(wallet): refactored collectibles manager using circuit breaker
Removed goerli from rarible and opt-goerli from alchemy clients as
not supported any more
2024-03-18 11:49:03 +01:00
Dario Gabriel Lipicar
71377a50d7 feat: fetch collectibles balances 2024-03-06 20:45:42 -03:00
Dario Gabriel Lipicar
9fef2d3558 fix: properly setup collectible providers exponential backoff 2024-02-27 18:26:55 -03:00
Cuteivist
a866b8025e
feat: Community token received notification (#4682) 2024-02-19 14:55:38 +01:00
Dario Gabriel Lipicar
058fa629a0 feat(wallet): add contract type to collectibles 2024-02-06 13:35:01 -03:00
Dario Gabriel Lipicar
1924828f8d fix: disable Goerli in the OpenSea client 2024-01-16 12:05:06 -03:00
Dario Gabriel Lipicar
ee6621b066 feat: link owned collectibles with latest matching transfer
Part of #12942
2024-01-15 12:55:47 -03:00
Dario Gabriel Lipicar
250b8eea87 fix: update the list of chains supported by opensea 2024-01-11 19:30:56 -03:00
Dario Gabriel Lipicar
959dcbdea5 feat: lazy load collectibles metadata 2023-12-19 21:27:20 -03:00
Dario Gabriel Lipicar
b1e000ed59 feat: add balance to collectibles api 2023-12-18 18:24:21 -03:00
Dario Gabriel Lipicar
b3cc73aa7f feat: use media server for community collectible images 2023-12-16 08:49:58 -03:00
Cuteivist
7af313cd53
feat: Add community manager and fetch cached community metadata (#4450) 2023-12-14 17:50:46 +01:00
Dario Gabriel Lipicar
f08e6f7137 feat: add support for Opt Sepolia in the Alchemy client 2023-12-04 12:21:32 -03:00
Dario Gabriel Lipicar
472e4bdb77 feat: implement support for collectible provider Rarible 2023-11-27 20:30:18 -03:00
Dario Gabriel Lipicar
03cdb49c4c feat: enable support for Arbitrum Sepolia in Opensea 2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar
00f412e4ac feat: enable support for Arbitrum Sepolia in Alchemy 2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar
e17d4606b1 fix: implement cancellable collectibles requests 2023-11-17 10:35:30 -03:00
Dario Gabriel Lipicar
92a604f471 fix: fix alchemy collectible traits parsing 2023-11-16 15:49:13 -03:00
Dario Gabriel Lipicar
a38b34ae49 feat: cache community metadata in wallet
Fixes #12521
2023-10-26 17:36:45 -03:00
Dario Gabriel Lipicar
dca38d1d32 fix: small openseaV2 client fix 2023-10-26 17:36:45 -03:00
Dario Gabriel Lipicar
addf6e4aaf feat: implemented openseaV2 api changes 2023-10-11 14:41:18 -03:00
Dario Gabriel Lipicar
544e2ea76f feat: removed soon-to-be-deprecated openseaV1 client 2023-10-11 14:41:18 -03:00
Dario Gabriel Lipicar
bc33f6d54c feat: removed soon-to-be-deprecated Infura client 2023-10-11 14:41:18 -03:00
Dario Gabriel Lipicar
d1f63a8d71 feat: exponential backoff for Alchemy 2023-10-11 14:41:18 -03:00
Dario Gabriel Lipicar
94ae683bc2 fix: ensure full collectible list is fetched from a single provider 2023-10-11 14:41:18 -03:00
Dario Gabriel Lipicar
80f25d5ff7 fix: misc collectibles fixes 2023-10-05 09:40:18 -03:00
Cuteivist
ecc8b4cb55
feat: Wallet activity collectibles model (#4074) 2023-10-03 12:49:04 +02:00