EOSIO / eosjs

General purpose library for the EOSIO blockchain.
http://eosio.github.io/eosjs
MIT License
1.43k stars 462 forks source link

Can i use eosjs on Google App Scripts platform? #1057

Open ConfusedKoala opened 2 years ago

ConfusedKoala commented 2 years ago

Thanks for the time.

I am stuck with GAS for some reason and I need to push transactions. Is this possible?

https://www.google.com/script/start/

Much appreciated.

bradlhart commented 2 years ago

It isn't supported specifically, but likely because there hasn't been much use to investigate it.

However, if you would like to try, there might be a few avenues you can attempt. If GAS supports npm, you could install the package directly. If not, you could either use the package.json scripts build or build-web and possibly add the built files to your GAS code. I'm not sure whether build or build-web would work better, but you can try both.

ConfusedKoala commented 2 years ago

Thanks for replying.

GAS doesn’t support any installation or reference of script.

Everything has to be saved within as part of the functions to be called. Is there any way you can help?

I am totally clueless and I spent hours without success.  :( On 9 Nov 2021, 3:05 AM +0800, Brad Hart @.***>, wrote:

It isn't supported specifically, but likely because there hasn't been much use to investigate it. However, if you would like to try, there might be a few avenues you can attempt. If GAS supports npm, you could install the package directly. If not, you could either use the package.json scripts build or build-web and possibly add the built files to your GAS code. I'm not sure whether build or build-web would work better, but you can try both. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.