Skip to content
Merged

Staging #1174

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
344a20f
Merge remote-tracking branch 'origin/staging' into sparknames
julian-CStack Apr 3, 2025
b1111d7
eth nonce in tx details view fix and a bunch of autoformat changes
julian-CStack Apr 3, 2025
637fb66
don't display fist price if fetch failed
julian-CStack Apr 4, 2025
5bd1bcb
update liblelantus ref
julian-CStack Apr 4, 2025
0f801cc
replace deprecated calls and formatting
julian-CStack Apr 4, 2025
84d63c2
fix eth sent amount display bug
julian-CStack Apr 4, 2025
17c43eb
log acceptable error as INFO (and some auto formatting)
julian-CStack Apr 4, 2025
724e5cd
don't refresh provider that is not used for eth
julian-CStack Apr 4, 2025
4b61ca3
auto format on save
julian-CStack Apr 5, 2025
0b4eafb
refactor eth transaction nonce fetching
julian-CStack Apr 5, 2025
9a67e1d
refactor eth token transaction fetch and update
julian-CStack Apr 5, 2025
b61ba0e
refactor desktop send fee info/selection to its own widget
julian-CStack Apr 7, 2025
72a1be1
remove conflicting analysis rule
julian-CStack Apr 7, 2025
7a153eb
remove old desktop fee selection dropdown, add nonce override field t…
julian-CStack Apr 7, 2025
3316b69
wip desktop custom eip-1559 fee ui
julian-CStack Apr 7, 2025
568c7c6
refactor eth gas tracker response data
julian-CStack Apr 7, 2025
fb6d35d
add eip-1559 fees fetch functionality
julian-CStack Apr 7, 2025
c23edb0
refactor FeeObject to use BigInt, add EthFeeObject, and of course a p…
julian-CStack Apr 7, 2025
289cc95
fix token fee display issue
julian-CStack Apr 7, 2025
ec4f7d8
feat: add block height option to scanned coins
detherminal Apr 8, 2025
cf5c2fc
desktop eth eip-1559 fees
julian-CStack Apr 8, 2025
566afd6
updated eth server
julian-CStack Apr 9, 2025
6c68f21
always log everything to console in debug mode
julian-CStack Apr 9, 2025
626b7d6
fix eth token balance response parsing
julian-CStack Apr 9, 2025
3614b1b
rough mobile custom eth fees ui
julian-CStack Apr 10, 2025
54bb20f
check range
julian-CStack Apr 25, 2025
5c18e78
Merge branch 'cypherstack:staging' into staging
detherminal Apr 25, 2025
6344390
refactor: states and views of restore options
detherminal Apr 25, 2025
c88dbbc
fix https://github.com/cypherstack/stack_wallet/issues/1121
julian-CStack Apr 25, 2025
04631ac
fix https://github.com/cypherstack/stack_wallet/issues/1108
julian-CStack Apr 25, 2025
eda7c58
Merge pull request #1115 from detherminal/staging
julian-CStack Apr 25, 2025
7afdc55
Merge remote-tracking branch 'origin/staging' into april-bug-fixes
julian-CStack Apr 25, 2025
b40daff
use state provider and autoformatting
julian-CStack Apr 25, 2025
64eea6a
monero/wownero seed offset option on restore
julian-CStack Apr 25, 2025
e765175
parse port hack
julian-CStack Apr 26, 2025
50ff74e
add option to node model
julian-CStack Apr 26, 2025
df21a67
Merge pull request #1125 from cypherstack/april-bug-fixes
julian-CStack Apr 26, 2025
9e73ce2
Use changenow v2 api only and update swap to be able to use coin+netw…
julian-CStack Apr 26, 2025
a5554e0
possible fixed rate initial fetch fix
julian-CStack Apr 26, 2025
68adcac
feat(monero): enable local monero nodes via a "Bypass TOR" node option
sneurlax Apr 30, 2025
34ab89b
Merge pull request #1128 from cypherstack/local-monero
julian-CStack Apr 30, 2025
5a8d3b8
Feat: Add FACT0RN
NyanCatTW1 Apr 19, 2025
d51cb97
Merge remote-tracking branch 'origin/staging' into sparknames
julian-CStack May 5, 2025
3d25e8a
auto format
julian-CStack May 5, 2025
ce0bcad
add static overflow row widget
julian-CStack May 5, 2025
dddf2df
update spark names electrumx calls
julian-CStack May 6, 2025
6c7ffc7
WIP view spark names
julian-CStack May 6, 2025
836ff9e
Spark names gui and storage using drift with sqlite for caching
julian-CStack May 7, 2025
c20269d
fix name tx confirm send
julian-CStack May 9, 2025
21b8037
spark names
julian-CStack May 9, 2025
2073ab5
Re-order build docs, closes #1035.
danrmiller May 12, 2025
53cac99
Merge pull request #1130 from cypherstack/docs
julian-CStack May 12, 2025
fa538b6
adaptive desktop wallet features
julian-CStack May 5, 2025
7034608
global spark name cache service
julian-CStack May 12, 2025
7c1e94f
autoformat again
julian-CStack May 12, 2025
47d4646
allow sending to spark names**
julian-CStack May 12, 2025
b52830e
do some look ahead for spark name lookups
julian-CStack May 12, 2025
8b7e4e6
spark name ui tweaks
julian-CStack May 13, 2025
d66e9fc
Merge remote-tracking branch 'origin/staging' into sparknames
julian-CStack May 13, 2025
abc205c
Merge remote-tracking branch 'origin/staging' into swap-updates
julian-CStack May 13, 2025
edcbf03
Merge pull request #1131 from cypherstack/swap-updates
julian-CStack May 13, 2025
d47f86f
Merge remote-tracking branch 'origin/testing' into sparknames
julian-CStack May 13, 2025
3a81eb7
Merge pull request #1132 from cypherstack/sparknames
julian-CStack May 13, 2025
ac324e2
Merge remote-tracking branch 'origin/testing' into eth-edits
julian-CStack May 13, 2025
f873758
fix issues from mergefest
julian-CStack May 13, 2025
dda8240
Merge pull request #1133 from cypherstack/eth-edits
julian-CStack May 13, 2025
a1467a0
update flutter_libsparkmobile
julian-CStack May 13, 2025
496caf6
Merge remote-tracking branch 'origin/testing' into testing
julian-CStack May 13, 2025
d090eae
disable spark name transactions before they are enabled on chain
julian-CStack May 14, 2025
5db3c63
add mounted check
julian-CStack May 14, 2025
ace8a13
transaction broadcast error logging
julian-CStack May 14, 2025
3743590
get more info from eth rpc errors on send
julian-CStack May 14, 2025
90486f6
initial duress pin integration
julian-CStack May 14, 2025
6e08661
update mocks
julian-CStack May 16, 2025
d23f50b
refactor to descriptive function name
julian-CStack May 16, 2025
7d28ed8
fix: empty other data error
julian-CStack May 16, 2025
d6bc8be
hack in check for addresses that can contain colon in the uri parsing…
julian-CStack May 16, 2025
f5f4567
Merge pull request #1135 from cypherstack/testing
rehrar May 19, 2025
2bbe82d
Fix hardcoded android logs dir. Might fix https://github.com/cypherst…
julian-CStack May 19, 2025
b652d38
Merge pull request #1136 from cypherstack/duress-pin
rehrar May 19, 2025
9b8239b
fix: duress biometrics
julian-CStack May 20, 2025
b51e6a8
WIP: just android things...
julian-CStack May 21, 2025
3db7111
Merge pull request #1138 from cypherstack/julian
julian-CStack May 21, 2025
b1cc8d7
chore: add cs_salvium to pubspec
sneurlax May 22, 2025
1369d8f
feat: add wip salvium wallet files
sneurlax May 22, 2025
b8cbffd
chore: ignore working theme dir(s)
sneurlax May 22, 2025
d2a566e
fix mobile nav issue
julian-CStack May 23, 2025
a81a908
Merge pull request #1139 from cypherstack/spark-name-buy-navigation-r…
julian-CStack May 23, 2025
04f0d78
Merge remote-tracking branch 'origin/staging' into salvium
sneurlax May 23, 2025
b570d6e
feat: add libSalviumWallet workaround
sneurlax May 23, 2025
8029116
fix: add optional pendingSalviumTransaction to TxData
sneurlax May 23, 2025
c6cba7e
fix: HACK salvium wallets are "just" monero wallets--is probably bad
sneurlax May 23, 2025
078a709
fix: add Salvium to SW app config
sneurlax May 23, 2025
604fd8c
fix: use monero wordlist for salvium, too
sneurlax May 23, 2025
fa262c1
fix: sort Salvium alphabetically in the coins list
sneurlax May 23, 2025
5c41864
fix: add Salvium wallet handling
sneurlax May 23, 2025
27b6193
fix: add Salvium wallet handling
sneurlax May 23, 2025
dfbbc33
fix: handle Salvium wallets
sneurlax May 23, 2025
7749c0f
fix: only use 25 word salvium mnemonics
sneurlax May 23, 2025
bb0401c
fix: rip compat out
sneurlax May 23, 2025
3703127
fix: handle salvium wallets in more places
sneurlax May 23, 2025
554e898
fix: add missing import
sneurlax May 23, 2025
1cf6989
fix: more salvium stuff
sneurlax May 23, 2025
f2460c3
liberal use of `SafeArea`
julian-CStack May 26, 2025
8d51d90
autosave and organise
julian-CStack May 26, 2025
f24adaa
fix file exists error
julian-CStack May 26, 2025
97f5995
temporarily (lol) copy paste sync status stuff to quickly integrate s…
julian-CStack May 26, 2025
0872e72
hook up salvium wallet files deletion
julian-CStack May 26, 2025
f67940a
auto format
julian-CStack May 26, 2025
b6b63bc
fix: swap issues
julian-CStack May 27, 2025
397f496
clean up swap currency selection list items and add trocador warnings…
julian-CStack May 27, 2025
24c022a
pass full currency into incomplete exchange model
julian-CStack May 27, 2025
daf112e
hack in prevention of spark sends to trocador swaps
julian-CStack May 27, 2025
219164d
Merge pull request #1143 from cypherstack/julian
julian-CStack May 27, 2025
4a82e17
Merge branch 'factorn' into main
julian-CStack May 27, 2025
9c765c9
Merge pull request #1119 from NyanCatTW1/main
julian-CStack May 27, 2025
941b553
Fix factorn wallet overrides
julian-CStack May 28, 2025
b5d2be8
WIP: mobile camera permissions qr scanning clean up
julian-CStack May 28, 2025
d831ef4
update themes
julian-CStack May 28, 2025
aaac3e7
use published salvium
julian-CStack May 28, 2025
88931fa
Merge remote-tracking branch 'origin/staging' into salvium
julian-CStack May 28, 2025
0fcfdac
Merge pull request #1144 from cypherstack/salvium
julian-CStack May 28, 2025
c89d6c3
Merge remote-tracking branch 'origin/staging' into factorn
julian-CStack May 28, 2025
28ad70f
Merge pull request #1145 from cypherstack/factorn
julian-CStack May 28, 2025
d8dad7f
equality check fix
julian-CStack May 29, 2025
292b494
remove lelantus
julian-CStack May 29, 2025
f3d923e
ios fix
julian-CStack May 29, 2025
58703ac
Add space on desktop
julian-CStack May 29, 2025
769a872
ios cam permission dialog tweak
julian-CStack May 29, 2025
0ff1ad0
show prev gen frost info in backup view
julian-CStack May 30, 2025
f4abb1f
frost spend fix
julian-CStack May 30, 2025
cb521f9
Merge remote-tracking branch 'origin/house-keeping' into house-keeping
julian-CStack May 30, 2025
df168d9
Merge pull request #1146 from cypherstack/house-keeping
julian-CStack May 30, 2025
b28d181
fix optional date
julian-CStack May 30, 2025
877ef21
fix duress favorites
julian-CStack May 30, 2025
f626837
Merge pull request #1147 from cypherstack/fixes
julian-CStack May 30, 2025
59621d6
demo
julian-CStack May 31, 2025
5bdc7d0
update cs_salvium dep with ios plist fix
julian-CStack May 31, 2025
066b8ab
Merge pull request #1148 from cypherstack/cs_salvium-ios-related-fix
julian-CStack May 31, 2025
4ebf972
8 places + polyseed
julian-CStack Jun 2, 2025
491fd47
Merge pull request #1150 from cypherstack/salvium-decimal-places
julian-CStack Jun 2, 2025
8f27e1a
Merge remote-tracking branch 'origin/staging' into monero-connections
julian-CStack Jun 2, 2025
0f32556
primary node flag
julian-CStack Jun 2, 2025
0f54f97
WIP remove store primary nodes separately. Still requires SWB changes…
julian-CStack Jun 2, 2025
905c64b
migrate primary nodes
julian-CStack Jun 2, 2025
6ffdf3d
refactor: extract canPing-related checks to helper fn
sneurlax Jun 2, 2025
505ba4c
feat: avoid crash w local node + "TOR only" node and tor off
sneurlax Jun 2, 2025
0c42fbe
update swb to handle updated primary node handling
julian-CStack Jun 2, 2025
a6ba1cd
refactor: combine NodeService add and edit -> save
sneurlax Jun 2, 2025
e8a13f9
update nodeservice delete func
julian-CStack Jun 2, 2025
d5945b4
clean up remaining node service refactor code issues
julian-CStack Jun 2, 2025
b9d15c8
fix file closed error
julian-CStack Jun 2, 2025
c571086
Merge pull request #1151 from cypherstack/monero-connections
julian-CStack Jun 2, 2025
bbbea43
More safearea wraps
julian-CStack Jun 9, 2025
157dccb
Merge pull request #1155 from cypherstack/safearea-fixes
julian-CStack Jun 9, 2025
ca81948
Merge pull request #1156 from cypherstack/staging
julian-CStack Jun 9, 2025
09c9104
WIP setup mweb
julian-CStack Jun 9, 2025
06d513a
replace barcode_scan2 with mobile_scanner
julian-CStack Jun 10, 2025
a28b629
update fusiondart
julian-CStack Jun 10, 2025
518888a
add mweb dependencies
julian-CStack Jun 10, 2025
a41a5fa
WIP drift mweb outputs and build runner gen updates
julian-CStack Jun 11, 2025
009a90d
mweb utils
julian-CStack Jun 11, 2025
f57e53c
formatting
julian-CStack Jun 12, 2025
6a05595
WIP: mweb integration - desktop focus
julian-CStack Jun 12, 2025
7752210
WIP: mweb recovery
julian-CStack Jun 13, 2025
7e17436
mwebd service clean up
julian-CStack Jun 19, 2025
6824774
refactor firo balance type to general pub/priv balance type for use w…
julian-CStack Jun 19, 2025
a8fc2f9
refactor signing data
julian-CStack Jun 19, 2025
1054b5a
WIP broken mweb transactions
julian-CStack Jun 20, 2025
921287c
temp hacks
julian-CStack Jun 24, 2025
15f84b4
no need to update if empty list passed in
julian-CStack Jun 26, 2025
11d6b2c
fix: respect verbose flag
julian-CStack Jun 26, 2025
e9f021c
mweb (and pegin/pegout) transactions (with some bugs) and some relati…
julian-CStack Jun 27, 2025
9fdcdc2
balance fixes
julian-CStack Jun 27, 2025
d41b3de
use mweb enabled coinlib
julian-CStack Jun 27, 2025
6fa12ce
fix: mweb tx change
julian-CStack Jun 27, 2025
e2da471
fix: mweb spend all
julian-CStack Jun 30, 2025
74d3c9f
fix: mweb anon all (pegin everything)
julian-CStack Jun 30, 2025
0cfa270
prevent mweb pegin transactions with non witness inputs from being br…
julian-CStack Jun 30, 2025
5073be7
update generated and handle mweb outputs in litecoin electrumx tx par…
julian-CStack Jun 30, 2025
f00e85f
mweb toggle dialog
julian-CStack Jul 1, 2025
95d3772
mweb address on mobile receive view
julian-CStack Jul 1, 2025
e8b2c59
adjust mweb toggle dialog info text
julian-CStack Jul 1, 2025
e0dfeb9
mwebd logs stream in debug mode
julian-CStack Jul 1, 2025
53caa9b
mweb mobile updates and fixes
julian-CStack Jul 1, 2025
32bd98f
flutter_mwebd go requirement docs update and bump flutter_mwebd versi…
julian-CStack Jul 2, 2025
01b0676
fix utxos update "optimization"
julian-CStack Jul 3, 2025
ec630cf
bump flutter_mwebd version again (with ios build fix)
julian-CStack Jul 3, 2025
8b19fcb
bump flutter_mwebd version yet again
julian-CStack Jul 3, 2025
483a41e
and again bump flutter_mwebd version, this time with windows build fix
julian-CStack Jul 4, 2025
338f661
again, but this time with linux fix
julian-CStack Jul 4, 2025
abeb824
mweb related ui tweaks
julian-CStack Jul 4, 2025
219b4d1
fix coin control pegin
julian-CStack Jul 4, 2025
e7e053f
ensure wallet has address of mweb output in local db
julian-CStack Jul 4, 2025
6cb870e
fix mweb -> mweb send all
julian-CStack Jul 4, 2025
fe6ef0a
fix receiving address query listener
julian-CStack Jul 7, 2025
3c05f17
salvium block explorer uri fix
julian-CStack Jul 7, 2025
401af1f
salvium price fix
julian-CStack Jul 7, 2025
2d90943
Merge pull request #1157 from cypherstack/mweb
rehrar Jul 7, 2025
f54f9bf
fix custom fee on desktop
julian-CStack Jul 9, 2025
6d0a95e
fix mweb output spent status (balance fix)
julian-CStack Jul 15, 2025
c73fef6
fix missing coin control option
julian-CStack Jul 15, 2025
d642b8f
update salvium dep
julian-CStack Jul 15, 2025
1896c7f
taproot address null error fix
julian-CStack Jul 15, 2025
a8dd5eb
salvium ios lib fix should be there now
julian-CStack Jul 15, 2025
6bdf43b
Merge pull request #1159 from cypherstack/bug-fixes
julian-CStack Jul 15, 2025
f0e4bac
new wallet solana null error fix
julian-CStack Jul 18, 2025
9850049
Merge pull request #1162 from cypherstack/solfix
julian-CStack Jul 18, 2025
1d1d27b
firo related ui tweaks
julian-CStack Jul 21, 2025
db9a949
firo spark coin instantsend isLocked addition to local model
julian-CStack Jul 22, 2025
50c8003
Update block explorer in nano.dart
Verycutecat Jul 16, 2025
dfae254
Update block explorer in banano.dart
Verycutecat Jul 16, 2025
8993560
disable buy/renew button if no address in field
julian-CStack Jul 22, 2025
9604f13
Merge pull request #1163 from cypherstack/firo-tweaks
julian-CStack Jul 22, 2025
ba89365
temp eth sync "fix"
julian-CStack Jul 22, 2025
394f469
fix (bandaid?) xelis open-close-open wallet quickly bug
julian-CStack Jul 22, 2025
801b504
disable/remove majestic bank
julian-CStack Jul 23, 2025
33eea8e
fix mwebd proxy address formatting
julian-CStack Jul 23, 2025
949df69
temp hack for legacy currencies in db
julian-CStack Jul 23, 2025
4f5797f
tezos bandaid fixes
julian-CStack Jul 23, 2025
f3898cd
ltc pub spend with mweb disabled insuff. bal fix
julian-CStack Jul 24, 2025
ed9aae2
Merge pull request #1165 from cypherstack/bug-fixes
julian-CStack Jul 24, 2025
927e4dc
reset custom fee slider value
julian-CStack Jul 25, 2025
4fff270
macos mwebd linking issue fix that affected some mac systems
julian-CStack Jul 25, 2025
08ed0fc
fix list type cast
julian-CStack Jul 25, 2025
be380b9
fix p2sh address detection
julian-CStack Jul 25, 2025
aea8847
fix address detection for cashaddrs
julian-CStack Jul 25, 2025
6e4af03
Merge pull request #1166 from cypherstack/bug-fixes
julian-CStack Jul 25, 2025
e55df92
remove remove reuse address toggle for single address type wallets
julian-CStack Jul 26, 2025
61904c7
add public support channels scam warning pop up
julian-CStack Jul 26, 2025
b67a067
don't use taproot address in buy flow when selecting receiving wallet…
julian-CStack Jul 27, 2025
81c1f8b
fix spark -> transparent fee calc
julian-CStack Jul 28, 2025
4017533
display instant lock tag on pending firo transactions
julian-CStack Jul 28, 2025
4a68a40
fix monKey image filename
julian-CStack Jul 28, 2025
5e57e8c
twitter -> x
julian-CStack Jul 28, 2025
62c167c
fix(macos): close mwebd on app close
sneurlax Jul 29, 2025
32ccd5c
feat: auto lock screen after idle timeout setting
julian-CStack Jul 30, 2025
7d71187
make desktop trade step 4 address copyable
julian-CStack Jul 30, 2025
4b8db60
all firo transactions are instant lock
julian-CStack Jul 30, 2025
e7737d6
Revert "fix(macos): close mwebd on app close"
sneurlax Jul 30, 2025
99f66cc
fix(macos): shutdown mwebd and force close app on app close request
sneurlax Jul 30, 2025
9ab15d2
Merge pull request #1169 from cypherstack/macos-mwebd
julian-CStack Jul 30, 2025
6d4c171
Merge remote-tracking branch 'origin/staging' into ux-tweaks
julian-CStack Jul 30, 2025
671c1bb
clean up debug build log spam on startup a bit
julian-CStack Jul 30, 2025
1f44387
hack fix eth token image loading null error in incognito mode using a…
julian-CStack Jul 30, 2025
7b7eaa8
allow send to cardano enterprise addresses
julian-CStack Jul 30, 2025
f7f00e3
Merge pull request #1171 from cypherstack/ux-tweaks
julian-CStack Jul 31, 2025
2965810
Disable send from stack option for swaps where the wallet is required…
julian-CStack Jul 31, 2025
22c1e04
Provide option on desktop baddecryption error to still continue with …
julian-CStack Jul 31, 2025
f7b79fe
Merge pull request #1172 from cypherstack/more-bugs
julian-CStack Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ jobs:
sudo apt clean
sudo apt update
sudo apt install -y unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev libc6-dev-i386
- name: Build Lelantus
run: |
cd crypto_plugins/flutter_liblelantus/scripts/linux/
./build_all.sh
- name: Build Monero
run: |
cd crypto_plugins/flutter_libmonero/scripts/linux/
./build_monero_all.sh
- name: Build Epic Cash
run: |
cd crypto_plugins/flutter_libepiccash/scripts/linux/
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ scripts/**/build
/lib/external_api_keys.dart

