0

I am currently working on a project for school, I just finished writing my smart contract. A buddy of mine is going to make a custom wallet for me since it will help for his class project. We are reading that when you have ERC20 Tokens you are required to hold ETH as well for the gas fee's for transacting across the ETH block chain to target my smart contract.

NOW this is where I find little research.

How do you make it so Token holders DO NOT NEED to hold ETH as well? Where the contract takes it from the custom tokens total amount.

Say your wallet has 200 of example token. You want to send 150 of example token.

It then takes the required amount of Example token from their total amount or transaction amount and pays for the transaction fee's allowing for simplistic trading and conversion.

Is there a line of code I need for this perform?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.