-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Zano (Android and iOS) #1661
Merged
Merged
Changes from 59 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
70b1241
my experiments
LeoBlackCat f6485d9
Inital code for Zano integration
LeoBlackCat 7a00a5d
Added missing android log lib
LeoBlackCat 219f43a
added dummy wallet & some zano implementation
LeoBlackCat a260d0a
fixing api for zano
LeoBlackCat d5f84fe
fixed zano build script
LeoBlackCat 6d7f2be
attempt tp fix namespace problem
LeoBlackCat 9265651
added copy script for Zano files
LeoBlackCat 58e5059
changes for zano wallet
LeoBlackCat dda6d4c
last updates
LeoBlackCat 2d886e1
zano.dart test app
LeoBlackCat 8d3dd6f
wallet recovery
LeoBlackCat 3eaec03
added pending transfer, some cleanup of unused
LeoBlackCat df984ca
some cleanup
LeoBlackCat e4c775b
send + receive qr code
LeoBlackCat 1418679
last upd
LeoBlackCat 20cf071
updated build_zano.sh
LeoBlackCat 00a5bd9
updated zano ApiCalls, removed dummy
LeoBlackCat 3c2953a
updated zano ApiCalls, removed dummy
LeoBlackCat e1da71a
added logging for get status/get info
LeoBlackCat 7fcdc8c
restored old wallet.dart
LeoBlackCat b3e453a
restoring original versions of files
LeoBlackCat d684be6
restoring original versions of files
LeoBlackCat b585da5
restored get_height_by_date.dart, removed unnecessary calls for zano …
LeoBlackCat ba2dde7
restoring original versions
LeoBlackCat 43e9cd2
added multiple destinations, send all flag; some refactoring
LeoBlackCat 9228d91
logging
LeoBlackCat 75f1f3f
removed the duplicate
LeoBlackCat 23485a4
fixed syncing sync status, decimal division, safe null json parsing
LeoBlackCat 26e3a6c
merge with latest cakewallet to leofork
LeoBlackCat ce95229
some fixes after merge
LeoBlackCat 5699230
added multibalance/asset support for zano (ui)
LeoBlackCat b2b6578
adding/removing from whitelist
LeoBlackCat c74a114
transfers in different assets
LeoBlackCat 5af75aa
transfers for multiple destinations and send all, some refactoring
LeoBlackCat 662aba5
whitelists, some refactoring
LeoBlackCat 9d9fe4a
added different digits (decimal points) for formatters, some refactoring
LeoBlackCat 42731fc
open, create, restore wallet refactoring; whitelists
LeoBlackCat 89b572c
whitelists
LeoBlackCat 54a522a
getting and updating transaction list; restoring a wallet from QR code
LeoBlackCat 9f93cb3
several attempts to close wallet
LeoBlackCat 0a6f162
some refactoring
LeoBlackCat e02f088
added seed phrase
LeoBlackCat 82f6b15
resolve conflicts and merge
LeoBlackCat e7b29c0
Merge branch 'cake-tech:main' into main
LeoBlackCat 02bfe64
changed fields to BigInt, some fixes
LeoBlackCat a6b6a54
Merge branch 'cake-tech:main' into main
LeoBlackCat 8c7d87b
modified build scripts for android
LeoBlackCat 52410b6
Merge branch 'cake-tech:main' into main
LeoBlackCat 9c6ddba
build scripts
LeoBlackCat 261da43
Merge branch 'main' of https://github.com/hyle-team/zano_cake_wallet …
LeoBlackCat 7474291
restored accidently removed cw_haven.dart
LeoBlackCat b210dfe
inital ios integration(zano libs built)
cryptozoidberg 18d0547
update in script
cryptozoidberg 2dbea9b
latest changes
cryptozoidberg f7474b9
Applied a patch for iOS build (Boost and Zano scripts)
LeoBlackCat 367c863
Removed zano.dart (script-generated) and some unnecessary files
LeoBlackCat d5e9530
Revert "Removed zano.dart (script-generated) and some unnecessary files"
LeoBlackCat bf8e884
Removed zano.dart (generated by scripts), some files restored to init…
LeoBlackCat 2c83de3
added timer library
LeoBlackCat 956c469
changed paths in build_zano.sh
LeoBlackCat 91a063a
build_zano.sh
LeoBlackCat cda4a38
edit_token_page.dart - removed flag skipZanoAddressValidation
LeoBlackCat 3caca5c
lib/core/address_validator.dart - updated zano address regex
LeoBlackCat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- | ||
uri: zano.org | ||
is_default: true | ||
useSSL: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,6 +98,8 @@ class Node extends HiveObject with Keyable { | |
case WalletType.solana: | ||
case WalletType.tron: | ||
return Uri.https(uriRaw, path ?? ''); | ||
case WalletType.zano: | ||
return Uri.https(uriRaw, ''); | ||
case WalletType.none: | ||
throw Exception('Unexpected type ${type.toString()} for Node uri'); | ||
} | ||
|
@@ -157,6 +159,8 @@ class Node extends HiveObject with Keyable { | |
case WalletType.solana: | ||
case WalletType.tron: | ||
return requestElectrumServer(); | ||
case WalletType.zano: | ||
return requestZanoNode(); | ||
case WalletType.none: | ||
return false; | ||
} | ||
|
@@ -165,6 +169,11 @@ class Node extends HiveObject with Keyable { | |
} | ||
} | ||
|
||
Future<bool> requestZanoNode() async { | ||
// TODO: fix it | ||
return true; | ||
} | ||
Comment on lines
+172
to
+175
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just a normal get request should suffice here I believe |
||
|
||
Future<bool> requestMoneroNode() async { | ||
if (uri.toString().contains(".onion") || useSocksProxy) { | ||
return await requestNodeWithProxy(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.DS_Store | ||
.dart_tool/ | ||
|
||
.packages | ||
.pub/ | ||
|
||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file tracks properties of this Flutter project. | ||
# Used by Flutter tool to assess capabilities and perform upgrades etc. | ||
# | ||
# This file should be version controlled and should not be manually edited. | ||
|
||
version: | ||
revision: 4d7946a68d26794349189cf21b3f68cc6fe61dcb | ||
channel: stable | ||
|
||
project_type: plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 0.0.1 | ||
|
||
* TODO: Describe initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TODO: Add your license here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# cw_zano | ||
|
||
A new flutter plugin project. | ||
|
||
## Getting Started | ||
|
||
This project is a starting point for a Flutter | ||
[plug-in package](https://flutter.dev/developing-packages/), | ||
a specialized package that includes platform-specific implementation code for | ||
Android and/or iOS. | ||
|
||
For help getting started with Flutter, view our | ||
[online documentation](https://flutter.dev/docs), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures | ||
.cxx/ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the
raw
value should increased as it acts like an id for the object, so we can't have 2 similar ids