Search

A technology, a device or an article

A Chia coin has a parent, an amount, and its own identity

An XCH balance is a collection of coins. Parent ID, puzzle hash, and amount explain coin identity, change, and the new objects created by a spend.

Paper circles connected into parent and child branches
ITNWS AI-generated conceptual illustration. Parent links distinguish coins; this depicts no real transfers.ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

Let’s put two identical paper circles next to each other. The color, size and drawn sign are the same. In the everyday model of money, they are interchangeable: it is enough to know the amount. Now let’s draw a stripe from its parent to each one. In the Chia model, this difference is significant even when the amount and conditions of spending are the same. The coin has its own identity, which includes its provenance. The wallet may show one general number, but underneath it there remains a set of individual objects. To understand the next payment, sometimes you need to see those circles again, not just their total weight.

This is an explanatory paper history, not a snapshot of actual transfers. We did not open wallets, create coins, or send XCH. Chia’s introduction to the coin set model describes state in terms of coins that are created and can be spent once. A permanent account with a variable balance is not the basic object of this model. The amount in the wallet interface is useful to a person, but the program receives it from information about the specific available coins. Let’s start with what exactly makes each object independent.

Let the first circle have parent P, puzzle hash H and quantity a in mojos. These fields together determine the coin ID through hashing the provided representation. A convenient formula to read: coin ID = hash(parent coin ID, puzzle hash, amount). The parentheses here denote a structure, not a ready-made string to run the cryptographic function. Field lengths and correct amount encoding are important. Replacing the provided bytes with a text notation of the number will create a different calculation. The tutorial formula explains the name dependency without replacing the library implementation of the protocol.

In the guide to the first smart coin Chia lists exactly these components: the parent ID, the puzzle hash and the amount. One XCH is equal to a trillion mojos. This is a unit of quantity, not the price of the coin in the market. Quantity is included in the identity of an object, but does not constitute it entirely. Two coins of one XCH do not become the same coin, just as two parcels of the same mass do not become one shipment. The difference in origin remains a difference even if the future method of spending coincides.

Let’s draw a second strip from another parent Q to the circle with the same H and a. The hashing input differs by parent field, so it is a different identity in the adopted cryptographic model. There is no need to come up with a new color or additional serial number for the wallet. The name is derived from the fields of the coin itself. Conversely, copying a local record about it to another database does not create a second spendable object in the chain. You can multiply descriptions, but you do not have the right to spend one existing coin ID several times.

Watercolor organizer holding separate green and blue tokens
ITNWS AI-generated conceptual illustration. Separate tokens evoke a coin set, not an actual wallet balance. — ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

Where does the paper strip lead?

A parent is a specific coin that, when spent, creates a child object. This is not necessarily the sender’s address in the usual interface sense and not the name of the person. It links story elements at the model level. A person is capable of controlling many different coins, and two different parents do not prove two different owners. The reverse error is also possible: the same puzzle hash does not indicate that an outside observer knows the identity of the one who is able to satisfy the conditions. The cryptographic connection of objects and the social history of participants have different foundations.

Puzzle hash is the hash of the puzzle program that defines the spending rules. This is not a coin ID. The same puzzle can be associated with several coins; then its hash will be repeated, and the parents or sums will provide different identities. The familiar XCH address encodes the corresponding payment purpose and does not list all the specific entities that went there. If an address’s history contains two identical amounts from different parents, the interface can add them up, but the protocol will continue to distinguish between coins. This difference will become noticeable when selecting the inputs for the next spend.

The puzzle program does not have to be just a single signature verification. The conditions may be more complex, although regular payments use familiar secure designs. Chialisp documentation on conditions explains that executing a puzzle with the provided solution returns conditions, which must then be met. Therefore, knowing the hash is not the same as being able to spend an object. It is necessary to provide a suitable program matching the hash, a solution and everything necessary for the validity of the spend. Our paper circle stores the conventional name of the rules, and not an open door to money for anyone who read the address.

Now let’s cut one strip only in the drawing: in the protocol the coin is not partially spent. Let’s say there is a hypothetical coin containing 2 XCH from which a person wants to transfer 0.7 XCH, ignoring the fee for now. The entire original object is consumed; New objects appear at 0.7 and 1.3 XCH with the necessary puzzles. The remainder is not stored inside the old coin under the corrected amount. It becomes a new object. The original coin ID refers to the coin that has already been spent, since changing the quantity would mean changing the identity itself.

Both child objects in this example have the same parent, but different amounts or conditions. Their names are different. If you try to create two objects from the same parent with the same puzzle hash and amount, the whole trio will match, and therefore the coin ID will match. The documentation explicitly notes the limitation of such duplicates. The additional serial number of the output that we drew on paper is not included in the described formula and does not correct the match. You cannot secretly add a familiar number from another system to the model, and then assume that the protocol received two different objects.

