Skip to content

[feature]: Enhance caretaker w/ ability to set user-defined UTXOs and GenesisAmtSats values #721

Open
@dstadulis

Description

@dstadulis

Is your feature request related to a problem? Please describe.
As a taproot-assets user I want to select user-defined UTXOs and GenesisAmtSats values in order to

  • be able to include my taproot-asset proofs in UTXOs I choose
  • Reduce inputs / obviate CPFP, in order to update the proofs
  • privacy: increase covertness of taproot-asset UTXOs to deny meta-data fingerprinting

[Edit Capturing TODOs from #866]

  • Extend tapdb/asset_minting tests to cover new query params for script key, group key, etc.
  • Add tests for tapdb/asset_minting/CommitBatchTx, AddSeedlingGroups, FetchSeedlingGroups

// GenesisAmtSats is the amount of sats we'll use to anchor created
// assets within. This value just needs to be greater than dust, as for
// now, we assume that the tapd client manages asset bearing UTXOs
// distinctly from normal UTXOs.
GenesisAmtSats = btcutil.Amount(1_000)

Describe the solution you'd like
tapd and lnd work together to do UTXO selection

Describe alternatives you've considered
recompiling the daemon any time a custom GenesisAmtSats value is desired

Metadata

Metadata

Assignees

Type

No type

Projects

Status

💇‍♂️Needs Shaping

Relationships

None yet

Development

No branches or pull requests

Issue actions