ERC-20 Token — Access Control & Pausable

A minimal ERC-20 token implementation demonstrating OpenZeppelin integration, ownership, emergency pausing, and Foundry testing.

Thumbnail proyek ERC-20 Token — Access Control & Pausable

Project Summary

This project explores the integration of OpenZeppelin's ERC20, Ownable, and Pausable components into a minimal token contract. Rather than reimplementing standard primitives, the project focuses on composing established components and verifying their intended behavior through Foundry tests.

My Role

Smart Contract Developer: Integrated OpenZeppelin modules, implemented the token-specific contract logic, and built the Foundry test suite.

Challenges

The main challenge was understanding how standard OpenZeppelin primitives interact and ensuring administrative permissions and emergency controls behave as intended.

Solution & Implementation

Combined ERC20 token functionality with Ownable and Pausable, then verified ownership, token transfers, access restrictions, and pause behavior through automated tests.

Main Features

  • ERC-20 Token Standard
  • Owner-Based Access Control
  • Emergency Pause Mechanism
  • OpenZeppelin Integration
  • Foundry Testing

Technology

SolidityFoundryOpenZeppelinERC-20Access ControlPausable

Gallery