Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 466 Bytes

3-secure-token-best-practices.md

File metadata and controls

18 lines (11 loc) · 466 Bytes

Token Implementation Best Practices

Comply with the latest standard

  • ERC20
  • ERC721
  • ERC1155
  • ...

Be aware of front-running on ERC20

Attack Description

Prevent transferring tokens to the 0x0 address

Prevent transferring tokens to the contract address

  • Consider also preventing the transfer of tokens to the same address of the smart contract