[ERC20 vs ERC777] Approve vs authorizeOperator

Hi @Madness,

For me the most important ERC777 feature is the ability to send tokens in a single transaction. ERC20 requires two transactions, first to approve an allowance and second to use the tokens with transferFrom which is problematic for users.

There have been several attempts at a light weight approve and call mechanism. I think permit looks very promising (see: Add ERC20 permit() function)

@miohtama created an ERC777 recently after researching alternatives, so would be interested in their thoughts.


defaultOperators are hugely powerful but you do have to trust the operator (users always have the option to revoke an operator).

1 Like