Skip to content

Add TransferSharesToManyV1() to QUTIL #546

@philippwerner

Description

@philippwerner

Provide the feature to distribute tokens quickly and easily with a qubic-cli command like -qutiltransfersharestomanyv1 <ISSUER_ID> <TOKEN_NAME> <FILE>. Just like -qutilsendtomanyv1 <FILE>, but for tokens.

  • Requires to add a new procedure to the QUTIL contract in the core repo AND to add a new command to the qubic-cli repo.
  • The FILE passed to qubic-cli contains a list of <ID> <AMOUNT> pairs (ID = identity of user, AMOUNT = number of shares that shall be transferred to the user).
  • The asset/token is identified by the pair of <ISSUER_ID> (identity of issuer) and <TOKEN_NAME> (asset name, up to 7 characters, e.g. "CFB").
  • The -seed needs to be passed to qubic-cli in order to create the transaction that invokes the new QUTIL procedure.
  • The identity that invokes the procedure (invocator) must possess enough shares of the asset, otherwise no transfer of share ownership/possession should happen.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions