Add support for zcash testnet
This commit is contained in:
parent
d417aaf051
commit
8cde643570
|
@ -122,9 +122,7 @@ args = [
|
|||
"${ANDROID_PLATFORM_VERSION}",
|
||||
"--target",
|
||||
"${ANDROID_BUILD_TARGET}",
|
||||
"build",
|
||||
"--features",
|
||||
"${FEATURES}",
|
||||
"build"
|
||||
]
|
||||
|
||||
[tasks.android-build-release]
|
||||
|
@ -138,9 +136,7 @@ args = [
|
|||
"--target",
|
||||
"${ANDROID_BUILD_TARGET}",
|
||||
"build",
|
||||
"--release",
|
||||
"--features",
|
||||
"${FEATURES}",
|
||||
"--release"
|
||||
]
|
||||
|
||||
[tasks.android-aarch64]
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
4
build.sh
4
build.sh
|
@ -1,4 +1,2 @@
|
|||
export FEATURE=$1
|
||||
|
||||
cargo make --env COIN=$FEATURE --profile release
|
||||
cargo make --profile release
|
||||
flutter build apk --split-per-abi
|
||||
|
|
|
@ -6,15 +6,21 @@ ycash)
|
|||
export APP_NAME=ywallet
|
||||
export FEATURE=ycash
|
||||
;;
|
||||
zcashtest)
|
||||
export APP_TITLE=ZWalletTest
|
||||
export APP_NAME=zwallettest
|
||||
export FEATURE=zcashtest
|
||||
;;
|
||||
zcash)
|
||||
export APP_TITLE=ZWallet
|
||||
export APP_NAME=zwallet
|
||||
export FEATURE=
|
||||
export FEATURE=zcash
|
||||
;;
|
||||
esac
|
||||
|
||||
cp assets/$COIN.png assets/icon.png
|
||||
cp lib/coin/$COIN.dart lib/coin/coindef.dart
|
||||
cp native/zcash-sync/src/coindef/$COIN.rs native/zcash-sync/src/coin.rs
|
||||
|
||||
mo pubspec.yaml.tpl > pubspec.yaml
|
||||
|
||||
|
|
|
@ -26,6 +26,3 @@ branch = "warp-sync"
|
|||
|
||||
[build-dependencies]
|
||||
cbindgen = "0.19.0"
|
||||
|
||||
[features]
|
||||
ycash = ["sync/ycash"]
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 025dd8c9a94eb8951dbd3647b17d55f155635d76
|
||||
Subproject commit d78622d6bf6c92f7ba22f828ee558f04ddbb7d24
|
Loading…
Reference in New Issue