ERC-7818: Expirable ERC20

@JamesB The ERC status is now final; the reference implementation was developed to fully meet the specification, but ‘just work’ means it wasn’t optimized. If you want to use it, I recommend checking out this library. , It’s ready to but please note:

  • The current version does not support upgradeable tokens.
  • The epoch configuration (which determines timing/duration) is fixed at deployment and cannot be changed later.

So, if you need to upgrade the token or modify the epoch settings after deployment, the existing version does not support that yet. e.g. if the network changes the block time and you want to change the block or second per epoch.
The code isn’t audited yet but has been thoroughly tested across many scenarios.

We built this with open-source in mind and warmly welcome contributions. Your project sounds interesting—feel free to connect if you want to collaborate or need support from us.

Hi @MASDXI thanks for getting back to me. Once we start using it in production we may well have a few small modifications that we need, but chances are those will be niche and so if I do need those it would take the form of derivative or plugin as per the OpenZeppelin model.

I’ll post a PR to the repo once it’s ready.