add multi-asset support to new `sendall` RPC

Open
#1,340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
api, blockchain

Research direction

Review Bitcoin PR #24118 and the Elements implementation of the new sendall RPC once it is merged. Trace how sendall selects wallet UTXOs and determine where an asset argument belongs. Done means users can select a specific asset instead of always sending UTXOs across all asset types, with corresponding RPC coverage.

Written by the indexing model from the issue text.

Description

enhancement

I am in the process of merging https://github.com/bitcoin/bitcoin/pull/24118 into Elements.

This PR adds a new sendall RPC. However, I am just merging the bitcoin version, and I am not adding elements-specific arguments.

After this is merged, we will need to do follow-up work which adds an asset argument to sendall, so that a user can choose to sendall of a specific asset, rather than simply sending all the UTXOs in their wallet, regardless of asset-type.

Dominant language
C++
Stars
1.2k
Forks
418
Avg merge
1d 12h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ElementsProject/elements

All issues in ElementsProject/elements

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.