worldwide-asset-exchange / waxjs

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

Error with the module #168

Closed lumoverix closed 1 year ago

lumoverix commented 1 year ago

Not sure what to do here...

image

niksad8 commented 1 year 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 1 year 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_'] });