lightninglabs / taproot-assets

A layer 1 daemon, for the Taproot Assets Protocol specification, written in Go (golang)
MIT License
457 stars 110 forks source link

[bug]: Asset Burning for Collectibles #918

Open weltitob opened 3 months ago

weltitob commented 3 months ago

cant burn assets which are json or oneof somehow via api, I think only token assets can be burned at the moment. If I'm wrong please let me know how I would burn a Asset which is a Collectible.

jharveyb commented 3 months ago

I think should be the same command, the arguments do not depend on the asset type, just the asset ID or group key.

guggero commented 3 months ago

I think you might simply run into a limitation that doesn't allow you to burn an asset if it is the only one in an on-chain UTXO (e.g. it's the last asset and no change would be left over). That should be fixed once we address https://github.com/lightninglabs/taproot-assets/issues/514.

Roasbeef commented 3 months ago

@weltitob do you have a repro scenario?

weltitob commented 1 month ago

I think you might simply run into a limitation that doesn't allow you to burn an asset if it is the only one in an on-chain UTXO (e.g. it's the last asset and no change would be left over). That should be fixed once we address #514.

Okay, thanks ;)