This project includes two smart contracts:
- TestToken: An ERC-20 token contract with minting, burning, and ownership features.
- StakingContract: A staking contract that allows users to lock tokens for a set period.
-
Clone the repository:
git clone https://github.com/your-username/staking-token-contract.git cd staking-token-contract -
Scripts:
- Start Local Node:
yarn start-local-node - Deploy Locally:
yarn deploy:local
- Start Local Node:
Dapp implementation for the smart contracts can be found at Staking DApp Git
Live Dapp on: Staking DApp
Live contracts on ETH Sepolia:
-
TestTokenContract: An ERC20 token contract for minting test tokens.
https://sepolia.etherscan.io/address/0x70B55b605A22C7EEEd9665F5b6a71070Ec490D1d
-
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