Has anyone used eosjs lib in ArangoDB Foxx service?

I tried a little and faced the issue of not being able to use Node randomBytes package.

I replaced

var randomBytes = require('randombytes');


var crypto = require('@arangodb/crypto');
var randomBytes = crypto.genRandomBytes;

and it passed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.