Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-0045 Ephemereal Tokens #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrehafner
Copy link

Ephemeral Tokens Proposal

Ephemeral Tokens Proposal
@ccgarant
Copy link

First thing I had to do is look up the definition of Ephemeral: "The term "ephemeral" comes from the Greek word "ephemeros," meaning lasting only one day or short-lived. It describes things that exist or are used for a very brief period before disappearing or being forgotten. This concept applies broadly, from natural phenomena like morning dew, which vanishes as the day warms, to digital technology where ephemeral data or messages are designed to disappear after a certain time to ensure privacy or manage storage efficiently."

@ccgarant
Copy link

Quick Summary of EIP-0045:

  • Proposes a standard for creating and burning ephemeral tokens at a specific future block height, with incentives for miners.
  • Aims to serve use cases like blockchain messaging, temporary access tokens, real-time data management, and expiring NFT collections.
  • Requires an ephemeral smart contract (SC) that outlines token creation, transfer, and burning processes.
    Incentivizes miners to burn tokens post-specified block height by allowing them to collect ERGs from the smart contract.
  • Involves an off-chain bot for minting tokens according to SC requirements and facilitates ownership transfer and miner incentives.

@ccgarant
Copy link

Seems like a lot of good use cases and logic for this type of token SC, great idea.

I would just like to understand the technical side and risks in a little more detail and from the collective intelligence here.

So from the users perspective, I send Erg to the Ephemeral SC addr, then I get the EIP-45 token in my wallet. When the block height is reached, a miner will consume the token, and it will automatically disappear from the wallet?

@andrehafner
Copy link
Author

Seems like a lot of good use cases and logic for this type of token SC, great idea.

I would just like to understand the technical side and risks in a little more detail and from the collective intelligence here.

So from the users perspective, I send Erg to the Ephemeral SC addr, then I get the EIP-45 token in my wallet. When the block height is reached, a miner will consume the token, and it will automatically disappear from the wallet?

Tokens never are in your wallet, always in sc. you just have permission to transfer them to someone else’s wallet ownership and they have your wallet address in there indicating that your wallet is the owner (for other dapps to verify). Otherwise there would be no way to force burning as someone could hold token in wallet with .001 ergs in box (no miner incentive there). You send erg to a proxy contract and then an off chain bot mints it for you in the sc. similar how your reward GORTs live in the contract and sit there until you extract (but these you can’t extract).

@ccgarant
Copy link

Ah thank you. A diagram of how it might work lifecycle would be visually helpful, but you explained it well. Thanks.

@kushti kushti changed the title eip-0045.md EIP-0045: Ephemereal Tokens Apr 10, 2024
@kushti kushti changed the title EIP-0045: Ephemereal Tokens EIP-0045 Ephemereal Tokens Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants