5101451e6b
* Copied code of conduct. * added sections to contributing guide * Addded PR section to contribution guide * update contributin and readme * improve license readability * Add "Reporting Security Issues" section * Add more instructions to build the app |
||
---|---|---|
wallet | ||
.gitignore | ||
.swiftlint.yml | ||
CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
zcash.swiftformat |
README.md
zcash-ios-wallet
iOS wallet using the Zcash iOS SDK that is maintained by core developers.
There are some known areas for improvement:
- Traffic analysis, like in other cryptocurrency wallets, can leak some privacy of the user.
- The wallet might display inaccurate transaction information if it is connected to an untrustworthy server.
See the Wallet App Threat Model for more information about the security and privacy limitations of the wallet.
Prerequisites
- make sure you can build ZcashLightClientKit Demo Apps successfully
Building the App
-
Clone the project, make sure you have the latest Xcode Version
-
Create
env-vars.sh file
at${SRCROOT}
See Instructions -
make sure that your environment has the variable
ZCASH_NETWORK_ENVIRONMENT
set toMAINNET
orTESTNET
. -
Navigate to the wallet directory where the
Podfile
file is located and runpod install
-
open the
wallet.xcworkspace
file -
locate the
.params
files that are missing in the project and include them at the specified locations -
build and run on simulator.
Troubleshooting
No network environment....
if you see this message when building:
No network environment. Set ZCASH_NETWORK_ENVIRONMENT to MAINNET or TESTNET
make sure your dev environment has this variable set before the build starts. DO NOT CHANGE IT DURING THE BUILD PROCESS.
If the variable was properly set after you've seen this message, you will need to either a) set it manually on the pod's target or b) doing a clean pod install and subsequent build.
a) setting the flag manually
- on your workspace, select the Pods project
- on the Targets pane, select ZcashLightClientKit
- go to build settings
- scroll down to see ZCASH_NETWORK_ENVIRONMENT and complete with TESTNET or MAINNET