You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
I am using bitcore-wallet-client on react native, polyfilling all nodejs dependencies with node-libs-browser. Creating a wallet and generating an address works fine, however I am unable to publish a transaction proposal.
This is an error I am getting.
ExceptionsManager.js:73 TypeError: Right-hand side of 'instanceof' is not callable
at new Script (script.js:35)
at new UnspentOutput (unspentoutput.js:46)
at Transaction._fromNonP2SH (transaction.js:561)
at Transaction.from (transaction.js:554)
at transaction.js:540
at arrayEach (lodash.js:537)
at Function.forEach (lodash.js:9359)
at Transaction.from (transaction.js:539)
at Function.Utils.buildTx (utils.js:196)
at API.publishTxProposal (api.js:1773)
Hi,
I am using bitcore-wallet-client on react native, polyfilling all nodejs dependencies with
node-libs-browser
. Creating a wallet and generating an address works fine, however I am unable to publish a transaction proposal.This is an error I am getting.
On this line https://github.com/bitpay/bitcore-lib/blob/master/lib/script/script.js#L35
else if (from instanceof Address)
Address is just an empty object so instanceof fails. It seems to me like a circular dependency, or am I wrong?It would be awesome if bitcore could run on RN. Bitcoinjs-lib already works there but I would like to stick with bitcore. Thanks!
The text was updated successfully, but these errors were encountered: