You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I advise against having a default payable function on token sales.
Rationale: People can send in ETH from exchanges (Coinbase, etc.). Those exchanges cannot handle incoming ERC-20 token transfers. Coinbase customer support won't recover your tokens.
This is general industry knowledge. Selling something, taking money and not able to deliver is something that gets you in trouble with angry customers and regulators. I highly advise forcing a data field value (function name), even a fixed one, so that we can be sure the deposit comes from a proper Ethereum wallet and not a shared wallet. Taking steps towards preventing bad transactions is a part of running responsible token sale.
Forcing a high gas limit value and data field filled in limits this problem. This makes it more cumbersome for people to send in ETH, true. But it is much more safer investor wise, as I have not yet encountered problems with exchanges when enforcing data field and gas limit > 200k
I advise against having a default payable function on token sales.
Rationale: People can send in ETH from exchanges (Coinbase, etc.). Those exchanges cannot handle incoming ERC-20 token transfers. Coinbase customer support won't recover your tokens.
This is general industry knowledge. Selling something, taking money and not able to deliver is something that gets you in trouble with angry customers and regulators. I highly advise forcing a data field value (function name), even a fixed one, so that we can be sure the deposit comes from a proper Ethereum wallet and not a shared wallet. Taking steps towards preventing bad transactions is a part of running responsible token sale.
Forcing a high gas limit value and data field filled in limits this problem. This makes it more cumbersome for people to send in ETH, true. But it is much more safer investor wise, as I have not yet encountered problems with exchanges when enforcing data field and gas limit > 200k
More discussion can be found here:
TokenMarketNet/smart-contracts#53
The text was updated successfully, but these errors were encountered: