Skip to content

transferToken CLI

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

transferToken

Transfer parts of a Token in the BigChainDB Network

DESCRIPTION

velluscinum tranferToken <server> <privateKeyFile> <publicKeyFile> <assetID> <destinationWallet> <amount>
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.
<assetID> The ID of an Asset in the BigChainDB Network that wants to transfer to another wallet (e.g.,"095ee8b3a...132988bd67d"). See the deployToken command.
<destinationWallet> A ECDSA public key file of a destination wallet. See the buildWallet command.
<amount> The number of the parts token that will transfer (maximum value is 9×1018).

EXAMPLE

velluscinum transferToken "http://testchain.chon.group:9984" bob.privateKey bob.publicKey ce0df8bf4ef351c358b7122dc431b905279fd871d6ff1c3aa170958018dfb75d alice.publicKey 50