GetScatter / scatter-js

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

eosjs2 getting an update #44

Closed nsjames closed 5 years ago

nsjames commented 6 years ago

2 helpful takeaways:

  • the default export is gone and exports are modified slightly (i.e. new eosjs.Rpc.JsonRpc is now just new JsonRpc)
  • JsonRpc now has getRawAbi which retrieves the rawCodeAndAbi.abi and does base64ToBinary, so you can remove your numeric import and use that call instead
jafri commented 5 years ago

+1, .transact() failing silently with scatter on eosjs beta 2

nsjames commented 5 years ago

This requires a fix for scatter desktop which will come out next release.

( issue was they changed references of account_name to accountName and broke some scatter internal abi parsing/fetching )