🔨Creating a Staking Mining DApp Guide

A beginner-friendly tutorial for creating a staking-mining site

This guide shows how to create a staking-mining (stake-to-earn) landing site on the PandaTool platform. The idea: use staking to temporarily lock tokens/LP, reduce circulating supply and selling pressure, and create a positive loop of “users buy → stake → price rises.”

1. What is staking (yield) mining?

What is staking mining? Staking mining means users lock a token or LP token into a smart contract (can’t withdraw while locked) and earn another token as rewards. In short: stake tokens → earn reward tokens.

Key terms:

  • Stake: deposit tokens or LP into the mining contract; they are not withdrawable until the lockup ends.

  • Mining (yield): the act of earning rewards by staking.

Why run staking-mining? After a token launches, users can buy and sell freely and add/remove liquidity. Selling and removing liquidity hurts the project. Staking mining temporarily locks user tokens or LP, which reduces crash risk.

  • Token staking: reduces circulating supply so people don’t immediately buy-and-sell.

  • LP staking: lowers the risk of liquidity removal (so investors don’t pull LP casually).

2. How to create a staking-mining campaign

You must already have your token and its contract address before creating a mining pool. Below is the creation walkthrough.

Overview — creation flow (6 steps)

  1. Open the PandaTool mining-creation page.

  2. Configure staking token, reward token, mining period, etc.

  3. Confirm the transaction in your wallet to create the mining contract.

  4. From the mining console, deposit the reward tokens.

  5. Adjust mining permissions.

  6. Edit the on-site copy and images (site content).

Detailed steps

Step 1 — Open the mining creation page

Open the mining creation tool (https://pandatool.org/#/mine/createMine?lang=en-USarrow-up-right) and click Connect Wallet. A wallet popup (MetaMask or OKX Wallet) will appear — connect and you’re ready. If you’ve created a token on PandaTool before this will be familiar.

Step 2 — Fill in mining parameters

Fill in the mining config fields. Important fields explained:

  • Mining name: any name — for display only. Supports Chinese, English, or mixed text.

  • Staking token: paste the token (or LP) contract address that users will stake. For LP staking, paste the LP contract address. (If you don’t know the LP address, ask volunteers in the group.) Telegram

  • Reward token: paste the reward token contract address (commonly USDT or USDC, but it can be any token).

  • Query token: after pasting an address, always click Query token to ensure the token is valid.

  • Start time: exact timestamp when the mining begins (your device timezone applies).

  • Mining Days: how many days the mining runs.

  • Daily reward Tokens: how many reward tokens are emitted per day (this is editable later). Rewards are distributed per second.

  • Lock Period: how long staked tokens are locked after staking. If no lock, enter 0. (1 day = 24 hours.)

  • Stake limit: set min and max stake amounts (editable later).

  • Referral rewards: you can set up to 3 levels of referral reward; each level gets a separate percentage. Referral rewards are paid in the reward token; when a referred user claims, a share is automatically allocated to their uplines.

    • Note: only addresses that have already staked can successfully invite others. An invite link from a non-staker will not grant referral rewards.

  • Language: choose either Chinese or English for the mining site (single-language only).

Important: rewards accrue every second after staking. Users must manually claim rewards with their wallet — the contract does not auto-send them.

Step 3 — Create the mining contract

When all info is correct, click Create Contact. Your wallet will prompt for confirmation and gas. After the tx confirms you’ll get a “created successfully” message and a button to enter the mining console.

Step 4 — Deposit reward tokens into the contract

A newly created mining contract has no reward balance yet — you must deposit reward tokens so the contract can pay out. In the console’s global control panel click Deposit Token, enter the amount, and confirm in your wallet.

If rewards run low later you can deposit more. When the campaign ends and there are leftover reward tokens you can use Withdraw Funds to take them back (amount available depends on the contract’s remaining balance).

Once rewards are deposited, users can stake. The staking page is reachable from the console; users connect their wallet, enter stake amount, and click Stake. Example case: UniCrypto — https://unicrypto.vercel.app/mine?contract=0xc2e7CE314F8e9dFc3E822E72799E955BAc22Be64&chainid=97

After staking, users will see rewards accumulating per second. To claim, users press Claim — rewards are then transferred to their wallet. Staked tokens are locked until the lockup period ends.

Step 5 — Modify mining parameters (via console)

From the console you can change most campaign settings:

  • Update time (e.g., 30 / 100 / 300 days).

  • Updatestake min/max limits.

  • Update referral rewardss.

  • Update daily rewards.

  • Update lock period.

The console has broad permissions — you can modify almost any mining parameter. Site copy can be edited as well.

Step 6 — Edit site content

There’s a Page Info panel (bottom-right in console) where you can change the site copy and images:

  • Update logo: Upload an image or provide an image URL. You can revert to the default if needed. The logo appears at the site’s top-left and bottom-left (see image in the original layout).

  • Update background image: You may change the site background, but we generally do not recommend doing so unless you use a tasteful, dark background — a poor background can make the page look unattractive. You can always revert to the default.

  • Update Global Info(Edit global text fields) :

    • Home Intro: A one-line summary for the homepage, shown below the token name.

  • Whitepaper URL: The default is blank — fill this if you have a whitepaper URL.

  • Footer Detail: Copy that appears at the bottom-left of the site.

  • Site language: Choose either Chinese or English; the site will switch to the selected language. (Only one language can be active at a time.)

  • Update About(Project description): Edit the title and details of the project intro.

  • Update Features: four token features, each with title + details.

  • Update Roadmap: four development stages with descriptions.

  • Update Social links: add official links (X/Twitter, Telegram, Discord, GitHub) — displayed bottom-right.

That completes the staking-mining setup. After launch, the campaign runs by itself; the project team mostly monitors.

3.FAQ (common questions)

Q1 — How does PandaTool charge? A: PandaTool charges a one-time fixed fee; fees differ by chain:

  • BSC: 0.25 BNB

  • Ethereum / Base / Arbitrum: 0.12 ETH

  • OKX chain (listed as “X Layer” in the UI): 1 OKB

  • Polygon: 1200 POL

Q2 — Why isn’t the referral reward working? A: Only addresses that have already staked are eligible to refer others. If an address has not staked, their invite link will not grant referral rewards.

Q3 — If a user stakes multiple times, how is unlock time calculated? A: Unlock is based on the last stake: last-stake-time + lockup period = unlock time.

Q4 — How are staking rewards distributed? Do users get them automatically at the end? A: Rewards accrue every second and accumulate in the user’s account on the contract. Users must manually click Claim to transfer accumulated rewards to their wallet. Claims are unrestricted in timing but not partial; claiming withdraws all currently accrued rewards in one action.

Q5 — Can a user unstake early? A: Not unless the project admin changes the lockup period to 0. There is no built-in early-unstake option for users.

Q6 — Can users stake LP tokens? A: Yes — during creation paste the LP token contract address into the staking-token field. If you don’t know your LP address, ask volunteers in the group.

Q7 — Can I change the staking site’s domain name? A: Yes, but this requires paid help from our volunteers. Contact: https://t.me/btc6560

Official PandaTool Telegram group: https://t.me/pandatool_enarrow-up-right — if you have any other questions you can ask there anytime.

Last updated