Transaction Types of Scrooge Coin


This document explains the transaction types of Scrooge Coin. There are two types of transactions in Scrooge Coin:

1. CreateCoins Transaction

This transaction allows multiple coins to be created in a single transaction. Each coin has information including its serial number, amount, and recipient (the public key of the initial owner). In other words, this transaction type enables the creation of multiple new coins and assigns them to their initial owners*1.

*1 The CreateCoins transaction is similar to a Coinbase transaction in Bitcoin.

The serial number of each coin is represented, for example, as coinID12(0), indicating the first coin created in transaction 12. By definition, a CreateCoins transaction is always valid as long as it is signed🖊️ by Scrooge.

Fig 1: CreateCoins Transaction

2. PayCoins Transaction

This transaction consumes and destroys some coins to create new coins of the same total amount. The new coins can be assigned to other individuals (public keys).

Each new coin, similar to CreateCoins transactions, contains information such as its serial number, amount, and recipient.

Additionally, this transaction requires all participants spending the coins to provide their signatures. To authorize the consumption of coins, the signatures of all current coin owners are required.

Fig 2: PayCoins Transaction

As seen in the PayCoins transaction, it is important to note that Scrooge Coin itself is immutable. This means coins cannot be split or merged directly; each coin is created only once in a transaction and consumed in a subsequent transaction.

However, by using the PayCoins transaction, it is possible to achieve the same effect as splitting or merging coins. For example, to merge two coins you own, you can create a transaction that consumes those two coins and creates a single new coin with a total equivalent value. In this case, you would specify yourself as the recipient of the new coin.

,

Leave a Reply

Your email address will not be published. Required fields are marked *