worldwide-asset-exchange / waxjs

Javascript API for integration with the WAX Cloud Wallet.
MIT License
126 stars 103 forks source link

Error with the module #168

Closed lumoverix closed 8 months ago

lumoverix commented 8 months ago

Not sure what to do here...

image

niksad8 commented 8 months ago

you have not initialized your waxjs/eosjs library properly. this is the jsonrpc code that should be inited properly. make sure the initing is done properly before calling this function that you are calling.

lumoverix commented 8 months ago

Thank you, when I provided data to the init it started to clear through.

const wax = new waxjs.WaxJS({ rpcEndpoint: 'https://wax.greymass.com', userAccount: 'abc123', pubKeys: ['PUB_K1_'] });