@zubari/sdk 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -305,7 +305,7 @@ function deriveEthereumAddress(seed) {
305
305
  const hdNode = HDNodeWallet.fromPhrase(seed, void 0, DERIVATION_PATHS2.ethereum);
306
306
  return hdNode.address;
307
307
  }
308
- function deriveBitcoinAddress(seed, network = "testnet") {
308
+ function deriveBitcoinAddress(seed, network = "mainnet") {
309
309
  try {
310
310
  const seedBytes = mnemonicToSeedSync(seed);
311
311
  const hdKey = HDKey.fromMasterSeed(seedBytes);
@@ -399,7 +399,7 @@ function deriveTronAddress(seed) {
399
399
  throw error;
400
400
  }
401
401
  }
402
- function deriveSparkAddress(seed, network = "testnet") {
402
+ function deriveSparkAddress(seed, network = "mainnet") {
403
403
  try {
404
404
  const seedBytes = mnemonicToSeedSync(seed);
405
405
  const hdKey = HDKey.fromMasterSeed(seedBytes);
@@ -419,7 +419,7 @@ function deriveSparkAddress(seed, network = "testnet") {
419
419
  throw error;
420
420
  }
421
421
  }
422
- async function deriveAllAddresses(seed, network = "testnet") {
422
+ async function deriveAllAddresses(seed, network = "mainnet") {
423
423
  const addresses = {
424
424
  ethereum: null,
425
425
  bitcoin: null,