Skip to content

stampTransaction CLI

Nilson Lazarin edited this page Aug 27, 2024 · 1 revision
Velluscinum-CLI Wiki

stampTransaction

Stamps a Transaction in the BigChainDB Network.

"It is a self-transfer and unification process. Self-transfer, therefore, the units received from a divisible asset are transferred to itself, spending the received transaction (filling the OUTPUT pointer with the address of its wallet). Unification because this process joins the units from the received transaction with those already in the wallet. A transaction with two or more INPUT pointers and a single OUTPUT pointer is generated in this process".

DESCRIPTION

velluscinum stampTransaction <server> <privateKeyFile> <publicKeyFile> <transactionID>
Parameters Description
<server> The URL (e.g.,"http://testchain.chon.group:9984") of a bigchainDB Server.
<privateKeyFile> A ECDSA private key file of a wallet. See the buildWallet command.
<publicKeyFile> A ECDSA public key file of a wallet. See the buildWallet command.
<transactionID> The ID of a transaction in the BigChainDB Network that wants to stamp (e.g.,"095ee8b3a...132988bd67d").

EXAMPLE

velluscinum stampTransaction http://testchain.chon.group:9984 alice.privateKey alice.publicKey ddaf1214feb64b87e398fdcf592a00e466b80011c192b901a5251fd0fcd8d920