libepic_cash_wallet.dll
libmobileliblelantus.dll
libtor_ffi.dll
flutter_libsparkmobile.dll
secp256k1.dll
Expand Down Expand Up @@ -112,3 +111,4 @@ scripts/linux/build/libsecret/subprojects/gi-docgen/.meson-subproject-wrap-hash.
crypto_plugins/cs_monero/built_outputs
crypto_plugins/cs_monero/build
crypto_plugins/*.diff
/devtools_options.yaml
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "crypto_plugins/flutter_libepiccash"]
path = crypto_plugins/flutter_libepiccash
url = https://github.com/cypherstack/flutter_libepiccash.git
[submodule "crypto_plugins/flutter_liblelantus"]
path = crypto_plugins/flutter_liblelantus
url = https://github.com/cypherstack/flutter_liblelantus.git
[submodule "crypto_plugins/frostdart"]
path = crypto_plugins/frostdart
url = https://github.com/cypherstack/frostdart
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ linter:
constant_identifier_names: false
prefer_final_locals: true
prefer_final_in_for_each: true
require_trailing_commas: true
# require_trailing_commas: true // causes issues with dart 3.7
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

Expand Down
Binary file modified asset_sources/default_themes/stack_duo/dark.zip
Binary file not shown.
Binary file modified asset_sources/default_themes/stack_duo/light.zip
Binary file not shown.
2 changes: 2 additions & 0 deletions asset_sources/default_themes/stack_wallet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
light/
dark/
Binary file modified asset_sources/default_themes/stack_wallet/dark.zip
Binary file not shown.
Binary file modified asset_sources/default_themes/stack_wallet/light.zip
Binary file not shown.
1 change: 0 additions & 1 deletion asset_sources/svg/campfire/socials/twitter-brands.svg

This file was deleted.

1 change: 1 addition & 0 deletions asset_sources/svg/campfire/socials/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion asset_sources/svg/stack_duo/socials/twitter-brands.svg

This file was deleted.

1 change: 1 addition & 0 deletions asset_sources/svg/stack_duo/socials/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion asset_sources/svg/stack_wallet/socials/twitter-brands.svg

This file was deleted.

1 change: 1 addition & 0 deletions asset_sources/svg/stack_wallet/socials/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion crypto_plugins/flutter_liblelantus
Submodule flutter_liblelantus deleted from 7b3250
34 changes: 18 additions & 16 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,12 @@ Here you will find instructions on how to install the necessary tools for buildi
- The only OS supported for building Android and Linux desktop is Ubuntu 20.04. Windows builds require using Ubuntu 20.04 on WSL2. macOS builds for itself and iOS. Advanced users may also be able to build on other Debian-based distributions like Linux Mint.
- Android setup ([Android Studio](https://developer.android.com/studio) and subsequent dependencies)
- 100 GB of storage
- Install go: [https://go.dev/doc/install](https://go.dev/doc/install)

## Linux host

The following instructions are for building and running on a Linux host. Alternatively, see the [Mac](#mac-host) and/or [Windows](#windows-host) section. This entire section (except for the Android Studio section) needs to be completed in WSL if building on a Windows host.

### Flutter
Install Flutter 3.29.2 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.29.2` tag, and add its `flutter/bin` folder to your PATH as in
```sh
FLUTTER_DIR="$HOME/development/flutter"
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
cd "$FLUTTER_DIR"
git checkout 3.29.2
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
source "$HOME/.profile"
flutter precache
```

Run `flutter doctor` in a terminal to confirm its installation.

### Android Studio
Install Android Studio. Follow instructions here [https://developer.android.com/studio/install#linux](https://developer.android.com/studio/install#linux) or install via snap:
```
Expand Down Expand Up @@ -58,7 +45,7 @@ sudo apt-get install libssl-dev curl unzip automake build-essential file pkg-con

For Ubuntu 20.04,
```
sudo apt-get install valac
sudo apt-get install valac python3-pip
pip3 install --upgrade meson==0.64.1 markdown==3.4.1 markupsafe==2.1.1 jinja2==3.1.2 pygments==2.13.0 toml==0.10.2 typogrify==2.0.7 tomli==2.0.1
```

Expand Down Expand Up @@ -89,6 +76,20 @@ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
pip3 install --upgrade meson==0.64.1 markdown==3.4.1 markupsafe==2.1.1 jinja2==3.1.2 pygments==2.13.0 toml==0.10.2 typogrify==2.0.7 tomli==2.0.1
```

### Flutter
Install Flutter 3.29.2 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.29.2` tag, and add its `flutter/bin` folder to your PATH as in
```sh
FLUTTER_DIR="$HOME/development/flutter"
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
cd "$FLUTTER_DIR"
git checkout 3.29.2
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
source "$HOME/.profile"
flutter precache
```

Run `flutter doctor` in a terminal to confirm its installation.

### Clone the repository and initialize submodules
After installing the prerequisites listed above, download the code and init the submodules
```
Expand Down Expand Up @@ -163,6 +164,8 @@ cd scripts/windows
./deps.sh
```

install go in WSL [https://go.dev/doc/install](https://go.dev/doc/install) (follow linux instructions) and ensure you have `x86_64-w64-mingw32-gcc`

and use `scripts/build_app.sh` to build plugins:
```
cd ..
Expand Down Expand Up @@ -283,7 +286,6 @@ The WSL2 host may optionally be navigated to the `stack_wallet` repository on th
If the DLLs were built on the WSL filesystem instead of on Windows, copy the resulting `dll`s to their respective positions on the Windows host:

- `stack_wallet/crypto_plugins/flutter_libepiccash/scripts/windows/build/libepic_cash_wallet.dll`
- `stack_wallet/crypto_plugins/flutter_liblelantus/scripts/windows/build/libmobileliblelantus.dll`

<!-- TODO: script the copying or installation of libraries from WSL2 to the parent Windows host -->

Expand Down
22 changes: 13 additions & 9 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ PODS:
- ReachabilitySwift
- cs_monero_flutter_libs_ios (0.0.1):
- Flutter
- cs_salvium_flutter_libs_ios (0.0.1):
- Flutter
- device_info_plus (0.0.1):
- Flutter
- devicelocale (0.0.1):
Expand Down Expand Up @@ -65,8 +67,6 @@ PODS:
- Flutter
- isar_flutter_libs (1.0.0):
- Flutter
- lelantus (0.0.1):
- Flutter
- local_auth_darwin (0.0.1):
- Flutter
- FlutterMacOS
Expand All @@ -87,6 +87,8 @@ PODS:
- "sqlite3 (3.46.0+1)":
- "sqlite3/common (= 3.46.0+1)"
- "sqlite3/common (3.46.0+1)"
- "sqlite3/dbstatvtab (3.46.0+1)":
- sqlite3/common
- "sqlite3/fts5 (3.46.0+1)":
- sqlite3/common
- "sqlite3/perf-threadsafe (3.46.0+1)":
Expand All @@ -95,7 +97,8 @@ PODS:
- sqlite3/common
- sqlite3_flutter_libs (0.0.1):
- Flutter
- sqlite3 (~> 3.46.0)
- "sqlite3 (~> 3.46.0+1)"
- sqlite3/dbstatvtab
- sqlite3/fts5
- sqlite3/perf-threadsafe
- sqlite3/rtree
Expand All @@ -117,6 +120,7 @@ DEPENDENCIES:
- coinlib_flutter (from `.symlinks/plugins/coinlib_flutter/darwin`)
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- cs_monero_flutter_libs_ios (from `.symlinks/plugins/cs_monero_flutter_libs_ios/ios`)
- cs_salvium_flutter_libs_ios (from `.symlinks/plugins/cs_salvium_flutter_libs_ios/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- devicelocale (from `.symlinks/plugins/devicelocale/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
Expand All @@ -129,7 +133,6 @@ DEPENDENCIES:
- frostdart (from `.symlinks/plugins/frostdart/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- isar_flutter_libs (from `.symlinks/plugins/isar_flutter_libs/ios`)
- lelantus (from `.symlinks/plugins/lelantus/ios`)
- local_auth_darwin (from `.symlinks/plugins/local_auth_darwin/darwin`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
Expand Down Expand Up @@ -162,6 +165,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/connectivity_plus/ios"
cs_monero_flutter_libs_ios:
:path: ".symlinks/plugins/cs_monero_flutter_libs_ios/ios"
cs_salvium_flutter_libs_ios:
:path: ".symlinks/plugins/cs_salvium_flutter_libs_ios/ios"
device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios"
devicelocale:
Expand All @@ -186,8 +191,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/integration_test/ios"
isar_flutter_libs:
:path: ".symlinks/plugins/isar_flutter_libs/ios"
lelantus:
:path: ".symlinks/plugins/lelantus/ios"
local_auth_darwin:
:path: ".symlinks/plugins/local_auth_darwin/darwin"
package_info_plus:
Expand Down Expand Up @@ -216,6 +219,7 @@ SPEC CHECKSUMS:
coinlib_flutter: 9275e8255ef67d3da33beb6e117d09ced4f46eb5
connectivity_plus: 07c49e96d7fc92bc9920617b83238c4d178b446a
cs_monero_flutter_libs_ios: fd353631682247f72a36493ff060d4328d6f720d
cs_salvium_flutter_libs_ios: f9d6ce540cb34d8cb8641822cf02fa0695a8d405
device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d
devicelocale: 35ba84dc7f45f527c3001535d8c8d104edd5d926
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
Expand All @@ -230,7 +234,6 @@ SPEC CHECKSUMS:
frostdart: 4c72b69ccac2f13ede744107db046a125acce597
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
isar_flutter_libs: fdf730ca925d05687f36d7f1d355e482529ed097
lelantus: 417f0221260013dfc052cae9cf4b741b6479edba
local_auth_darwin: 66e40372f1c29f383a314c738c7446e2f7fdadc3
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
Expand All @@ -240,13 +243,14 @@ SPEC CHECKSUMS:
SDWebImage: 72f86271a6f3139cc7e4a89220946489d4b9a866
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
sqlite3: 292c3e1bfe89f64e51ea7fc7dab9182a017c8630
sqlite3_flutter_libs: 0d611efdf6d1c9297d5ab03dab21b75aeebdae31
sqlite3_flutter_libs: c00457ebd31e59fa6bb830380ddba24d44fbcd3b
stack_wallet_backup: 5b8563aba5d8ffbf2ce1944331ff7294a0ec7c03
SwiftProtobuf: 6ef3f0e422ef90d6605ca20b21a94f6c1324d6b3
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
tor_ffi_plugin: d80e291b649379c8176e1be739e49be007d4ef93
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1
wakelock_plus: 373cfe59b235a6dd5837d0fb88791d2f13a90d56
xelis_flutter: a6a1ee1f1e47f5aeb42dc4a5889358b79d8d90fc

PODFILE CHECKSUM: 57c8aed26fba39d3ec9424816221f294a07c58eb

Expand Down
17 changes: 10 additions & 7 deletions lib/app_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import 'wallets/crypto_currency/intermediate/frost_currency.dart';

part 'app_config.g.dart';

enum AppFeature {
themeSelection,
buy,
swap;
}
enum AppFeature { themeSelection, buy, swap }

abstract class AppConfig {
static const appName = _prefix + _separator + suffix;
Expand All @@ -27,7 +23,8 @@ abstract class AppConfig {

static List<CryptoCurrency> get coins => _supportedCoins;

static ({String from, String to}) get swapDefaults => _swapDefaults;
static ({String from, String fromFuzzyNet, String to, String toFuzzyNet})
get swapDefaults => _swapDefaults;

static bool get isSingleCoinApp => coins.length == 1;

Expand Down Expand Up @@ -75,7 +72,13 @@ abstract class AppConfig {
/// Fuzzy logic. Use with caution!!
@Deprecated("dangerous")
static CryptoCurrency getCryptoCurrencyByPrettyName(final String prettyName) {
final name = prettyName.replaceAll(" ", "").toLowerCase();
// trocador hack
const hackSplitter = " (Mainnet";
final name =
prettyName.contains(hackSplitter)
? prettyName.split(hackSplitter).first.toLowerCase()
: prettyName.replaceAll(" ", "").toLowerCase();

try {
return coins.firstWhere(
(e) => e.identifier.toLowerCase() == name || e.prettyName == prettyName,
Expand Down
Loading
Loading