Manage Staking
Last updated
Last updated
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! 🚀
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.
You can upload a custom header image for your staking protocol.
You can also set a logo image to visually brand your staking pool.
You will see a toggle switch labeled:
“Enable protocol to reward stakers”
Switch it ON to activate staking.
Once the protocol is enabled, you can distribute rewards manually by entering the amount of reward tokens that you want to distribute to stakers.
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.
In the admin panel, locate the "Logo Image Upload" section.
Click “Choose new image” to start the upload process.
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.
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.
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! 🚀
Toggle the “Protocol enabled” switch ON.
This action activates the staking contract and allows users to start staking.
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
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.
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.
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.