Transaction has failed


#1

I’ve tried many times to test deploying CrowdSale in Kovan test net.
There is no error until I see the Invest page, but keep showing "Transaction has failed when I click CONTRIBUTE to buy token.

I’ve tried create several contracts to avoid this error but still see the screen.
And I’ve found Total Supply amount is 0 in Etherscan… I set the supply value more than 1 but why it shows 0 always?

  • Thank Victor for your help. (Sorry but I can’t reply to your reply again I don’t know why…)

And I’ve found the reason why I keep seeing the failure message.
It was because I checked Whitelist checkbox and never added whitelist addresses… so any other addresses are not possible to buy token. I think if the screen can check the White list option only when user added those addresses… it will be better for user’s understanding the failure reason.


#2

Did you check this section in wiki https://github.com/poanetwork/token-wizard/wiki/Token-Wizard-Possible-Tx-Failures ?

And I’ve found Total Supply amount is 0 in Etherscan… I set the supply value more than 1 but why it shows 0

Do you mean total supply of token contract? Token is mintable. And thus, initial supply is zero.


#3

I think if the screen can check the White list option only when user added those addresses… it will be better for user’s understanding the failure reason.

Thank you for your feedback. I have added your feature request to the list of possible improvements of Token Wizard https://github.com/poanetwork/token-wizard/issues/422#issuecomment-366690391