tstokenlib library

Classes

PartialSha256
PartialWitnessLockBuilder
This builds the locking script for the Partial SHA256 calculation in the token transaction It is positioned as Output3 (the 4th output).
PartialWitnessUnlockBuilder
PP1LockBuilder
The PP1 output, which is the second output of the token transaction, is used for proving by induction that the history of token transfers have been made correctly. This is key to providing double-spend protection to the token.
PP1UnlockBuilder
PP2LockBuilder
The PP2 Lock builder is positioned as the third output of the token transaction. It's primary purpose is to bridge the connection between the Sha256 output in fourth position, and the Inductive Proof in PP1 (second token output). PP2 will assert that all the witness outpoints spend from this transaction. In order to do so it will perform an in-script rebuild of it's Sighash PreImage.
PP2UnlockBuilder
TokenTool
TransactionUtils

Enums

TokenAction