unwriter / datacash

The simplest way to write data to Bitcoin Cash blockchain
58 stars 17 forks source link

uncaught exception: bitcore.ErrorInvalidArgument: Invalid Argument: Must provide an object from where to extract data #3

Open FreeTrade opened 6 years ago

FreeTrade commented 6 years ago

I've been trying some of the suggested examples - but getting this bitcore error -

const privateKey = (wif format); datacash.send({ data: ["0x6d02", "Hello from datacash"], cash: { key: privateKey } });

uncaught exception: bitcore.ErrorInvalidArgument: Invalid Argument: Must provide an object from where to extract data

Wadis10 commented 6 years ago

I'm getting the same error

FreeTrade commented 6 years ago

Looks like it needs the format

WIF Compressed (base58)

Sidhesh009 commented 5 years ago

Im getting same issue. give me solution of this.