In remix I included the following code in an ERC-20 token:

address burnAddress = 0xbababababababababababababababababa;

The address is meant to send tokens to but the address itself will not be able to send funds to anyone else because there are conditionals in the transfer and transferFrom functions preventing it.

The reason for its existence is to lower the amount of coins in circulation.


In remix, you're able to run the compilation of the token and test it with different addresses, but I only see the ability to create a new address with the "+" button on the right of the word Account. Is there any way to specify an address in the Account dropdown?

enter image description here

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.