Zcash — the privacy first blockchain — available in Amberdata.io

Trevor Clarke
Nov 1, 2019 · 3 min read

Blockchains are inherently transparent, with Zcash accounts have an extra ability — Shielded transactions. With this release, Amberdata supports RPC, REST & Websockets, enabling all the features you need without running expensive infrastructure.

Image for post
Image for post
Zcash now available in Amberdata.io

As stated by their website “Shielded Zcash transactions are completely private”, a technology made possible by specific zero-knowledge proofs called zk-SNARKs (zero-knowledge succinct non-interactive arguments of knowledge).

“Zero-knowledge” proofs allow one party (the prover) to prove to another (the verifier) that a statement is true, without revealing any information beyond the validity of the statement itself. For example, given the hash of a random number, the prover could convince the verifier that there indeed exists a number with this hash value, without revealing what it is. — Zcash

With shielded transactions comes a few scenarios that are worth noting. There are four cases or types of transactions that can occur:

  • Private to Private — Two z-addresses sending transactions to each other. Both are shielded during this transaction.
  • Deshielding — A z-address sends a transaction to a t-address. “T-address” is the transparent address, with fully transparent balances.
  • Shielding — A T-address sends a transaction to a z-address.
  • Public — Two t-addresses sending a transaction between each other.
  1. Get Account Balances
  2. Get Latest Blocks & Transactions
  3. Connect to Zcash RPC

NOTE: While it is possible to do all the above examples in direct requests without a library, it is faster and simple to show code with the SDK.

Go to Amberdata.io to Get Started.

Using the following code, we are able to configure requests for Zcash using a simple namespace variable. This configures the x-amberdata-blockchain-id under the hood, and instantiates all available methods. Click here to edit example →

The portfolio and address data is by far the most valuable information available. This is accessible either with individual address requests, or by passing multiple addresses and getting many balances at once.

For ongoing development, we’ve created a postman collection that covers all of our features and utilizes simple parameters so you can focus on building. Click here to download the collection directly, or go here for tons of resources:

  1. REST — A full API with standardized data sets, across blockchains
  2. WebSockets — Streaming data and updates, realtime from the network
  3. RPC — Connect directly to the node without running the node

amberdata

Amberdata is the leading data infrastructure for blockchain…

Trevor Clarke

Written by

VP of Product - Amberdata.io, Passionate Software Engineer 🤓, Hobbyist in 3D Design & Robotics

amberdata

amberdata

Amberdata is the leading data infrastructure for blockchain and digital assets. The API empowers our customer to build decentralized applications, backtest trading strategies, gain actionable insights and accelerate time to market for their digital asset and blockchain offering

Trevor Clarke

Written by

VP of Product - Amberdata.io, Passionate Software Engineer 🤓, Hobbyist in 3D Design & Robotics

amberdata

amberdata

Amberdata is the leading data infrastructure for blockchain and digital assets. The API empowers our customer to build decentralized applications, backtest trading strategies, gain actionable insights and accelerate time to market for their digital asset and blockchain offering

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store