> For the complete documentation index, see [llms.txt](https://yieldzcc.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yieldzcc.gitbook.io/docs/tutorials/manage-staking.md).

# Manage Staking

### **Introduction**

After successfully creating a staking protocol on **Yieldz.cc**, the protocol is not immediately active. Users attempting to access it will see a placeholder message indicating that staking has not yet been enabled. As an **admin**, you have full control to **activate** the protocol and **customize** its appearance through the admin panel.

This tutorial will guide you step by step on:

* **Accessing the admin panel**
* **Uploading a custom header and logo**
* **Finalizing your staking protocol setup**
* **Enabling staking for users**

Let’s get started! 🚀

### Access the Admin Panel

When viewing the staking protocol details page, you’ll notice that the staking feature is not enabled. You will see a placeholder meme with the text:

> “If you see this image, you’re too early. The project has not enabled the staking protocol yet.”

If you are an **admin**, a **gear icon ⚙️** will appear in the top right corner of the **header section**. Click on this **gear icon** to enter the **admin panel**.

<figure><img src="/files/h9PA8P7xcnN4KweGlYI3" alt="" width="375"><figcaption></figcaption></figure>

### Admin Panel Overview

#### **Header & Logo Image Upload**

* You can upload a **custom header image** for your staking protocol.
* You can also set a **logo image** to visually brand your staking pool.

#### **Enable Staking Protocol**

* You will see a toggle switch labeled:

  > **“Enable protocol to reward stakers”**
* Switch it **ON** to activate staking.

#### Reward Distribution

Once the protocol is enabled, you can **distribute rewards manually** by entering t**he amount of reward tokens** that you want to **distribute to stakers**.

<figure><img src="/files/uXvDTK1tEzOgT4RHN5r2" alt="" width="375"><figcaption></figcaption></figure>

### **Uploading a Custom Header Image**

**Select & Crop Image**

* Click **“Choose new image”** in the **Header Image Upload** section.<br>

  <figure><img src="/files/XQcNtK0fohu3Wv3D3K7e" alt=""><figcaption></figcaption></figure>
* Select your image and adjust the crop area as needed.<br>

  <figure><img src="/files/MA1RW0nnpPIrV2NBuw5O" alt=""><figcaption></figcaption></figure>
* Click **“Choose Crop”** to proceed.

**Upload & Save**

* Once satisfied, click **“Upload & Save”** to apply the changes. This will **open up your wallet**. You have to **sign the message** that is prompted to you. This **confirms that you're the owner** and that you're allowed to **change and upload the image** of your staking protocol.\
  \
  ![](/files/E317Zo168QZEOYdn94pk)\
  \
  ![](/files/3YjO5AZq0akoEz8sAaAT)\
  \
  ![](/files/DuNIWjoxRChdOcqFiOHt)
* The system will upload the image to the **Inter Planetary File System** (IPFS), and you will see the status message:<br>

  > **“IPFS is updating. Please wait…”**

  <figure><img src="/files/KVfqEfu7CfeK4wxa2HcT" alt=""><figcaption></figcaption></figure>

  Your image is now available via IPFS:<br>

  <figure><img src="/files/UgTzbB39fLsUleHdYIUL" alt=""><figcaption></figcaption></figure>
* Once completed, the new header image will appear on your **staking protocol details page**.\ <br>

  <figure><img src="/files/8UVsbZ7LLy0aref8zo0n" alt=""><figcaption></figcaption></figure>

### Uploading a Custom Logo

#### **Open the Logo Upload Section**

* In the **admin panel**, locate the **"Logo Image Upload"** section.<br>

  <figure><img src="/files/g3hVsBHC8rewYzcYIOQc" alt=""><figcaption></figcaption></figure>
* Click **“Choose new image”** to start the upload process.

#### **Select and Crop the Logo Image**

* Choose an image from your local files.
* The image will appear in the upload window with a **circular crop tool**.\ <br>

  <figure><img src="/files/EnLsEDqamyL6DnslAfH6" alt=""><figcaption></figcaption></figure>
* Adjust the crop area to fit your preferred section of the image.
* Click **“Choose crop”** to confirm your selection.

#### **Upload and Save the Logo**

* After cropping, the preview of the logo will appear.
* Click **“Upload & Save”** to finalize the logo selection.\ <br>

  <figure><img src="/files/mBWDNW2n6eTW5q6Nukv7" alt=""><figcaption></figcaption></figure>
* The system will begin processing, displaying a message:

> **"IPFS is updating. Please wait..."**

<figure><img src="/files/auEQz4ZgEHmFaNNRDMAy" alt=""><figcaption></figcaption></figure>

This ensures the logo is stored on the **decentralized IPFS system**.

#### **Confirm the Logo Update**

* Once the upload is complete, the **new logo** will be visible in the admin panel.\ <br>

  <figure><img src="/files/2J5hTfvK0X6IYEfZimrV" alt=""><figcaption></figcaption></figure>
* Navigate back to the **staking protocol details page**.
* The logo should now appear in the protocol header, next to the token name.\ <br>

  <figure><img src="/files/q0lZJAOOyfK5OiO5jRyo" alt=""><figcaption></figcaption></figure>

🎉 **Success!**&#x20;

Your staking protocol now has a custom logo, making it stand out with a unique identity! 🚀

### **Enable the Staking Protocol**

* In the admin panel, find the **"Status"** section.\
  \
  ![](/files/ooW2VOFMLINwEe6i2skS)\
  \
  ![](/files/PFCLy7XYwppr7vINMKri)<br>
* Toggle the **“Protocol enabled”** switch **ON**.

This action activates the staking contract and allows users to start staking.

#### **Verify the Activation**

* Return to the **staking protocol details page**.
* You should now see an active staking interface, including:
  * **Staking and withdrawal options**
  * **Deposit and claim rewards buttons**
  * **User balance and staked amount display**

<figure><img src="/files/YXQKOT7ssuhJ1xIKBBzi" alt=""><figcaption></figcaption></figure>

### **Reward Distribution**

* Locate the **"Give Rewards"** section.
* If no stakers are currently present, you might see a message: **"Stakers needed in order to give rewards."**
* This means that at least **one user must stake** before rewards can be distributed.

**Enter the Reward Amount**

* In the **"Give Rewards"** section, enter the number of tokens you want to distribute.<br>

  <figure><img src="/files/cjhUgsjXV9e4rhAimadX" alt=""><figcaption></figcaption></figure>
* You can manually enter an amount or click **“MAX”** to inject all available tokens.&#x20;

#### Confirm the Transaction

* Click the **"Give Rewards"** button.\ <br>

  <figure><img src="/files/ODKnmxpQzVwSfCrLrZCs" alt=""><figcaption></figcaption></figure>
* A message will appear: **"Open wallet to confirm approval…"**<br>

  <figure><img src="/files/tfD4Ao0QXWGSlNM6CEY2" alt=""><figcaption></figcaption></figure>
* Open your **connected wallet** and approve the transaction.
* If successful, the message will change to: **"Open wallet to confirm inject…"**\ <br>

  <figure><img src="/files/yQ8S71tYQUAJwk3vuwqk" alt=""><figcaption></figcaption></figure>
* Confirm the **reward injection** in your wallet.

### Extended Tutorials On Other Staking Models&#x20;

{% content-ref url="/pages/zfJIPVJmBqqxtMNy7alj" %}
[Time-Based Distribution](/docs/tutorials/manage-staking/time-based-distribution.md)
{% endcontent-ref %}

{% content-ref url="/pages/dOZMrFGENdyudjCRqPNY" %}
[Action Fees](/docs/tutorials/manage-staking/action-fees.md)
{% endcontent-ref %}
