Enforcing complex transaction constraints possible?

+2 votes

In an old blog post you had written:

Once we have the ability to apply transaction constraints, they can be extended to contain any set of rules. Some examples might be “a unit of this asset can only be created if these three other assets are simultaneously locked in escrow” or “this asset can only be transferred if there’s a corresponding row reporting insufficient rain”. From the perspective of a blockchain’s distributed architecture, the logic inside the box make no difference, so long as it can give us a definite and consistent evaluation of every transaction that it sees.

Does the MultiChain API allow us to do that?

I am not referring to atomic transactions here. Concretely, I am mostly interested in the former example ("do this only if these three other assets are simultaneously locked in escrow").

Thank you.

asked Jan 9, 2017 by Kostas

1 Answer

0 votes

In a general sense, you cannot apply rules of this nature in the MultiChain API. This would be an example of more complex smart contract-style logic that MultiChain does not yet support. If you would be willing to share more information about your use case (either here or by private message) it would be very interesting for us, since we are collecting information on private blockchain smart contract use cases. We know how we would implement them in MultiChain (see end of this post), but haven't yet decided whether or when.

answered Jan 10, 2017 by MultiChain
...