Loading...
DeFi Farms

Staking Farms Guide

Create and manage DeFi staking farms with customizable reward rates, lock periods, and early withdrawal fees. Perfect for token distribution, liquidity incentives, and community engagement across multiple blockchains.

Overview

DeFi Farms (also known as staking farms) allow users to stake tokens and earn rewards over time. Farm creators can set up reward pools with customizable parameters to incentivize long-term holding, provide liquidity rewards, or distribute tokens to their community. FreshCoins supports farm creation on both EVM-compatible chains and Solana.

Supported Blockchains

Create staking farms on multiple blockchains:

EVM-Compatible Chains

Create farms on EVM blockchains:

Ethereum

Stake LP tokens

Binance Smart Chain

Stake LP tokens

Polygon

Stake LP tokens

Base

Stake LP tokens

Solana

Create farms on Solana blockchain:

Solana Mainnet

Stake reward tokens directly

Solana Devnet

For testing

Solana Testnet

For testing

Key Features

Customizable Rewards

Set reward rates per block (EVM) or per slot (Solana) to control how quickly rewards are distributed to stakers.

Lock Periods

Configure lock periods to encourage long-term staking. Users must wait for the lock period to expire before withdrawing without fees.

Early Withdrawal Fees

Set early withdrawal fees to discourage premature unstaking. Fees are applied when users withdraw before the lock period ends.

Multiple Stakers

Support unlimited stakers. Each user can stake independently and earn rewards proportional to their stake amount.

Flexible Duration

Set start and end blocks/slots to control when the farm is active. Rewards automatically stop when the end block/slot is reached.

Easy Management

Fund farms with reward tokens, monitor staking activity, and manage farm settings through an intuitive interface.

How Farms Work

EVM Farms

On EVM chains, farms work with liquidity provider (LP) tokens:

  1. Users provide liquidity to a DEX (e.g., Uniswap, PancakeSwap)
  2. Users receive LP tokens representing their liquidity position
  3. Users stake LP tokens in the farm
  4. Users earn reward tokens based on their stake amount and time
  5. Rewards are distributed per block
  6. Users can claim rewards or compound by restaking

Solana Farms

On Solana, farms work differently - users stake the reward token itself:

  1. Users stake the reward token directly (no LP tokens needed)
  2. Users earn more of the same reward token
  3. Rewards are distributed per slot (Solana's time unit)
  4. Faster reward distribution due to Solana's high throughput
  5. Simplified staking model - one token type
  6. Users can claim rewards or compound by restaking

How to Create a Farm

  1. 1

    Navigate to Stake & Earn

    Visit the Stake & Earn page from the navigation menu or tools section.

  2. 2

    Connect Wallet

    Connect your wallet to the platform. Ensure you have enough native tokens (ETH, BNB, MATIC, BASE, or SOL) to pay for farm deployment fees.

  3. 3

    Select Blockchain

    Choose the blockchain where you want to create your farm. Select from EVM chains (Ethereum, BNB Chain, Polygon, Base) or Solana.

  4. 4

    Configure Farm Parameters

    Set up your farm with the following parameters:

    • Reward Token: The token users will earn (EVM: any ERC-20; Solana: SPL token)
    • Reward Rate: Rewards per block (EVM) or per slot (Solana)
    • Start Block/Slot: When the farm becomes active
    • Lock Period: Minimum staking duration (optional)
    • Early Withdrawal Fee: Fee for withdrawing before lock period (optional)
  5. 5

    Deploy Farm

    Review all parameters and pay the deployment fee. Confirm the transaction in your wallet. The farm contract will be deployed on the selected blockchain.

  6. 6

    Fund Your Farm

    After deployment, fund your farm with reward tokens. The amount you deposit determines how long the farm will run. The system automatically calculates the end block/slot based on your funding amount and reward rate.

  7. 7

    Share Your Farm

    Once your farm is active and funded, share it with your community. Users can start staking and earning rewards immediately. Monitor staking activity and add more funding as needed to extend the farm duration.

Farm Parameters

Required Parameters

  • Reward Token: Token address (ERC-20 for EVM, SPL for Solana)
  • Reward Rate: Amount of reward tokens per block (EVM) or per slot (Solana)
  • Start Block/Slot: Block/slot number when farm becomes active
  • LP Token (EVM only): Liquidity provider token address for staking

Optional Parameters

  • Lock Period: Minimum staking duration in blocks/slots (0 = no lock)
  • Early Withdrawal Fee: Percentage fee for early withdrawal (0-100%)
  • Referral Address: Optional referral address for fee discounts

Fees

Farm creation and management involve several types of fees:

Deployment Fee

One-time fee paid when creating a new farm:

  • Paid in native token (ETH, BNB, MATIC, BASE, SOL)
  • Fixed amount per blockchain
  • Includes smart contract deployment

Claim Rewards Fee

Fee charged when users claim rewards:

  • Percentage of claimed rewards
  • Can be excluded for specific farms
  • Paid in reward tokens

Referral Fee

Discount when using a referral address:

  • Reduces deployment fee
  • Shared between referrer and platform
  • Optional - can be left empty

Best Practices

For Farm Creators

  • Calculate reward rates based on your tokenomics
  • Fund farms adequately to last desired duration
  • Set reasonable lock periods to encourage commitment
  • Monitor farm activity and add funding as needed
  • Communicate farm details clearly to your community

For Stakers

  • Understand lock periods and early withdrawal fees
  • Check reward rates and farm duration before staking
  • Monitor your staking position and claim rewards regularly
  • Consider compounding by restaking rewards
  • Only stake tokens you can afford to lock

Related Resources

Important Disclaimer

Farm creation is a smart contract deployment that cannot be reversed. Ensure all parameters are correct before deploying. Once a farm is created, you cannot modify reward rates, lock periods, or early withdrawal fees.

Always test on testnet first to understand the process. Monitor your farm's funding level and add more rewards as needed to keep it active. Stakers should understand lock periods and fees before staking.