0

As there are function in

eosjs-ecc

library to validate keys in JavaScript:

const ecc = require('eosjs-ecc')
const pubkey = 'EOSXXXXXXXXXXXXXXXXXXXXXX'
const wif = '5HXXXXXXXXXXXXXXXXXXXXXXXX'
console.log(ecc.isValidPublic(pubkey)) 
console.log(ecc.isValidPrivate(wif))

As i am implementing in

java

, how can i validate public key using java

I am using library:

  • eos-java-rpc-wrapper

  • adyliu/jeos

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.