Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIF Rollup: Changed the look and updated the content #971

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
27 changes: 17 additions & 10 deletions content/rsk-devportal/guides/rif-rollup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,24 @@ description: RIF Rollup is a trustless protocol for fast and scalable low-cost p
tags: rif, aggregation, zkSync, rollup, rif-rollup
---

The section contains tutorials and guides on how to perform selected tasks on RIF Rollup.
This section is dedicated to tutorials and guides designed to facilitate various tasks on RIF Rollup. Tailored to accommodate everyone from novices taking their initial steps in the blockchain domain to seasoned developers aiming to enhance their decentralized applications (dApps), our tutorials are crafted to meet a diverse array of needs and levels of expertise.

## Prerequisites

* Metamask Wallet (Testnet). See the video tutorial on [how to configure a metamask wallet for Rootstock](https://www.youtube.com/@Rootstock/search?query=metamask) or read the guide on [how to add Rootstock to Metamask Programmatically](https://dev.rootstock.io/kb/rootstock-metamask/) or use the [Metamask Landing Website](https://metamask-landing.rifos.org/).
* [RIF Rollup Wallet](https://wallet.testnet.rollup.rif.technology/)
* [RIF Rollup Explorer](https://explorer.testnet.rollup.rif.technology/)
Before diving into the RIF Rollup tutorials, ensure you have the following essentials:
- **Metamask Wallet (Testnet):** A crucial tool for interacting with the blockchain. For setup instructions, you can watch a video tutorial on [how to configure a Metamask wallet for Rootstock](https://www.youtube.com/watch?v=VlyqXD1TjJk), read through the guide on [how to add Rootstock to Metamask programmatically](https://dev.rootstock.io/kb/rootstock-metamask/), or visit the [Metamask Landing Website](https://metamask-landing.rifos.org/).
- **[RIF Rollup Wallet](https://wallet.testnet.rollup.rif.technology/):** Your gateway to managing digital assets on the RIF Rollup platform.
- **[RIF Rollup Explorer](https://explorer.testnet.rollup.rif.technology/):** A comprehensive tool for tracking transactions and analyzing network activity on RIF Rollup.

## Tutorials
* [Account Activation](./account-activation)
* [Adding funds to Rollup](./adding-funds-to-rollup)
* [Transfer funds on RIF Rollup](./transfer-funds-on-rif-rollup)
* [Withdraw funds to RIF Rollup](./withdraw-funds-rootstock)
* [Using the RIF Rollup Block Explorer](./using-rif-rollup-block-explorer)
### Getting Started with RIF Rollup

Embark on your RIF Rollup journey with these introductory tutorials:


- **[Account Activation](/guides/rif-rollup/account-activation/):** The initial step to engage with RIF Rollup, guiding you through activating your account on the platform.
- **[Adding Funds to Rollup](/guides/rif-rollup/adding-funds-to-rollup/):** Learn how to deposit funds into your RIF Rollup account, a fundamental process for participating in the ecosystem.
- **[Transferring Funds on RIF Rollup](/guides/rif-rollup/transfer-funds-on-rif-rollup/):** This guide walks you through sending funds to other users within the RIF Rollup network, demonstrating the platform's ease of use and efficiency.
- **[Withdrawing Funds to RIF Rollup](/guides/rif-rollup/withdraw-funds-rootstock/):** Understand how to securely withdraw your funds from RIF Rollup back to the Rootstock network, ensuring your assets are always accessible.
- **[Using the RIF Rollup Block Explorer](/guides/rif-rollup/using-rif-rollup-block-explorer/):** Master the use of the RIF Rollup Explorer to monitor transactions and gain insights into the blockchain's activity, enhancing your understanding and navigation of the ecosystem.

These resources offer a seamless learning experience, ensuring you have the knowledge and tools to engage with the RIF Rollup platform effectively.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
menu_order: 600
section_title: Using the RIF Rollup Block Explorer
menu_title: WUsing the RIF Rollup Block Explorer
menu_title: Using the RIF Rollup Block Explorer
layout: rsk
title: Using the RIF Rollup Block Explorer
description: RIF Rollup is a trustless protocol for fast and scalable low-cost payments on Rootstock powered by zkRollup Technology.
Expand Down
58 changes: 36 additions & 22 deletions content/rsk-devportal/rif/rollup/dapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,41 @@ description: RIF Rollup is a trustless protocol for fast and scalable low-cost p
tags: rif, aggregation, zksync, rollup
---

The RIF Rollup Team have ported 2 dApps that implement important use cases: The RIF Rollup Wallet, and the L2 explorer. Both the wallet and explorer are available on [Testnet](https://wallet.testnet.rollup.rif.technology/).
The RIF Rollup Wallet provides users a secure and intuitive interface for managing their digital assets on the Rollup platform. It offers a range of features designed to enhance security, ease of use, and accessibility, making it an essential tool for anyone looking to interact with the Rollup ecosystem.

Developers can easily use or build on top the use cases using the SDKs.
The RIF Rollup Team has ported 2 dApps that implement important use cases: The RIF Rollup Wallet and the L2 explorer. The wallet and explorer are available on [Testnet](https://wallet.testnet.rollup.rif.technology/).

<div class="container the-stack">
<div class="row rif_blue_text">
<div class="col">
<div class="rns-index-box">
<a href="https://wallet.testnet.rollup.rif.technology/" rel="noopener noreferrer">RIF Rollup Wallet</a>
<br />
<br />
<p>The wallet enables checking your balances, transactions history and contacts.</p>
</div>
</div>
<div class="col">
<div class="rns-index-box">
<a href="https://explorer.testnet.rollup.rif.technology/" rel="noopener noreferrer">RIF Rollup Explorer</a>
<br />
<br />
<p>The explorer is everything you need to explore all transactions and blocks on RIF Rollup</p>
</div>
</div>
</div>
</div>
Developers can easily use or build on top of the use cases using the SDKs.


<div class="features-list">
<ul id="card-list" class="row">
<li class="col-xl-6 col-md-6">
<div class="feature-card">
<div class="content"><a href="https://wallet.testnet.rollup.rif.technology/">
<div class="content-container">
<div class="card-title"><h2 class="zg-text-bg">RIF Rollup Wallet</h2><span class="zg-label ml-1">01</span></div>
<p class="card-desc">The wallet enables checking your balances, transactions history and contacts.</p>
</div>
</a><div class="btn-container "><a href="https://wallet.testnet.rollup.rif.technology/">
</a><a class="green" href="https://wallet.testnet.rollup.rif.technology/">View the Wallet</a>
</div>
</div>
</div>
</li>
<li class="col-xl-6 col-md-6">
<div class="feature-card">
<div class="content"><a href="https://explorer.testnet.rollup.rif.technology/">
<div class="content-container">
<div class="card-title"><h2 class="zg-text-bg bg-yellow">RIF Rollup Explorer</h2><span class="zg-label ml-1 bg-yellow">02</span></div>
<p class="card-desc">The explorer is everything you need to explore all transactions and blocks on RIF Rollup.</p>
</div>
</a><div class="btn-container"><a href="https://explorer.testnet.rollup.rif.technology/">
</a><a class="green" href="https://explorer.testnet.rollup.rif.technology/">Get Started with the Explorer</a>
</div>
</div>
</div>
</li>
</ul>
</div>

207 changes: 185 additions & 22 deletions content/rsk-devportal/rif/rollup/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,188 @@ tags: rif, aggregation, zksync, rollup, glossary, rif-rollup

Here is a list of terms used throughout the documentation and their meaning.

* **L1:** A layer-1 blockchain (Rootstock)
* **Rollup:** Layer-2 blockchain (zkSync)
* **Owner:** A user who controls some assets in L2.
* **Operator:** The entity operating the Rollup.
* **Eventually:** Happening within finite time.
* **Assets in rollup:** Assets in L2 smart contract controlled by owners.
* **Rollup key:** Owner's private key used to control deposited assets.
* **Rollup block:** Rollup block refers to a data batch of multiple user transactions that is processed off-chain and then a single proof of its validity is submitted to the RSK blockchain
* **Rescue signature:** The result of signing the owner's message, using his private key, used in Rollup internal transactions.
* **Fee Token:** A fee token is a listed token with a liquid market volume.
* **ZKP:** Zero-knowledge proof
* **Transaction:** What users can submit to the operator directly.
* **Priority operation:** What users can submit to the zkSync smart contract.
* **Rollup operation:** Part of the rollup block representing Transaction or Priority operation.
* **Onchain operation:** What the operator can put into the rollup block pubdata (operation pubdata).
* **Node implementation:** Node model that describes an operation.
* **Circuit implementation:** Circuit model that describes the operation and its witness.
* **Chunk:** The dimension of the operation. Each chunk has its own part of the public data (10 bytes) given through witnesses.
* **Significant bytes:** How many bytes, of all bytes occupied by the operation, are significant (including operation number).
* **Hash:** The result of SHA-256 function with operation's pubdata as input. Used for operation identification.
* **zk-SNARKs:** Succinct Non-Interactive ARgument of Knowledge
* **on-chain Data Availability:** After processing transactions off-chain, RIF Rollup generates a cryptographic proof, known as a zkRollup, which summarizes all the transaction data. This zkRollup proof is then committed to the Rootstock blockchain. This commitment contains a cryptographic hash that represents the zkSync state changes without revealing the transaction details themselves. This guarantees that anyone can verify that the transactions were processed correctly.
<table>
<tr>
<td> <b>Terms</b>

</td>
<td> <b>Meaning</b>

</td>
</tr>
<tr>
<td>L1

</td>
<td>The base layer blockchain, such as Rootstock (RSK), which provides foundational network and security for transactions and smart contracts.

</td>
</tr>
<tr>
<td>Rollup

</td>
<td>A secondary layer (L2) built on top of L1 that processes transactions off-chain for scalability and efficiency, often utilizing technologies like zkSync to bundle transactions into a single proof.

</td>
</tr>
<tr>
<td>Owner

</td>
<td>A user who has control over assets on the layer-2 blockchain (L2).

</td>
</tr>
<tr>
<td>Operator

</td>
<td>The entity responsible for managing the Rollup's operations, including processing transactions and submitting proofs to the L1 blockchain.

</td>
</tr>
<tr>
<td>Eventually

</td>
<td>Describes an event or action that will occur within a finite amount of time.

</td>
</tr>
<tr>
<td>Assets in Rollup

</td>
<td>Assets that are held in a layer-2 smart contract, controlled by their respective owners.

</td>
</tr>
<tr>
<td>Rollup Key

</td>
<td>A private key used by the owner to control assets deposited in the Rollup.

</td>
</tr>
<tr>
<td>Rollup Block

</td>
<td>Refers to a batch of multiple user transactions processed off-chain, for which a single proof of validity is submitted to the L1 blockchain.

</td>
</tr>
<tr>
<td>Rescue Signature

</td>
<td>A signature generated by signing the owner's message with their private key, used in Rollup internal transactions.

</td>
</tr>
<tr>
<td>Fee Token

</td>
<td>A token that has a liquid market volume and is listed for paying transaction fees in the Rollup.

</td>
<tr>
<td>ZKP (Zero-knowledge proof)

</td>
<td>A method by which one party can prove to another party that they know a value x, without conveying any information apart from the fact that they know the value x.

</td>
</tr>
<tr>
<td>Transaction

</td>
<td>Actions submitted by users directly to the Rollup operator, involving the transfer or management of assets.

</td>
</tr>
<tr>
<td>Priority Operation

</td>
<td>Actions that users can submit directly to the zkSync smart contract, usually to ensure their transaction is processed with a certain priority.

</td>
</tr>
<tr>
<td>Rollup Operation

</td>
<td>A part of the rollup block that represents either a Transaction or a Priority operation.

</td>
</tr>
<tr>
<td>Onchain Operation

</td>
<td>Actions that the operator can include in the rollup block's public data (pubdata), which are recorded on the L1 blockchain.

</td>
</tr>
<tr>
<td>Node Implementation

</td>
<td>A model describing the operational structure or behavior of a transaction within the Rollup network.

</td>
</tr>
<tr>
<td>Circuit Implementation

</td>
<td>A model describing the operation and its witness within the context of zk-SNARKs or similar cryptographic processes.

</td>
</tr>
<tr>
<td>Chunk

</td>
<td>The dimension or unit of an operation within the Rollup, with each chunk having its own portion of public data allocated through witnesses.

</td>
</tr>
<tr>
<td>Significant Bytes

</td>
<td>The number of meaningful bytes within all bytes occupied by an operation, including the operation number.

</td>
</tr>
<tr>
<td>Hash

</td>
<td>The outcome of the SHA-256 function when applied to an operation's pubdata, used for operation identification.

</td>
</tr>
<tr>
<td>zk-SNARKs

</td>
<td>A form of zero-knowledge proof technology that allows for privacy-preserving transaction verification without revealing any specific details of the transactions themselves.

</td>
</tr>
<tr>
<td>on-chain Data Availability

</td>
<td>The process whereby, after off-chain transaction processing, a cryptographic proof (zkRollup) summarizing all transaction data is committed to the Rootstock blockchain. This includes a cryptographic hash representing state changes without detailing the transactions themselves, ensuring data availability and verifiability.

</td>
</tr>
</table>
Loading