You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
Im generating BCH address + private key in test net, when I send it in the transaction I get 'Error: Non-base58 character'
Even if I convert the address to CashAddressFormat I still get the same error. Any idea how to work around this? I can't send transaction!
Code:
` const bch = require('bitcoincashjs'),
bitcore = require('bitcore-lib');
const Address = bch.Address;
const CashAddrFormat = Address.CashAddrFormat;
const privateKey = new bch.PrivateKey('testnet'),
//address = privateKey.toAddress('testnet');
The text was updated successfully, but these errors were encountered: