Commit graph

2653 commits

Author SHA1 Message Date
Adegoke David
f9679fecbe
CW-584-WalletConnect-For-Solana (#1362)
* chore: Create cw_solana package and clean up files

* feat: Add Solana Wallet - Create, Restore form seed, restore from Key, Restore from QR, Send, Receive, transaction history, spl tokens

* fix: Make transactions file specific to solana only for solana transactions

* chore: Revert inject app details script

* fix: Fix issue with node and switch current node to main beta instead of testnet

* fix: Fix merge conflicts and adjust migration version

* fix: Fetch spl token error

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>

* fix: Diplay and activate spl tokens bug

* fix: Review and fixes

* fix: reverted formatting for cryptocurrency class

* fix: Review comments, split sending flow into signing and sending separately, fix issues

* fix: Revert throwing unimplenented error

* chore: Fix comment

* chore: Fix comment

* fix: Errors in flow

* Update provider_types.dart [skip ci]

* fix: Issues with solana wallet

* Update solana_wallet.dart [skip ci]

* fix: Review comments

* fix: Date time config

* fix: Revert bash script for app details

* fix: Error with balance, displaying fees, fixing sent or received identifier bug, displaying token symbol with token transaction item in transactions list

* fix: Issues with address validation when sending spl tokens and walletconnect initial setup

* fix: Issues with sending, fetching transactions history, almost wrapping up walletconnect

* fix: Adjust imports that would affect monerocom building successfully

* fix: Refine transaction direction and continue work on walletconnect

* feat: Display SPL token transfers in the transaction history and finally settle the transaction direction

* fix: Delay in transactions history dispaly, show native token transactions first, then process spl token transactions

* feat: Switch node and revert solana chain id to previous id

* fix: Remove print statement

* fix: Remove await for transactions, fetch all transaction histories instantly and adjust solana send success message

* chore: Code refactoring and streamlined wallet type check for solana send success message

* fix: Make timeout error for node silent and add spl token images

* fix: Still trying to figure out what's wrong

* Sync with remote

* feat: First run for walletconnect for solana

* chore: Add ankr api key to secrets

* remove duplicate transaction [skip ci]

---------

Signed-off-by: Blazebrain <davidadegoke16@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-04-09 02:26:11 +02:00
Rafael Saes
058ff6aeec chore: print 2024-04-08 21:06:49 -03:00
Rafael Saes
6ee57a7be4 fix: missing i18n 2024-04-08 20:37:48 -03:00
Rafael Saes
36c6436813 feat: silent payments labeled addresses disclaimer 2024-04-08 20:30:23 -03:00
tuxsudo
69587e813f
Always show addresses page for Monero and remove unused text showing up for wallets it shouldn't be (#1363) 2024-04-09 01:04:16 +02:00
Adegoke David
2877cc160c
CW-608-Fetch-And-Save-Icons-Of-ERC20-And-SPL-Tokens-When-Adding-Them (#1365)
* feat: Fetch and save icons of SPL tokens when adding them

* feat: Implement fetch and save icons for ERC20 tokens when adding them

* fix: Add moralisApiKey to evm secrets

* Add check to ensure decimals cannot be zero

* - Fallback to adding erc20 token from web3dart
- Wrap fetching spl token icon in a try/catch block

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-04-09 00:53:14 +02:00
Rafael Saes
487be52c89 feat: improve addresses page & address book displays 2024-04-08 18:46:33 -03:00
Rafael Saes
dd803edc27 Merge remote-tracking branch 'origin/main' into CW-453-silent-payments 2024-04-08 15:15:30 -03:00
Matthew Fosse
d4b317b3a0
minor fix (#1371) 2024-04-08 19:42:27 +02:00
Serhii
291aa710c6
Add rbf (#1323)
* Add initial checkbox for RBF

* minor progress

* minor progress

* Minor progress

* Debugging RBF

* Minor fix

* Fix RBF transaction inputs (now it's working)

* New versions
Fix issues with Monero.com

* Add sending for Solana tokens exchanges

* Add default keyword for P2WPKH [skip ci]

* chore: Switch solana commitment to confirmed to reduced blockhash expiration (#1313)

* Modify test workflow to send arm64-v8a build only

* Fix workflow build path

* Remove unnecessary reverse of txId

* Update Replace by fee with the new bitcoin base implementation

* btc custom fee priority

* add feeRate to btc credential

* UI fixes

* add check if the change covers the fee

* Update settings_store.dart

* add check confirmation for rbf

* add a check to see if the change is sufficient for the new fee

* addressing PR comments

* update localization files

* addressing PR comments

* minor fixes

* Update transaction_details_view_model.dart

* Minor Fix for building Monero.com [skip ci]

* update localization files

* add bump fee page

* update localisation files

* Update cw_bitcoin.dart

* fix merge conflict

* fix UI issues

* Fix Conflicts, Fix RBF flow, some enhancements

* prevent default custom fee rate

* hide outputs and inputs items

* minor fix [skip ci]

* addressing PR comments

* remove rbf checkbox

* default picker value

* minor ui change [skip ci]

* min fee rate [skip ci]

* Minor fix and some minor enhancements

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Adegoke David <64401859+Blazebrain@users.noreply.github.com>
2024-04-08 16:54:58 +02:00
tuxsudo
071643b662
Merge pull request #1368 from cake-tech/repo-edits
README edits and add new images
2024-04-05 19:51:40 -04:00
tuxsudo
651b162e93
Oops 2024-04-05 19:47:53 -04:00
tuxsudo
e36f68f185
Remove more unused images 2024-04-05 19:47:00 -04:00
tuxsudo
8fa0730c02
Remove uneeded files 2024-04-05 19:34:23 -04:00
tuxsudo
d0d155bcc5
Update README.md 2024-04-05 19:33:42 -04:00
tuxsudo
458159ef59
Update README.md 2024-04-05 19:32:55 -04:00
tuxsudo
2e2089a97a
Update README.md 2024-04-05 19:29:01 -04:00
tuxsudo
6fbf49286e
Update README.md 2024-04-05 19:28:46 -04:00
tuxsudo
ed4c6211fd
Upload 2024-04-05 19:26:56 -04:00
tuxsudo
55f6e8acb1
Update 2024-04-05 19:26:00 -04:00
tuxsudo
4e286bd016
Update logo 2024-04-05 19:25:00 -04:00
tuxsudo
9e2868de00
Upload logo 2024-04-05 19:22:57 -04:00
tuxsudo
23da88d6f4
Update images 2024-04-05 19:19:09 -04:00
tuxsudo
3d06a7d354 Update images 2024-04-05 19:18:33 -04:00
tuxsudo
045ccadf16
Add screenshots to README 2024-04-05 19:16:55 -04:00
tuxsudo
8e8db7088c
Update 2024-04-05 19:15:28 -04:00
tuxsudo
7c668674da
Upload devices2.png 2024-04-05 19:14:36 -04:00
tuxsudo
5e1d811cf6
Update devices.png 2024-04-05 19:13:00 -04:00
tuxsudo
50ae2ef8f3
Update devices 2024-04-05 19:09:34 -04:00
tuxsudo
e628249e5c
Add devices SVG 2024-04-05 19:07:01 -04:00
tuxsudo
7b62223001 Add more images 2024-04-05 19:03:59 -04:00
Rafael Saes
2b23ab1993 fix: invalid Object in sendData 2024-04-05 19:20:18 -03:00
tuxsudo
277a487a9c
Update README.md 2024-04-05 17:45:35 -04:00
Rafael Saes
b47b1d5d1c Merge remote-tracking branch 'origin/main' into CW-453-silent-payments 2024-04-05 17:27:52 -03:00
Rafael Saes
226c47c6e3 feat: generic fixes, testnet UI improvements, useSSL on bitcoin nodes 2024-04-05 17:27:42 -03:00
tuxsudo
705ce35cee
Update a couple badges 2024-04-05 15:50:56 -04:00
tuxsudo
653a6c678d
Add app badge icons 2024-04-05 15:45:49 -04:00
Matthew Fosse
dbb62ef5c0
update migration behavior slightly (#1364) 2024-04-05 18:11:47 +02:00
Matthew Fosse
7eed97718e
disable service status api if fiat api is disabled (#1357) 2024-04-02 20:02:28 +02:00
Rafael Saes
d6de17c710 chore: build configure 2024-04-01 19:36:18 -03:00
Rafael Saes
8ed3e41b2b feat: Scan Silent Payments homepage toggle 2024-04-01 19:19:31 -03:00
Rafael Saes
7197a7bc71 Merge remote-tracking branch 'origin/main' into CW-453-silent-payments 2024-04-01 18:07:49 -03:00
Omar Hatem
62ef545fce
New versions (#1355)
* New versions

* Check for Taproot inputs when exchanging with ThorChain

* Properly handle taproot case with thorchain

* fix missing import
2024-04-01 15:31:14 +02:00
Omar Hatem
1f904dcd47
Generic fixes (#1354)
* Change order of currencies in currency picker

* Disable Background sync until implemented properly

* remove ability to use device pin in bio auth

* Fix condition

* Minor fix [skip ci]

* make notifications red dot go when opened

* Update Frozen coin text color

* Update Frozen coin text color

* Fetch internal transactions for eth and polygon

* Remove debug prints [skip ci]

* Fix Camera permission on iOS [skip ci]

* Minor fixes [skip ci]

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2024-03-29 20:59:26 +02:00
Adegoke David
a9b8c03e55
CW-596-Solana-Bug-Fixes (#1340)
* fix: Generic bug fixes across solana

* fix: Remove back and forth parsing

* fix: Add check to cut flow when estimated fee is higher than wallet balance

* Update error message for fees exception

* Remove logs

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-03-29 20:55:29 +02:00
Omar Hatem
698c222291
Generic fixes (#1348)
* Change order of currencies in currency picker

* Disable Background sync until implemented properly

* remove ability to use device pin in bio auth

* Fix condition

* Minor fix [skip ci]

* make notifications red dot go when opened

* Update Frozen coin text color

* Update Frozen coin text color

* Fetch internal transactions for eth and polygon

* Remove debug prints [skip ci]

* Fix Camera permission on iOS [skip ci]

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2024-03-29 20:54:59 +02:00
Rafael
fd9018bcc4
Cw 598 fixes for electrum based wallets (#1344)
* fix: address book addresses, bch builder, exchange all fee estimation, bch coin control

* feat: new error framework for Electrum messages

* build: cw_bitcoin.dart

* feat: error improvements, localization, fix exchange amount mismatch

* chore: misc comment & print [skip ci]

* feat: refactor & simplify sendAll vs regular tx estimation and creation

- Since there were so many conditions inside a single function to alter its behavior if sendAll or not, it is easier and more readable to have separate sendAll and estimateTx functions that behave separately

* fix: wrong LTC dust

* feat: fee rate confirmation

* fix: wrong createTrade value when isSendAll is enabled

* fix bitcoin cash address parsing [skip ci]

* fix: form no amount validator, address book with multiple entries, exchange all below min error

* fix: improve string, fix sending with dust inputs at the top

* fix: two change outputs when re-estimating

* fix: sendAll with a little dust adds fees

* chore: sanity check [skip ci]

* fix: if the fee is higher than estimated

* Minor enhancement [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-03-29 20:51:34 +02:00
Matthew Fosse
78685b74f0
Cw 521 moonpay buy (#1335)
* save

* save

* moonpay fixes

* fix for debug mode

* code cleanup

* another fix for debug mode

* [skip ci] fixes

* test build

* code cleanup

* fix buy page
2024-03-28 15:30:41 +02:00
Serhii
cdf081edfd
Cw 537 integrate thor chain swaps (#1280)
* thorChain btc to eth swap

* eth to btc swap

* update the UI

* update localization

* Update thorchain_exchange.provider.dart

* minor fixes

* minor fix

* fix min amount bug

* revert amount_converter changes

* fetching thorChain traid info

* resolve evm related merge conflicts

* minor fix

* Fix eth transaction hash for Thorchain Integration

* add new status endpoint and refund address for eth

* Adjust affiliate fee

* Fix conflicts with main

* review comments + transaction filter item

* taproot addresses check

* added 10 outputs check

* Update thorchain_exchange.provider.dart

* minor fixes

* update thorchain title

* fix fetching rate for thorchain

* Revert "fix fetching rate for thorchain"

This reverts commit 3aa1386ecf.

* fix thorchain exchange rate

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-03-28 14:41:11 +02:00
Konstantin Ullrich
b9e803f3bd
Fix pubspec generation on windows (#1351) 2024-03-26 18:08:39 +02:00