Skip to content

About

Staking Smart Contract in Foundry

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 Foundry Staking Smart Contract

This project implements a simple staking system using Foundry and Solidity. Users can stake an ERC-20 token and earn rewards over time in a separate reward token.


🚀 Features

✅ Stake Tokens
Stake any ERC-20 token and start earning rewards.

✅ Unstake Anytime
Withdraw your staked tokens at any moment.

✅ Earn Rewards
Rewards accumulate automatically while tokens are staked.

✅ Mock Tokens for Testing
Includes mock ERC20 staking and reward tokens for local testing and frontend integration.

✅ Chain Agnostic Deployment
Deploy locally (Anvil/Hardhat) or on Sepolia testnet using forge script.


About

Staking Smart Contract in Foundry

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages