Add methods to add assets to token, split token and burning.
Assets will be part of token data. Splitting will allow user to split these assets between tokens and will return user proofs based on split information.
Burning token will use predicate which allows no further actions with token and provides the reference to the tree distributing the split asset between new tokens ids
New token minting based on split proofs will need mint reason so its possible to prove how the new in-token asset was derived.
It will have same structure based on javascript sdk where this is already implemented.
unicitynetwork/state-transition-sdk-js#91
Add methods to add assets to token, split token and burning.
Assets will be part of token data. Splitting will allow user to split these assets between tokens and will return user proofs based on split information.
Burning token will use predicate which allows no further actions with token and provides the reference to the tree distributing the split asset between new tokens ids
New token minting based on split proofs will need mint reason so its possible to prove how the new in-token asset was derived.
It will have same structure based on javascript sdk where this is already implemented.
unicitynetwork/state-transition-sdk-js#91