Skip to content

feature request: allow for token rpc use wallet's pubkeys #44

@dimxy

Description

@dimxy

Feature request:
Currently any cc module rpc uses -pubkey param to access user's cc utxos. This limits development of various scripting tools which need to transfer tokens from multiple accounts in the wallet.
Suggestion is when tokens are transferred to use all available wallet's private keys. So, instead of one pubkey set by the -pubkey tokeld parameter, token rpcs should list all available pubkeys in the wallet and try to add token inputs for each of them.
This change will affect all tokenv2xxx rpcs (including assets cc rpcs).
However, for the tokenv2create rpc -pubkey param will still be used (to have the token creator determined)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions