CityOfZion / neon-js

Javascript libraries that allow the applications to interact with NEO blockchain

Home Page:https://docs.coz.io/neo3/neon-js/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when trying to send GAS (TextEncoder is not defined)

lock9 opened this issue · comments

Hi.

I'm using the 5.0.0-next.15 release. I'm trying to do a transfer, but I'm getting this error instead:

    at ScriptBuilder.emitString (/home/lock9/Workspace/project/node_modules/@cityofzion/neon-js/dist/webpack:/@cityofzion/neon-core/lib/sc/ScriptBuilder.js:113:1)
    at ScriptBuilder.emitAppCall (/home/lock9/Workspace/project/node_modules/@cityofzion/neon-js/dist/webpack:/@cityofzion/neon-core/lib/sc/ScriptBuilder.js:48:1)
    at GASContract.transfer (/home/lock9/Workspace/project/node_modules/@cityofzion/neon-js/dist/webpack:/@cityofzion/neon-js/src/experimental/nep17/base.ts:134:1)
    at process._tickCallback (internal/process/next_tick.js:68:7)

I'm using Ubuntu 20.04.3 LTS

Have a look at this #701

@lock9 I know this is old but can we consider this issue resolved or should it stay open?

Closing assuming it is solved. Let me know if we should re-open