DFIELDSOLUTIONS

Blockchain

GlossaryERC-20

The fungible-token standard on Ethereum — the interface (transfer, balanceOf, approve) that makes any token work with any wallet or exchange.

Before ERC-20, every token invented its own interface and every wallet needed bespoke support. The standard fixed a handful of functions and events — transfer, approve, balanceOf — and an ecosystem formed: any conforming token is listable, swappable and walletable on day one.

The sharp edge is 'approve': it lets another contract spend from your balance, up to the amount you allow — and unlimited approvals, granted once and forgotten, are how most drained wallets are drained. 'Revoke what you no longer use' is basic wallet hygiene, the way revoking API keys is.

Related terms

The bench this belongs to

Blockchain

Solidity on Ethereum, Polygon, Base and Arbitrum. Anchor programs on Solana. Written with tests first, because a redeploy is not a hotfix once value is on the line.

All termsStart a conversationMarkdown version

DField Bt. · Dunakeszi · dezso@dfieldsolutions.com
5.0
“From LinkedIn DM to live site. Two tiny tweaks, then shipped.”Michael J Ringer · Vilya ProtectionFounder · Spain