Author

Topic: Need testnet bitcoins for testing (Read 637 times)

newbie
Activity: 3
Merit: 0
November 02, 2016, 09:07:32 PM
#5
doof is right, so something went wrong with your testnet node when that address was generated. I ran validateaddress on the one that started with 1 and got   "isvalid": false. The n49p5ct6GGSy6gfg3NPqcmqmxcoakY9s6v address is valid though. https://en.bitcoin.it/wiki/List_of_address_prefixes

I sent 3 tbct to your n49... address, tx is f2ad02fb42a26bf0a2e63b160e93ec80ddeeca8fe9776f7849c5bbb406569057

Thanks so much Cheesy
legendary
Activity: 1512
Merit: 1057
SpacePirate.io
November 02, 2016, 07:29:07 AM
#4
doof is right, so something went wrong with your testnet node when that address was generated. I ran validateaddress on the one that started with 1 and got   "isvalid": false. The n49p5ct6GGSy6gfg3NPqcmqmxcoakY9s6v address is valid though. https://en.bitcoin.it/wiki/List_of_address_prefixes

I sent 3 tbct to your n49... address, tx is f2ad02fb42a26bf0a2e63b160e93ec80ddeeca8fe9776f7849c5bbb406569057
newbie
Activity: 3
Merit: 0
November 02, 2016, 03:09:15 AM
#3
Happy to, but that's not a test net address. Should start with m or n

When i creating a new bitcoin key object and extracting the TESTNET address (using bitcoinjs-lib)
---
var bitcoin = require('bitcoinjs-lib');
var key = bitcoin.ECPair.makeRandom();
var address = key.getAddress(bitcoin.networks.testnet).toString();
console.log('new TESTNET address: ['+address+']');
=> with this code, i got "new TESTNET address: 12vd2s3tvsu3DyNr7PY3nMckwb2ZPFzpir "

I changed my code to:
var bitcoin = require('bitcoinjs-lib');
var key = bitcoin.ECPair.makeRandom({network: bitcoin.networks.testnet});
var address = key.getAddress().toString();
console.log('new TESTNET address: ['+address+']');
=> and i got "new TESTNET address: n49p5ct6GGSy6gfg3NPqcmqmxcoakY9s6v"

Thanks
hero member
Activity: 765
Merit: 503
November 02, 2016, 02:47:59 AM
#2
Happy to, but that's not a test net address. Should start with m or n
newbie
Activity: 3
Merit: 0
November 02, 2016, 02:28:38 AM
#1
I'm working on a bitcoin service at the moment and have gotten to the point where I need to do some testing with bitcoins.
Unfortunately it looks like the testnet bitcoin faucet is down.

I tried link below but can't get free testnet bitcoins
http://tpfaucet.appspot.com/
https://testnet.manu.backend.hamburg/faucet

Anyone know where I can get some testnet bitcoins...?
Can anybody send some to n49p5ct6GGSy6gfg3NPqcmqmxcoakY9s6v Huh

Thanks
Jump to: