Commit graph

30 commits

Author SHA1 Message Date
Serhii
b4316581c8 add transaction creation 2023-08-20 21:46:09 +03:00
Serhii
5f59bd939e fix transaction priority type 2023-08-18 11:48:30 +03:00
Omar Hatem
3ce4000dcf
Cw 78 ethereum (#862)
* Add initial flow for ethereum

* Add initial create Eth wallet flow

* Complete Ethereum wallet creation flow

* Fix web3dart versioning issue

* Add primary receive address extracted from private key

* Implement open wallet functionality

* Implement restore wallet from seed functionality

* Fixate web3dart version as higher versions cause some issues

* Add Initial Transaction priorities for eth
Add estimated gas price

* Rename priority value to tip

* Re-order wallet types

* Change ethereum node
Fix connection issues

* Fix estimating gas for priority

* Add case for ethereum to fetch it's seeds

* Add case for ethereum to request node

* Fix Exchange screen initial pairs

* Add initial send transaction flow

* Add missing configure for ethereum class

* Add Eth address initial setup

* Fix Private key for Ethereum wallets

* Change sign/send transaction flow

* - Fix Conflicts with main
- Remove unused function from Haven configure.dart

* Add build command for ethereum package

* Add missing Node list file to pubspec

* - Fix balance display
- Fix parsing of Ethereum amount
- Add more Ethereum Nodes 

* - Fix extracting Ethereum Private key from seeds
- Integrate signing/sending transaction with the send view model

* - Update and Fix Conflicts with main

* Add Balances for ERC20 tokens

* Fix conflicts with main

* Add erc20 abi json

* Add send erc20 tokens initial function

* add missing getHeightByDate in Haven

* Allow contacts and wallets from the same tag

* Add Shiba Inu icon

* Add send ERC-20 tokens initial flow

* Add missing import in generated file

* Add initial approach for transaction sending for ERC-20 tokens

* Refactor signing/sending transactions

* Add initial flow for transactions subscription

* Refactor signing/sending transactions

* Add home settings icon

* Fix conflicts with main

* Initial flow for home settings

* Add logic flow for adding erc20 tokens

* Fix initial UI

* Finalize UI for Tokens

* Integrate UI with Ethereum flow

* Add "Enable/Disable" feature for ERC20 tokens

* Add initial Erc20 tokens

* Add Sorting and Pin Native Token features

* Fix price sorting

* Sort tokens list as well when Sort criteria changes

* - Improve sorting balances flow
- Add initial add token from search bar flow

* Fix Accounts Popup UI

* Fix Pin native token

* Fix Enabling/Disabling tokens
Fix sorting by fiat once app is opened
Improve token availability mechanism

* Fix deleting token
Fix renaming tokens

* Fix issue with search

* Add more tokens

* - Fix scroll issue
- Add ERC20 tokens placeholder image in picker

* - Separate and organize default erc20 tokens
- Fix scrolling
- Add token placeholder images in picker
- Sort disabled tokens alphabetically

* Change BNB token initial availability

* Fix Conflicts with main

* Fix Conflicts with main

* Add Verse ERC20 token to the initial tokens list

* Add rename wallet to Ethereum

* Integrate EtherScan API for fetching address transactions
Generate Ethereum specific secrets in Ethereum package

* Adjust transactions fiat price for ERC20 tokens

* Free Up GitHub Actions Ubuntu Runner Disk Space

* Free Up GitHub Actions Ubuntu Runner Disk space (trial 2)

* Fix Transaction Fee display

* Save transaction history

* Enhance loading time for erc20 tokens transactions

* Minor Fixes and Enhancements

* Fix sending erc20
fix block explorer issue

* Fix int overflow

* Fix transaction amount conversions

* Minor: `slow` -> `Slow` 

* Update build guide

* Fix fetching fiat rate taking a lot of time by only fetching enabled tokens only and making the API calls in parallel not sequential

* Update transactions on a periodic basis

* For fee, use ETH spot price, not ERC-20 spot price

* Add Etherscan History privacy option to enable/disable Etherscan API

* Show estimated fee amounts in the send screen

* fix send fiat fields parsing issue

* Fix transactions estimated fee less than actual fee

* handle balance sorting when balance is disabled
Handle empty transactions list

* Fix Delete Ethereum wallet
Fix balance < 0.01

* Fix Decimal place for Ethereum amount
Fix sending amount issue

* Change words count

* Remove balance hint and Full balance row from Ethereum wallets

* support changing the asset type in send templates

* Fix Templates for ERC tokens issues

* Fix conflicts in send templates

* Disable batch sending in Ethereum

* Fix Fee calculation with different priorities

* Fix Conflicts with main

* Add offline error to ignored exceptions

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-08-04 20:01:49 +03:00
Justin Ehrenhofer
d7fa9991e1
CW-306 New assets for exchange and cleanup (#993)
* CW-306 New assets for exchange and cleanup

* Remove 1inch
2023-07-13 17:31:45 +03:00
Rafael Saes
9668863655
CW-320-validate-address-case (#934)
* feat: allow all-lowercase OR all-uppercase ltc1 addresses (btc1 already working)

* fix: ltc length
2023-05-24 16:48:06 +03:00
Rafael Saes
0231298381
CW-254-proper-bitcoin-address-validation-in-exchange-screen (#900)
* feat: Proper Bitcoin address validation in exchange screen

* fix: use custom validation in addition to RegEx to make sure all address cases are validated

- for cases like P2SH addresses starting with a 3, which are not validated by bitcoin_flutter functions

* feat: add bitcoin_flutter to root project

* refactor: improve conditional isValid return chain
2023-05-15 15:39:00 +03:00
Justin Ehrenhofer
ab20312e61
Add btcln; add 2 assets to SideShift (#890)
* Add btcln; add 2 assets to SideShift

* fix regex line

* change ordering
2023-04-20 20:55:44 +02:00
OmarHatem
65b2ae6680 Add LTC to twitter address parsing 2023-02-02 18:36:57 +02:00
Serhii
83c1907e31 add twitter api 2023-01-24 20:24:46 +02:00
Serhii
292c4c396c remove HUSD and rename BTTBSC 2022-11-30 23:53:57 +02:00
Omar Hatem
6046385236
Cw 178 additional accents for exchange (#526)
* Fix SimpleSwap create exchange (#522)

* Check for status code 201 instead of 200 to follow SimpleSwap API documentation

* allow 200 and 201 success status code

* Changed app version to 4.4.7 (1.1.1 for monero.com)

* Add new currencies
Separate a list for unsupported currencies for SideShift
Fix currencies normalization symbols

* Add new currencies

* Add Currencies validation and possible length

Co-authored-by: M <m@cakewallet.com>
2022-10-20 13:23:36 -04:00
M
1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04:00
Justin Ehrenhofer
bc8900e879
fix zaddr validation (#506)
Sideshift only supports `zs` Sapling addresses now. They do not support `zc` Sprout addresses or `u` unified addresses
2022-09-14 15:46:14 -04:00
Serhii
f6a2b3c74b
Cw 126 check validation for new currencies (#501)
* update address validation

xmr, ape, avaxc, eth, usdc, hbar, sc, sol, usdcsoul, usdttrc20, btt, bttsc, doge,firo, xvg, zen, tzec, zzec

* fix formating
2022-09-07 13:53:33 +01:00
Serhii-Borodenko
4e4c19d3e3 added validation of hvx,hvi,hvs Haven addresses 2022-06-01 14:12:09 +03:00
mkyq
01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02:00
M
56cd6c26ed Fixes for network based pairs for changenow. Fixes for address validation for ustd address. 2022-02-08 10:57:02 +02:00
M
e6b1da376d Configure wallet types for the app 2021-12-24 14:41:34 +02:00
M
1330966794 Reworked electrum wallet. Added Litecoin wallet. 2021-05-07 10:36:38 +03:00
OleksandrSobol
928be1a49c CAKE-298 | used 8 minor digits for btc amount validator; applied btc address formats for btc address validator 2021-03-26 14:45:46 +02:00
OleksandrSobol
270b5f4c78 CAKE-281 | added addr1 address format validation for cardano 2021-02-23 20:38:36 +02:00
M
66cae9e44a Merge pull request #171 from cake-tech/CAKE-233-add-new-xrp-address-format
CAKE-233 | added new XRP address format, starting with an X, to addre…
2021-01-15 20:11:57 +02:00
OleksandrSobol
bcdd7bca27 CAKE-238 | added ADA address type to the address_validator.dart 2021-01-13 19:39:38 +02:00
OleksandrSobol
eb425572d6 CAKE-233 | added new XRP address format, starting with an X, to address_validator.dart 2021-01-13 19:26:02 +02:00
OleksandrSobol
e927df3712 CAKE-187 | added new btc address for validation (address_validator.dart) 2020-11-20 19:07:29 +02:00
OleksandrSobol
692c460988 CAKE-129 | added new length of the new btc address in the address validator 2020-10-26 19:28:36 +02:00
OleksandrSobol
dfb3112fd2 CAKE-54 | added usdt erc20 to cryptocurrencies list; added usdt erc20 to currency picker; added usdt erc20 logo to contact list page; added address validator for usdt erc20; reworked currency picker 2020-09-25 16:30:39 +03:00
OleksandrSobol
360e04cc4c CAKE-53 | added dai to cryptocurrencies list; added dai to currency picker; added dai logo to contact list page; added address validator for dai 2020-09-24 21:58:07 +03:00
M
e4ebfc94b2 Part 1 2020-09-21 14:50:26 +03:00
M
f45875ba3a General changes. CAKE-1. 2020-07-06 23:09:03 +03:00