The same coin ID does not turn into two independent inputs because two programs prepared spends at the same time. Both intents refer to the same object. In the accepted state, the spend that complies with the rules of the chain can become valid; the conflicting intent does not receive a second copy of the original value. Therefore, the independence of preparing programs is not equal to the independence of coins. The paper fork depicts children appearing after one spend, rather than allowing the parent to be spent again for each new branch. It is the distinction between the parent and its not yet created descendants that preserves the meaning of the drawing.

Let’s now imagine two available coins for 0.4 and 0.6 XCH. The amount is equal to one XCH, but the possibility of a specific payment depends on the rules for spending both coins, the state of the chain and the fee. The wallet should prepare the corresponding spends, and not simply reduce the unit in a single line. Even if one recipient object is created, it will have a specific parent within the creating spend. It does not have a composite field “both inputs at once”. A joint payment connects several spends according to the rules of the protocol, maintaining each new coin with its own triple of fields.

This is an important place where paper genealogy can deceive. The total economic sum links the inputs but does not rewrite the structure of each child object. Conservation of value checks for the appropriate total set of spends and values being created, rather than requiring each parent drawn to separately create children for exactly their amount. Dependencies and authorization must be correctly expressed by puzzle and conditions. Therefore, our simple fork of one object is suitable for explaining change, but is not a complete template for constructing any multi-coin transactions.

The fee adds another clarification to the arithmetic. In a normal transfer, the total value in mojos of the user coins created may be less than the value consumed; the corresponding difference is included in the fee mechanism. Therefore, the rule “children always repeat the sum of each parent” is incorrect for several reasons. In the example with 2 XCH, the fee was explicitly excluded just for the sake of reading the fork. Having returned it, you will have to change the number of new objects or their values so that the correct general conditions are preserved. This is an analytical example, not a recommendation to make a payment with a zero fee.

Identity across generations

After a confirmed spend, the old object remains the subject of history, but ceases to be an available input for a new independent spend. Its description can be stored as long as you like, but a copy of the description will not cancel the spent state in the accepted chain. Therefore, a backup copy of the coin list is not a way to return value that has already been sent. To determine the current opportunity, you need an up-to-date view of the chain and a means to satisfy the rules of not yet consumed objects. The name associates information with the coin, rather than giving the owner the right to undo subsequent events by simply restoring the old file.

An unconfirmed transaction adds temporary uncertainty. The local wallet can take into account the prepared spend and future change in its own way, but this is not necessarily the already accepted state of the chain. One general pending number can hide several specific objects at different stages of observation. Our story does not replace the rules of a particular application, but it does suggest the right question: which coin IDs exist in the accepted state and which are just expected? Changing the interface label does not yet create a child coin in the block. The decisive event relates to the confirmed spending history.

When the chain is reorganized, the creation or spending information may also change relative to the new accepted continuation. Therefore, name and current availability are related, but not identical. The formula of identity does not in itself establish the finality of the place of an event in the chain. A synchronized wallet should keep track of the applicable state, and not forever trust a screen once seen. There is no promise of irreversibility after an invented number of confirmations. We just prevent a cryptographic name from quietly becoming a guarantee of any subsequent status.

There is also a limit of control. A coin can be created with rules that humans are then unable to satisfy. Having a known amount and a visible coin ID does not mean the practical possibility of spending. To control an object means to have the necessary means for its conditions, and not just an entry in a beautiful list. In contrast, a public list of identifiers is not a list of secrets sufficient to authorize spending. Separating the name, the rules, and the necessary evidence prevents the explanation from making the dangerous mistake of pretending that identifying a coin and controlling its spending is a single act.

In the wallet interface, the aggregated balance is still useful. It answers a human question about the total quantity within the selected accounting. It would be strange to abandon it for the sake of a list of long hashes. But aggregation hides differences that are important for the next action: how many objects are selected, what rules apply to them, what remainder will become the new object. The complete model must be able to return from a convenient sum to the bases. Then the same numbers in two wallets no longer promise the same construction for the next payment.

Sources verified October 25, 2026. Let’s put the paper strips back together without the invented permanent account in the center. In one generation there were specific coins with parents, puzzles and quantities. After actual consumption, new identities appear, and the old ones are no longer consumed again. The economic amount may remain the same, taking into account the conditions and fees, but the set of names changes. That is why two identical circles at the beginning needed different parent stripes: it is convenient for a person to add money, and the Chia state consists of separate verifiable objects.

Sources & documentation

  1. Chia first smart coin guide ↗
  2. Chia coin set intro ↗
  3. Chialisp conditions ↗