Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»BITCOIN NEWS»How to use BlockCypher’s test network with BitcoinJS-lib?
BITCOIN NEWS

How to use BlockCypher’s test network with BitcoinJS-lib?

By Crypto FlexsJanuary 13, 20241 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
How to use BlockCypher’s test network with BitcoinJS-lib?
Share
Facebook Twitter LinkedIn Pinterest Email

I am trying to create PSBT through BitcoinJS-lib.

I’m using BlockCypher’s internal testnet (bcy/test) because I have no choice. Literally every other testnet faucet I tested was broken.

When you create a new address using BlockCypher’s API, address, private, public and wif

(In their document wifBut it actually gives you one…)

Below is an example response:


  "private": "9125ea9f573e23ce178d98cc2ec2a78655bd030c14b525729a026d6570b411c8",
  "public": "03f1fbc34305c61d7638c449030c32a66eb36726c208fca9962923a98ca75d77fe",
  "address": "C1E96vE5GvKd5kXU4T4hhF6QioZzACrmdD",
  "wif": "BtCBNtS2noEXwm4rJi9nyiVbmZJMR9CEBMbF5Uz6JTSaR9EQn8jS"

However, none of this information can be used on its own. sign Functions in BitcoinJS-lib require a signer (KeyPair) class object..providing the private key on its own will not work.

in other words psbt.signInput(0, privateKey); The results are as follows: Error: Need Signer to sign input

I am KeyPair It comes from WIF, but because BitcoinJS-lib lacks WIF bitcoin.networks Configuration suitable for bcy/test It doesn’t always work out…

ECPair.fromWIF(wif, bitcoin.networks.testnet); // Error: Invalid network version
ECPair.fromWIF(wif, bitcoin.networks.main); // Error: Invalid network version
ECPair.fromWIF(wif); // Error: Invalid network version

The error message indicates that WIF is not possible on the network you are trying.

How do I make it? KeyPair for bcy/test ?

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

FTX plans to pay $900 million to creditors when the fifth distribution begins on July 31.

July 18, 2026

Saylor’s strategic message doesn’t help push the Bitcoin story, says StanChart.

July 12, 2026

Bittensor subnet token launches on Kraken

July 6, 2026
Add A Comment

Comments are closed.

Recent Posts

Everyday Guides Book Series — Rethink Your Strategy

July 20, 2026

Billionaire Adam Weitsman Launches HV-MTL NFT Marketplace

July 20, 2026

Bitmine Immersion Technologies (BMNR) Announces ETH Holdings Reach 5.78 Million Tokens, And Total Crypto And Total Cash Holdings Of $11.5 Billion

July 20, 2026

THE 500-YEAR YIXING ZISHA TEAPOTS PARADIGM

July 20, 2026

Singaporean-Founded Paymonade Clears Europe’s New Crypto Regulations — When Roughly 90% Of Europe’s Crypto Firms Fail

July 20, 2026

MEXC Launches 0-Fee Stock Futures Campaign With $5,000,000 SNDK Prize Pool

July 20, 2026

ETA CEO Expects More Partnerships with Bitcoin Startups in the Future

July 19, 2026

FTX plans to pay $900 million to creditors when the fifth distribution begins on July 31.

July 18, 2026

KuCoin unveils Celestia Stage as Tomorrowland Belgium 2026 partnership expands

July 18, 2026

The next chapter for XRP price could be a strong move to the upside

July 18, 2026

What is it and why is it negative?

July 18, 2026

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Everyday Guides Book Series — Rethink Your Strategy

July 20, 2026

Billionaire Adam Weitsman Launches HV-MTL NFT Marketplace

July 20, 2026

Bitmine Immersion Technologies (BMNR) Announces ETH Holdings Reach 5.78 Million Tokens, And Total Crypto And Total Cash Holdings Of $11.5 Billion

July 20, 2026
Most Popular

Why is the Bitcoin price stagnant?

July 12, 2024

Crypto Twitter This Week: Coinbase’s Legal Drama, Sam Bankman-Fried

April 1, 2024

Bitcoin Price Outperforms – Main Reason Bulls Still Target $48,000

December 21, 2023
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2026 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.