> For the complete documentation index, see [llms.txt](https://docs.swanchain.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swanchain.io/legacy-swan-1.0-archived/market-provider/market-provider/indexing-and-caching-marketplace/zk-ubi.md).

# ZK Task

The ZK (Zero-Knowledge) Task on Swan Chain is an innovative implementation that blends a Universal Basic Income model with the privacy and efficiency of zero-knowledge proofs (ZKPs), underpinned by an embedded ZK market. This integration creates a self-sustaining and privacy-preserving ecosystem for participants who contribute computing resources.

<figure><img src="https://3478205236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcvUWH8GhRCqvKwuN0BGF%2Fuploads%2FCsXzSqjh1Tr9CP64upXV%2Fimage.png?alt=media&amp;token=bf0f4867-644c-4a7d-b54f-6864606d0dd2" alt=""><figcaption></figcaption></figure>

#### Concept and Functionality

**ZK Model**: The ZK model within Swan Chain is a groundbreaking economic system designed to provide a guaranteed basic income to network participants. It leverages zero-knowledge proofs to validate the contributions of computing providers without revealing sensitive data.

**Zero-Knowledge Proofs**: ZKPs are a form of cryptographic protocol that allow one party (the prover) to prove to another party (the verifier) that a statement is true, without revealing any information beyond the validity of the statement itself.

[**Embedded ZK Market**](/legacy-swan-1.0-archived/market-provider/market-provider/indexing-and-caching-marketplace.md): Swan Chain integrates a specialized ZK market that serves as a platform for various blockchain protocols in need of ZK computation, such as Aleo, Filecoin, and StarkNet. This market is where tasks requiring ZK proofs are listed and sourced.

#### Workflow

1. **Task Generation**: Blockchain protocols that require ZK computations generate tasks. These could include private transaction verification for Aleo, proof-of-replication for Filecoin, or scalability solutions for StarkNet.
2. **ZK Task Pool**: The generated tasks are pooled into a ZK Task Pool, where they are made available to computing providers on the Swan Network.
3. **Task Completion for Income**: Computing providers on Swan Chain select tasks from the pool, complete the computations, and generate ZK proofs. By completing these tasks, they earn $SWAN, the native cryptocurrency of Swan Chain, as part of their UBI.
4. **Proof Submission and Verification**: Upon completion, providers submit their ZK proofs back to the Swan Chain for verification. This ensures the integrity and validity of the computations performed.
5. **UBI Distribution**: Once verified, the ZK proofs trigger the smart contract-based UBI system to distribute $SWAN to the computing providers, ensuring a steady income stream and incentivizing continuous participation in the network.

<figure><img src="https://3478205236-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcvUWH8GhRCqvKwuN0BGF%2Fuploads%2FKk8t5KzY2IZv6nyXetnT%2Fimage.png?alt=media&amp;token=d5c33879-4534-4a6a-a6d4-8277dc20e114" alt=""><figcaption><p>ZK task reward Dashboard</p></figcaption></figure>

To get started as a ZK task contributor, click [here](/legacy-swan-1.0-archived/market-provider/web3-zk-computing-market/contribute-zk-ubi-task.md).
