Ethereum
$2,241.91 8.27%
ETH · 197w

Explaining the ERC223 Token Standard | An interesting idea to help prevent accidental token loss

Ethereum developers have built a large ecosystem around the ERC20 token standard, but some limitations are starting to emerge. One of these limitations is that users continuously lose tokens by accidentally transferring them to contract addresses.

ERC223 is a proposal to add a fail-safe to token contracts to ensure that a contract is expecting token transfers before sending tokens to it. It's an interesting idea to help prevent new users from getting #rekt.

I take a look at the proposal in the first part of an ongoing series breaking down Ethereum Improvement Proposals.

looks like this. This contract creates an imaginary coin called DecypherCoin and the tokens live inside it. When a user wants to send tokens to another account they call the transfer function which will update the balances in the contract. When the user wants to send tokens to a contract they use a different workflow, first they approve the contract to spend tokens on their behalf which updates the allowances doesn’t update the balances, and then the contract can call the transferFrom function and update the balance of the token contract.

Go to youtube.com
Recent news
ETH +8.27% · whynft.space · 3h

Why NFTs Aren’t Just for Art and Collectibles

NFTs are a technical standard with a wide range of potential applications. Any digital certificate which is subject to origin and ownership verification is a good NFT application. There are already ...