From 88a817b73f28d1afcc1df1ec699d90191adc737b Mon Sep 17 00:00:00 2001 From: Mateusz Czeladka Date: Thu, 1 Dec 2022 11:16:18 +0100 Subject: [PATCH 1/2] CPS-???: properly burning NFTs / tokens. --- CPS-???/README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 CPS-???/README.md diff --git a/CPS-???/README.md b/CPS-???/README.md new file mode 100644 index 000000000..db85ec21e --- /dev/null +++ b/CPS-???/README.md @@ -0,0 +1,34 @@ +--- +CPS: ? +Title: Burning NFTs / tokens +Status: Open +Category: Tokens +Authors: + - Mateusz Czeladka +Proposed Solutions: + - smart contract / native script that is able to burn token + +Created: 2022-12-01 +--- + +## Abstract + +The aim of this problem statement is to raise the issue around the ability to burn NFT / tokens and release minUTxO (ADA) backing the NFT / token. + +## Problem + +It is understood that minUTxO has been introduced as a way to protect ledger from tokens and NFTs spam, however, the only currently supported methods of "burning NFTs" do not address the core of the problem, namely releasing ADA 'locked' behind a token or NFT. Currently recommended methods of 'burning' are either sending to another wallet owned by the person sending or send to another wallet owned by somebody else. Neither of those methods actually releases underlying 'locked' minUTxO ADA. + +## Use cases + +- As a Cardano user I have many NFTs that I do not need anymore and I would like to relaim ADA 'locked' by those NFTs. If a Cardano user has many useless NFTs / tokens this could sum up to significant amount of 'locked' minUTxO ADA. + +## Goals +- Add ability for users to burn tokens and NFTs to be able to reclaim 'locked' minUTxO ADA. + +## Open Questions +- How can we actually allow this if blockchain is supposed to be immutable? One there was a token and now there is no token anymore (dangling tokens?). + + +## Possible solution +- smart contract / native script being able to burn token after minting policy is closed \ No newline at end of file From b4104d3d8ca5fb55c773f9590f6f85b17de98943 Mon Sep 17 00:00:00 2001 From: Mateusz Czeladka Date: Thu, 9 Mar 2023 15:05:52 +0100 Subject: [PATCH 2/2] added comments and incorporated feedback from github comments. --- CPS-???/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CPS-???/README.md b/CPS-???/README.md index db85ec21e..aa9769af9 100644 --- a/CPS-???/README.md +++ b/CPS-???/README.md @@ -19,16 +19,25 @@ The aim of this problem statement is to raise the issue around the ability to bu It is understood that minUTxO has been introduced as a way to protect ledger from tokens and NFTs spam, however, the only currently supported methods of "burning NFTs" do not address the core of the problem, namely releasing ADA 'locked' behind a token or NFT. Currently recommended methods of 'burning' are either sending to another wallet owned by the person sending or send to another wallet owned by somebody else. Neither of those methods actually releases underlying 'locked' minUTxO ADA. +It is worth mentioning that since the deposit scaling is affine, there is some incentive to keep bundling the tokens into bigger and bigger transaction outputs, potentially making the situation worse. It's unclear what the expectation should be regarding accepting payments in ADA that may be mired in tokens. + ## Use cases - As a Cardano user I have many NFTs that I do not need anymore and I would like to relaim ADA 'locked' by those NFTs. If a Cardano user has many useless NFTs / tokens this could sum up to significant amount of 'locked' minUTxO ADA. +- A typical use case of this would be going to your wallet of choice and bundling one or multiple tokens in one transaction and burning them somehow. Upon such a burn, ADA locked in those UTxOs would be reclaimed. + +- Proposal is not a feature request to wallets only, it actually requires ledger changes first, which allow such reclaiming of ADA locked by tokens ## Goals - Add ability for users to burn tokens and NFTs to be able to reclaim 'locked' minUTxO ADA. ## Open Questions -- How can we actually allow this if blockchain is supposed to be immutable? One there was a token and now there is no token anymore (dangling tokens?). +- How can we actually technically burn tokens? +- What changes would there need to be on ledger level to support such burning and make sense in the current ledger architecture? +## Bad solutions +- a potential solution of sending to zero address is not a good solution because not only it does not give you a full deposit back but also +zero addresses can be used as a reference input which could cause unexpected issues for somebody who thinks a token was burned ## Possible solution -- smart contract / native script being able to burn token after minting policy is closed \ No newline at end of file +- smart contract / native script being able to burn token after minting policy is closed