Skip to content

A custom ERC-20 token implementation designed for decentralized applications, featuring secure contract logic and tokenomics configurability.

Notifications You must be signed in to change notification settings

Logic-gate-sys/luxure_token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💎 LuxureToken

LuxureToken is a custom ERC-20-compatible smart contract written in Solidity, designed for testing and educational purposes. It demonstrates core token functionalities such as transfers, approvals, and allowance management, using Foundry for unit testing.

🚀 Features

  • ✅ Token deployment with initial total supply
  • 🔁 Transfer tokens between users
  • 🔐 Approve and delegate spending with approve and transferFrom
  • 📊 Allowance tracking for delegated transfers
  • 📦 Extensive unit tests written using Foundry

🛠️ Tech Stack

  • Solidity ^0.8.19
  • Foundry (Forge & Anvil)
  • forge-std for testing utilities

📂 Project Structure

├── src/
│   └── LuxureToken.sol        # ERC-20 token logic
├── test/
│   └── LuxureTest.t.sol       # Unit tests
├── script/
│   └── DeployLuxure.s.sol     # Deployment script
├── foundry.toml               # Foundry config

Running Tests

forge test

Test Coverage

The test suite includes:

  • Token deployment and total supply
  • Balance and transfer logic
  • approve, transferFrom, and allowance behavior
  • Event emission checks (Transfer, Approval)
  • Edge cases and expected reverts

📄 License

MIT © 2025 Daniel Kpatamia


Let me know if you want badges, deployment instructions, or usage examples added.

About

A custom ERC-20 token implementation designed for decentralized applications, featuring secure contract logic and tokenomics configurability.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published