Moonlight-io / asteroid-sdk-js

5 stars 3 forks source link

enhance contract api to use a build => execute architecture #54

Open lllwvlvwlll opened 4 years ago

lllwvlvwlll commented 4 years ago

in many cases, our tools can see substantial performance improvements (order of magnitude) by posting multiple transactions at the same time. Currently, we only support single transactions running at a time, which causes massive performance overhead (each transaction needs to be published before issuing another).

This enhancement implements a raw transaction builder which is wrapped by the api. This allows us to build multiple transactions and send them together in a single request in our applications, while allowing the end user to continue using the higher level methods.

rockacola commented 4 years ago

Just to clarify,

rockacola commented 4 years ago

@lllwvlvwlll is this ticket addressed with creation of NeoVivid.getDecryptedClaimByClaimID?

lllwvlvwlll commented 4 years ago

No, this is specifically in reference to methods which publish data to the chain.