Skip to content

dumitrucatalin/staking-token-contract

Repository files navigation

Staking-Token-Contract Project

This project includes two smart contracts:

  1. TestToken: An ERC-20 token contract with minting, burning, and ownership features.
  2. StakingContract: A staking contract that allows users to lock tokens for a set period.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/staking-token-contract.git
    cd staking-token-contract
    
  2. Scripts:

    • Start Local Node: yarn start-local-node
    • Deploy Locally: yarn deploy:local

Dapp implementation for the smart contracts can be found at Staking DApp Git

Live Dapp on: Staking DApp

Live contracts on ETH Sepolia:

  1. TestTokenContract: An ERC20 token contract for minting test tokens.

    https://sepolia.etherscan.io/address/0x70B55b605A22C7EEEd9665F5b6a71070Ec490D1d
  2. StakingContract: A staking contract that enables users to lock tokens for different durations and retrieve them after the lock period ends.

    https://sepolia.etherscan.io/address/0x2EEe18a40aB6DA8F523515D7eaa884AF5A7aB051

About

A decentralized application that enables users to stake a custom ERC-20 token with customizable lock periods.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages