Skip to content



Repository files navigation


Build Status


Dogfooding - transitive verb - is the practice of an organization using its own product. This app was created to help us learn.

Please take note: the wallet is not an official product by ECC, but rather a tool for learning about our libraries that it is built on. This means that we do not have robust infrasturcture or user support for this application. We open sourced it as a resource to make wallet development easier for the Zcash ecosystem.


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.


  • make sure you can build ZcashLightClientKit Demo Apps successfully

Building the App

  1. Clone the project, make sure you have the latest Xcode Version

  2. Create file at ${SRCROOT} See Instructions

  3. make sure that your environment has the variable ZCASH_NETWORK_ENVIRONMENT set toMAINNETor TESTNET.

  4. Navigate to the wallet directory where the Podfile file is located and run pod install

  5. open the ECC-Wallet.xcworkspace file

  6. locate the .params files that are missing in the project and include them at the specified locations

  7. build and run on simulator.

Or use these commands

git clone
cd pirate-chain-ios-wallet/wallet/
open ECC-Wallet.xcworkspace

NOTE: Use wallet-no-logging to build the app.

IMPORTANT: If you are switching to try building the app between a simulator and physical device, each time execute ./ For some reason the zcash library isn't compiled universal and has to use this workaround to build it properly for either simular or physical device.

To Log or not to Log

This is our internal dogfooding app, and we implemented some level of event logging to be able to study user interactions and improve the User Experience with Zcash on mobile devices.

No Logs please

You can build and run the app without it by using the wallet-no-logging

The "no logging" target does not even build or include the Mixpanel sdk on your build or any code related with it. You can make sure of this by looking at the code yourself. If you think there's a better way achieve this, please open an Issue with your proposal. :-)

I want to use Mixpanel

If you wish to use mixpanel in your own build, make sure to include the following line in your file export MIXPANEL_TOKEN="YOUR_TOKEN" And build the wallet target. Sourcery will pick it up and generate the Constants.generated.swift file that the Mixpanel SDK will use to send the events to your board

I use some other kind of tracker...

that I would like to include in my project. The app does not care about the details of the event logger as long as it implements this protocol

protocol EventLogging {
    func track(_ event: LogEvent, properties: KeyValuePairs<String, String>)

You can implement your own tracker proxy


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

  1. on your workspace, select the Pods project
  2. on the Targets pane, select ZcashLightClientKit
  3. go to build settings
  4. scroll down to see ZCASH_NETWORK_ENVIRONMENT and complete with TESTNET or MAINNET