# Overview

### Motivation

Tornado was [banned](https://twitter.com/TornadoCash/status/1557048526986780677), and transfers between accounts become traceable. BUT **Privacy Protection** is an inherent feature of the blockchain.

Face the regulators, we yield?

[RiemannCash](https://riemann.cash) focuses on private transaction, with divisible deposits, lower fees and faster withdrawals, which is based on [zero-knowledge proof](https://en.wikipedia.org/wiki/Zero-knowledge_proof), [incremental merkle tree](https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/incremental-merkle-tree.sol) and [poseidon algorithm](https://www.poseidon-hash.info).

Using [RiemannCash](https://riemann.cash) ensures full privacy. When tokens are deposited to Riemann, withdrawn from Riemann, user Txs are fully encapsulated. All Txs generate zero-knowledge proofs, and withdrawals are initiated by relayers acting as third parties. No one knows the transfer records between your addresses except yourself.

### Features

* **Divisible deposits**. A deposit can be split into multiple deposits.
* **Lower fees**.
* **Faster withdrawals**. You can withdraw your fund immediately without a long background process once deposit.

### Flows

#### Key Generate Flow

<figure><img src="https://1505840710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVBEld7hXc8F7C8olkrD%2Fuploads%2FM4bpG75q3OnXnlHxXH5L%2Fkey-flow.png?alt=media&#x26;token=11a1b8d4-9c15-4875-b156-59e8990f140e" alt="RiemannKey Generate Flow"><figcaption><p>Key Generate Flow</p></figcaption></figure>

#### Nullifier Generate Flow

<figure><img src="https://1505840710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVBEld7hXc8F7C8olkrD%2Fuploads%2FObNUyePkXD5Mr2Xznci6%2Fnullifier-flow.png?alt=media&#x26;token=82affe71-d559-4a60-84e5-fa6bc5dc0dd7" alt="Riemann Nullifier Generate Flow"><figcaption><p>Nullifier Generate Flow</p></figcaption></figure>

#### Deposit Flow

<figure><img src="https://1505840710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVBEld7hXc8F7C8olkrD%2Fuploads%2FwkVC5u2cTCHzq06B0zbw%2Fdeposit-flow.png?alt=media&#x26;token=79b9e5a7-ddb4-4c41-b305-30b069e9e69a" alt="RiemannCash Deposit Flow"><figcaption><p>Deposit Flow</p></figcaption></figure>

#### Withdraw Flow

<figure><img src="https://1505840710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVBEld7hXc8F7C8olkrD%2Fuploads%2FkgH0xuI8CPg3fc30TfTW%2Fwithdraw-flow.png?alt=media&#x26;token=19bd4f7e-82c3-4d78-877f-6ffbca80a140" alt="RiemannCash Withdraw Flow"><figcaption><p>Withdraw Flow</p></figcaption></figure>

#### Split Flow

<figure><img src="https://1505840710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVBEld7hXc8F7C8olkrD%2Fuploads%2Fdo3CRVY2te3S0KXsdUtk%2Fsplit-flow.png?alt=media&#x26;token=902fb6cb-0fbd-4ba2-a0ff-f06dce97b466" alt="RiemannCash Split Flow"><figcaption><p>Split Flow</p></figcaption></figure>
