Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Demonstration of ERC20 token with the UTXO (Unspent Transaction Output) model and an expiration mechanism

Notifications You must be signed in to change notification settings

MASDXI/expirable-erc20-utxo-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expirable Token

This is a Solidity smart contract that implements an ERC20 token with the UTXO (Unspent Transaction Output) model and an expiration mechanism. The contract is designed to allow the minting of tokens with an expiration date, after which they become unusable.

Important

This contract implementation is to sophisticate to use, suggest moving to ERC-7818

Getting Started

Prerequisites

To compile and test the smart contract, you need the following:

Installing

git clone https://github.com/MASDXI/ERC20-Expriable.git

Install the dependencies:

cd ERC20UTXOExpirable
yarn install

Compiling

Compile the smart contract:

yarn compile

Testing

Run the tests:

yarn test:utxo

About

Demonstration of ERC20 token with the UTXO (Unspent Transaction Output) model and an expiration mechanism

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published