yieldz.cc Documentation
web3creator.xyzyieldz.cc
  • Welcome
    • Introduction
    • Why yieldz.cc?
  • Staking Models
    • Simple
    • Custom Reward
    • Stake Locks
    • Action Fees
    • Time-Based Distribution
  • Tutorials
    • Deploy Staking
    • Manage Staking
      • Time-Based Distribution
      • Action Fees
    • A Stakers Guide
  • Resources
    • Roadmap
    • Smart Contracts
      • Testnet
    • Security & Audits
    • Whitepaper
    • Terms of Service
  • Official Links
    • link3.to/yieldzcc
    • GitHub
    • web3creator.xyz
Powered by GitBook
On this page
  • Introduction
  • Access the Admin Panel
  • Admin Panel Overview
  • Uploading a Custom Header Image
  • Uploading a Custom Logo
  • Enable the Staking Protocol
  • Reward Distribution
  • Extended Tutorials On Other Staking Models
  1. Tutorials

Manage Staking

PreviousDeploy StakingNextTime-Based Distribution

Last updated 3 months ago

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.

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 the amount of reward tokens that you want to distribute to stakers.

Uploading a Custom Header Image

Select & Crop Image

  • Click “Choose new image” in the Header Image Upload section.

  • Select your image and adjust the crop area as needed.

  • Click “Choose Crop” to proceed.

Upload & Save

  • The system will upload the image to the Inter Planetary File System (IPFS), and you will see the status message:

    “IPFS is updating. Please wait…”

    Your image is now available via IPFS:

  • Once completed, the new header image will appear on your staking protocol details page.

Uploading a Custom Logo

Open the Logo Upload Section

  • In the admin panel, locate the "Logo Image Upload" section.

  • 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.

  • 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.

  • The system will begin processing, displaying a message:

"IPFS is updating. Please wait..."

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.

  • Navigate back to the staking protocol details page.

  • The logo should now appear in the protocol header, next to the token name.

🎉 Success!

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

Enable the Staking Protocol

  • 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

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.

  • You can manually enter an amount or click “MAX” to inject all available tokens.

Confirm the Transaction

  • Click the "Give Rewards" button.

  • A message will appear: "Open wallet to confirm approval…"

  • Open your connected wallet and approve the transaction.

  • If successful, the message will change to: "Open wallet to confirm inject…"

  • Confirm the reward injection in your wallet.

Extended Tutorials On Other Staking Models

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.

In the admin panel, find the "Status" section.

Time-Based Distribution
Action Fees