ERC20 is a widely adopted fungible token standard in the Ethereum ecosystem.

Introduced in 2015, the ERC20 standard outlines a set of rules that all Ethereum tokens must adhere to. Being one of the earliest token standards on Ethereum, ERC20 has greatly contributed to the flourishing of the decentralized finance (DeFi) ecosystem, facilitating seamless interaction between various tokens and DeFi protocols.

Integration

Folder Structure:

integrations/erc20
ā”œā”€ abis/
ā”‚  ā”œā”€ erc20-abi.ts
ā”‚  ā”œā”€ erc20-bytecode.ts
ā”‚  ā”œā”€ erc20-mintable-abi.ts
ā”‚  ā”œā”€ erc20-mintable-bytecode.ts
ā”œā”€ components/
ā”‚  ā”œā”€ erc20-deploy.tsx
ā”‚  ā”œā”€ erc20-event-mint.tsx
ā”‚  ā”œā”€ erc20-event-transfer.tsx
ā”‚  ā”œā”€ erc20-read.tsx
ā”‚  ā”œā”€ erc20-set-token-storage.tsx
ā”‚  ā”œā”€ erc20-write-mint.tsx
ā”‚  ā”œā”€ erc20-write-transfer.tsx
ā”œā”€ hooks/
ā”‚  ā”œā”€ use-erc20-token-storage.ts
ā”œā”€ generated/
ā”‚  ā”œā”€ erc20-wagmi.ts
ā”œā”€ wagmi.config.ts
ā”œā”€ README.md