How to create an ERC20 token with staking feature?

I want to create an ERC20 token but I also need staking feature on it. Anyone guide me on it?

1 Like

Emmm, just lock tokens for a period of time? Or need to reward some tokens.

1 Like

Hi @Md_Sejabur_Rahat,

Have a look at the following suggestion:

Yes, I also want the reward function.

To use the feature I just need to paste the codes you provided into the standard ERC20 token’s contract?

Emmm, so does it stake token in the staking contract or lock token in the token contract?

Please explain me, I’m too techy. Just wanted that people who hold my tokens will earn some %

It seems like you need a staking contract.

1 Like

Please can provide me a readymade codes of it and guide me?

Just like abcoathup mentioned above.

1 Like

Can you tell me where to make changes? I see no changes on the forked projects

1 Like

image

Do I have to change here?

1 Like

Hi @Md_Sejabur_Rahat,

There isn’t a ready made code or a guide for a token with staking features.

You may want to look for a developer to partner with who can create this for you. Any solution should be appropriately tested and audited.