Skip to content
zingolabsPublic

About

An API and test-app that exposes zcash functionality for app consumption

Topics

Resources

Stars

33 stars

Watchers

4 watching

Forks

Latest commit

 

History

14,025 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zingolib

license coverage zingolib is an API that provides high-level abstractions for Zcash light wallet developers.

It includes Prebuilt Bundles suitable for consumption in both Swift and Kotlin environments. The bindings are matched, so a React Native developer finds the same API on both platforms.

zingo-cli is a full-featured command-line application, suitable for development and for other terminal-driven projects.

Known consumers

Layout

flowchart TD
    cli["bin/cli<br/>zingolib-cli"] --> zingolib
    ffi["ffi/lib<br/>zingolib-ffi"] --> zingolib
    zingolib["crates/zingolib<br/>zingolib"] --> ff
    zingolib --> ps
    ps["crates/pepper-sync<br/>pepper-sync"] --> net["crates/netutils<br/>zl-netutils"]
    ps --> common
    subgraph nonet["no network code"]
        ff["crates/file-format<br/>zl-file-format"] --> common["crates/common<br/>zl-common"]
    end
Loading

An arrow means "depends on". The diagram shows the five library crates and the two crates that consume them in this workspace. It leaves out a direct dependency that a path of arrows already implies: zingolib, for example, also depends directly on zl-common and zl-netutils. It also leaves out the helper crates, such as zingolib-nym-proxy-ffi.

Security Vulnerability Disclosure

If you believe you have discovered a security issue, please contact us at:

zingodisclosure@proton.me

Zingo CLI

zingo-cli is a command line indexer client. Its own README, bin/cli/README.md, holds everything specific to it: the one procedure that builds it, which bundles the nym-proxy binary beside it, and how to launch it, take it online, choose a network (regtest included), create or restore a wallet, and set its session options. Releases are currently only provisional, we will update the README as releases come out.

Privacy

  • While all the keys and transaction detection happens on the client, the server can learn what blocks contain your shielded transactions.
  • The server also learns other metadata about you like your ip address etc...
  • Also remember that t-addresses are publicly visible on the blockchain.
  • Price information is retrieved from Gemini exchange.

Note Management

Zingo-CLI does automatic note and utxo management, which means it doesn't allow you to manually select which address to send outgoing transactions from. It follows these principles:

  • Defaults to sending shielded transactions, even if you're sending to a transparent address
  • Can select funds from multiple shielded addresses in the same transaction
  • Will automatically shield your sapling funds at the first opportunity
    • When sending an outgoing transaction to a shielded address, Zingo-CLI can decide to use the transaction to additionally shield your sapling funds (i.e., send your sapling funds to your own orchard address in the same transaction)
  • Transparent funds are only spent via explicit shield operations

Mobile releases

zingolib supports React Native mobile development. A mobile app links the Binding Layer, the uniffi-exported wallet and proxy crates with their Kotlin and Swift Binding Sets, and consumes it as Prebuilt Bundles published from commits of dev. bindings/README.md explains how a zingolib developer builds the Binding Layer locally and how a publication runs, from the workflow dispatch to the Publication Record.

Architecture decision records

Architecture decision records live in zingo-adrs, and zingolib's own records sit under docs/adr/zingolib/ once the submodule is initialised. The zingo-adrs README explains how to read them, advance the pointer, and propose a record.

Testing

run_workspace_tests.sh script may be used as a helper to run all tests in one invocation.

About

An API and test-app that exposes zcash functionality for app consumption

Topics

Resources

Stars

33 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages