Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make address a link to blockcypher #2

Open
caffeinum opened this issue Dec 3, 2018 · 3 comments
Open

Make address a link to blockcypher #2

caffeinum opened this issue Dec 3, 2018 · 3 comments
Assignees

Comments

@caffeinum
Copy link
Member

caffeinum commented Dec 3, 2018

mvF1LyVR6yxFpEwmkeMVq3SBx2pX6mcFYV

image

https://live.blockcypher.com/btc-testnet/address/n274QqGLtTpbdKtJATCstFJs96tmT2V1qM/

<a href="#" id="recipient-address">recipient address</a>

JS:

document.querySelector("#recipient-address").href = "https://live.blockcypher.com/btc-testnet/address/" + address
document.querySelector("#recipient-address").innerText = address
@ohld
Copy link
Member

ohld commented Dec 3, 2018

What if the address will be not bitcoin? Not testnet?

@ohld
Copy link
Member

ohld commented Dec 3, 2018

How to distinguish bitcoin testnet and bitcoin mainnet?

@caffeinum
Copy link
Member Author

@ohld testnet addresses start from n,m,2. mainnet from 1,3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants