cazala / coin-hive

CoinHive cryptocurrency miner for node.js
https://www.npmjs.com/package/coin-hive
MIT License
1.98k stars 397 forks source link

Using pool in options object #53

Closed aarondack closed 6 years ago

aarondack commented 6 years ago

Hey there,

I have a question regarding the pool option. I'm catching this promise rejection { error: 'invalid_site_key' } whenever I put in a pool with the subsequent properties. I know that the site key I'm using is valid because if I remove the options object in general it works.

My question is, is this a cryptic error that is potentially something else? I've been using the default pool provided in the example.

cazala commented 6 years ago

When you use a custom pool you don't use a site key, you have to use a monero address. You are getting that error because you are not providing a monero address.

aarondack commented 6 years ago

Awe makes sense, I knew it was a noob mistake! Thanks.

cazala commented 6 years ago

np (;