0

I have an issue while creating simple zcash address:

I am using the following network params:

const bc = require("bitcore-lib")

const zcashNetwork = {
  name: 'livenet',
  alias: 'mainnet',
 ...
};

const network = bc.Networks.add(zcashNetwork);
bc.Networks.defaultNetwork = network;
let privateKey = new bc.PrivateKey();

let address = privateKey.toAddress().toString();

and get the address that is not started with t1... but 2HSWSLX2P8ArVDxGZptj8T8KuoQdRcj8hHV

Why is that? And are there any ways to convert it?

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.