assets based smart contracts

+1 vote
Hi

i am working on a design of an application, can multichain help me any solution.

1) we require a smart contract which can exchange assets. we should be able to plug the conditions and once the conditions are complete contracts executes and exchanges the assets.

2) using webdemo > can we attach/upload document at send trasaction just like creating asset.

please guide.
related to an answer for: Smart-Contract on Public MultiChain
asked Aug 28, 2018 by brijesh

1 Answer

0 votes

On (1) you can't yet express complex conditions on exchanges, although look out for the first alpha release of MultiChain 2.0 with smart filters coming soon.

On (2) you would need to adjust the web demo code for this, but you can certainly attach metadata to transactions, up to 64 MB on chain or 1 GB off-chain (using MultiChain 2.0 alphas). Please look at APIs such as sendwithdata.

answered Aug 29, 2018 by MultiChain
...