GetScatter / scatter-js

Importable JavaScript library that allows web applications to directly interface with Scatter Desktop, Classic and Mobile.
MIT License
262 stars 149 forks source link

how to make Offline or cold-storage transaction in scatter? #96

Open lvze1992 opened 5 years ago

lvze1992 commented 5 years ago

Our users think the scatter signature Confirmation box shows too slow. It seems that Offline or cold-storage transaction may can help. [https://github.com/EOSIO/eosjs/tree/v16.0.9]

but I tryed it, it just not work. and I did not found any example in scatter.

or is there any way to let the signature Confirmation box show earlier.

thanks~

nsjames commented 5 years ago

The best way to speed that up is to cache the ABI for your contract inside of your eosjs and project. Scatter will always go to chain to fetch the ABI at least once though (and caches it locally from then on unless the hash changes) to make it speedier on our side as well.