kinecosystem / kin-node

DEPRECATED! Please use Kinetic: https://developer.kin.org/docs/kinetic
https://developer.kin.org/docs/kinetic
MIT License
16 stars 14 forks source link

Submitting transaction doesn't work #13

Closed s-a-y closed 3 years ago

s-a-y commented 3 years ago

Since about 15 Dec can't submit any transactions, getting this:

error:  ReferenceError: BigInt is not defined
    at Client.<anonymous> (/home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:490:51)
    at Generator.next (<anonymous>)
    at /home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:4:12)
    at Client.submitSolanaPayment (/home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:452:16)
    at Client.<anonymous> (/home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:426:37)
    at Generator.next (<anonymous>)
    at fulfilled (/home/xxx/node_modules/@kinecosystem/kin-sdk-v2/dist/client/client.js:5:58)
    at <anonymous>

Tried updating to the latest version 0.3.10, it's the same.

EpicApex commented 3 years ago

Any news regarding this?

showered commented 3 years ago

BigInt is built-in to Node v10+ so make sure your Node is relatively up to date.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt