Class: Seller

messages~ Seller


new Seller(connection, attrs)

A DZSLUPDT Seller message. From the Whitepaper:

Seller declarations are required to prefix all item listings, and declare the sender's address as "open for business." However, a seller declaration can occur multiple times after the declaration of an item creation for the purpose of overriding earlier declarations. In the case that multiple seller declarations exist on the same public key, the attributes of the most recent declaration will serve as the relevant declaration.

receiverAddr: Seller messages should be addressed to the same address it is being sent from, unless the transferAddr property is specfied (in which the receiverAddr should match the transferAddr)

NOTE: All attributes that are specified below are also getter properties that can be accessed on this instantiated object.

Parameters:
Name Type Description
connection Driver

blockchain connection

attrs object

Attributes that this Invoice contains

Properties
Name Type Description
alias String

This is the alias of the buyer, meant to identify the seller in a non-unique and colloquial fashion (i.e., "Satoshi").

description String

This is the description of the buyer, and can contain text and/or URLs.

transferAddr String

This is enabled for identity transfer, and not intended for use at the time of the addresses first declaration. This value specifies the new address of the buyer, to which all existing earned reputation will transfer. All messages after this attribute is declared are no longer valid from this address.

communicationsAddr String

This is the address of the seller to be used for communications over testnet.

Extends

  • messages~MessageBase