590 Commits

Author SHA1 Message Date
Sale Djenic
cfa542378d chore(walletconnect)_: various improvements applied
- `WalletConnectTransfer` identified as a new transfer type
- Wallet-related endpoints that logically belong to the wallet moved from the wallet connect service
- Wallet connect service now receives `transfer.TransactionManager` instead of `transactions.Transactor`
- Deadlock issue when trying to send the tx with the wrong nonce fixed
2023-12-04 11:18:38 +01:00
Cuteivist
04873ef880
feat: token order API (#4391) 2023-12-04 11:18:05 +01:00
Roman Volosovskyi
aee111e5ab
[#4200] Avoid tx watching for addresses which were not exposed 2023-12-01 12:30:42 +01:00
Ivan Belyakov
9acabc6995 fix(wallet): start transfer controller to activate leftovers cleanup 2023-11-30 12:37:52 +01:00
Cuteivist
79f0d8a5ec
bug: Added missing out chain data (#4303) 2023-11-30 12:37:32 +01:00
Stefan Dunca
c433908834 fix(wallet) ignoring err in RowsAffected()
Co-authored-by: saledjenic <86303051+saledjenic@users.noreply.github.com>
2023-11-29 19:22:38 +01:00
Stefan
99f4d621e0 feat(wallet): add Wallet Connect state change API
Updates status-desktop #12858
2023-11-29 19:22:38 +01:00
Ivan Belyakov
c0f2f76e9a feat(wallet): remove transfers data on account removal
Closes:  #4394
2023-11-29 16:17:21 +01:00
Sale Djenic
dea0b62650 feat(wallet)_: common endpoints added to wallet api
- `SignMessage`
- `BuildTransaction`
- `SendTransactionWithSignature`
2023-11-29 15:34:44 +01:00
Dario Gabriel Lipicar
8b539cd400 feat: refresh balances when Eth or ERC20 transfer is detected 2023-11-29 09:16:03 -03:00
Cuteivist
ecbb1cb4e0
fix: Handle balance for all accounts (#4261) 2023-11-29 12:20:18 +01:00
Dario Gabriel Lipicar
472e4bdb77 feat: implement support for collectible provider Rarible 2023-11-27 20:30:18 -03:00
Sale Djenic
8641ec5dd5 feat(walletconnect)_: ethereum rpc calls support
Reference: https://docs.walletconnect.com/advanced/rpc-reference/ethereum-rpc
2023-11-27 10:49:23 +01:00
Sale Djenic
d4ca8616fc feat(walletconnect)_: support for session proposal for wc 2.0 2023-11-27 10:49:23 +01:00
Stefan
a855f9e3e8 feat(wallet) WalletConnect: track pairings in DB
Add new APIs to track if valid pairings are available to be used
by application not to run WalletConnect SDK if not needed.

Closes status-desktop: #12794
2023-11-24 09:44:27 +01:00
Sale Djenic
5e2af9e4fa feat(walletconnect)_: support the tx and personal signing from within the app or keycard 2023-11-22 09:46:50 +01:00
Sale Djenic
e9f11f70dd chore(wallet)_: proper release of locked nonce (unlock function call) 2023-11-22 09:46:50 +01: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
14a8df8948 feat: support alchemy sepolia api keys 2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar
c88ab45d76 fix: pass context in FindOrCreateTokenByAddress 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
5933376eda feat: unify collectibles struct 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
6f84207d3a feat: allow specifying fetch criteria for owned collectibles 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
823fe76fc3 feat: allow different data types in collectibles requests 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
a51f8aa13c feat: backoff wallet community fetches after a failure 2023-11-17 10:35:30 -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
Anthony Laibe
cd03dd949e fix: send erc20 2023-11-16 13:40:04 +01:00
Ivan Belyakov
f4fc0ea324 feat(wallet): remove old OnDemand transfer fetch strategy as it not
functional and not maintained any more and we will work on improvement
of SequentialFetchStrategy
2023-11-16 12:59:47 +01:00
Ivan Belyakov
b6ade53603 feat(wallet): detect ERC1155 batch transfers.
Refactored transfers loading to reduce blockchain RPC requests (getBaseFee, getTransaction,
getTransactionReceipt) by reusing preloaded transaction and block fee.
Split extraction of subtransaction from logs and from ETH transfer into
different methods.
Refactored log_parser to extract sender and receiver addresses
uniformly for different transfer types.
Replaced info logs with debug where needed.

closes #4221
2023-11-16 09:37:09 +01:00
Stefan
b994cedfc3 feat(wallet) implement Wallet Connect sign APIs
add WalletConnect support for signing session events

- implement `eth_sendTransaction`
- implement `personal_sign`

Also fix exposing unusable accounts

Updates status-desktop #12637
2023-11-15 15:52:02 +01:00
Anthony Laibe
5381ec4a76 feat: add token list 2023-11-15 09:02:36 +01:00
Anthony Laibe
0345612a31 fix: use real id of token to estimate gas 2023-11-14 14:24:51 +01:00
Ivan Belyakov
57e370e7b9 feat(wallet): Added detection of ERC1155 SingleTransfer events 2023-11-13 20:19:57 +01:00
Stefan
36da204282 feat(wallet) add WalletConnect pair API
Updates #12551
2023-11-13 10:19:06 +01:00
Anthony Laibe
dc2d179692 fix: estimate gas for erc721 2023-11-10 16:11:05 +01:00
Dario Gabriel Lipicar
337f3aefec fix: add missing error check in currency service 2023-11-09 13:12:25 -03:00
Sale Djenic
ce121710d9 fix: unlock local nonce when an error occurs and increment only when the tx is sent for real 2023-11-06 18:30:42 +01:00
Sale Djenic
05baec8bec fix: estimate gas function resoved that it uses real network estimation instead of hardcoded value 2023-11-06 18:30:42 +01:00
Cuteivist
05530f57bd
feat: Return only community tokens (#4249) 2023-11-03 13:08:32 +01:00
Anthony Laibe
a0bd3c9a94 Fix: allow zero tx
If bonder fees are 0 there is no need to check if  bonder fees are bigger or equal to amount to prevent impossible transaction
2023-11-03 09:22:29 +01:00
Dario Gabriel Lipicar
25d8c52dd5 feat: implement generalized collectibles filter 2023-11-02 11:14:20 -03:00
Dario Gabriel Lipicar
c17829bf8d fix: properly fill collectible community data 2023-11-02 11:14:20 -03:00
Cuteivist
f57c6a26b5
fix: Correct skip check statement (#4248) 2023-11-02 09:11:48 +01:00
Cuteivist
3c5b0529c7
fix: Add network id for multi tx (#4199) 2023-10-30 10:03:29 +01:00
Cuteivist
fa5765cf83
fix: Update timestamp when upserting multi tx (#4224) 2023-10-30 07:53:22 +01: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
Cuteivist
e5fbe40b9a
fix: Show community token mint as Mint tx type (#4214) 2023-10-26 20:39:31 +02:00
Cuteivist
debf3b6e4d
feat: Added ERC20 community id (#4189) 2023-10-25 18:49:18 +02:00