Bitcoin Forum
May 26, 2024, 12:27:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 109 »
41  Bitcoin / Bitcoin Technical Support / Re: Automatically transfer btc to another address, possible? on: December 17, 2020, 09:50:53 PM
Use walletnotify combined with JSON-RPC to move your funds upon receipt.
42  Bitcoin / Development & Technical Discussion / Re: public key to mnemonic on: November 30, 2020, 06:17:56 PM
You shouldn't be converting public keys to a mnemonic.
43  Economy / Service Discussion / Re: Preev.com down? on: November 18, 2020, 11:25:17 PM
Looks like it's back online now, but in case it happens again it's pretty easy to build a clone that updates in real-time with websocket.

Here's a fiddle:
https://jsfiddle.net/y6vxmLp3/

44  Bitcoin / Development & Technical Discussion / Re: Can I borrow some testnet BTC, please? on: November 05, 2020, 03:02:48 PM
What the hell is a defi? Ok Greg, I'll hoard my tBTC.
45  Bitcoin / Development & Technical Discussion / Re: Can I borrow some testnet BTC, please? on: November 05, 2020, 01:17:42 AM
Have fun!
https://blockstream.info/testnet/tx/308fe1ee86fc649bdee963daf91e0d0e92b5a8cae40fe946d79bc3de1880a9dd
46  Bitcoin / Development & Technical Discussion / Re: How would you say is the most secure way to create and maintain a paper wallet? on: November 01, 2020, 02:56:51 AM
Search google for paper wallet, grab any result, or an Ad is even better. Print it and put in your sock drawer. Put all your money on it before getting comfortable with spending (don't worry about change address, WTF are those anyway). Back up on dropbox, or post it here. 


In all seriousness, unless you are really advanced and/or a developer you are setting yourself up for failure with paper wallets. 


I love paper wallets personally, and I like building my own tools for key generation, storage and spending but for obvious reasons I can't recommend this approach to most users.

47  Bitcoin / Development & Technical Discussion / Re: How i can creating a Bitcoin Core wallet from a mnemonic ? on: October 11, 2020, 03:22:30 AM
Bitcoin core wallet has absolutely no ability to import a mnemonic.

Bitcoin core wallet only allows import of single keys (importprivkey), or multiple keys (importmulti).

Bitcoin core also has the ability to turn off the HD wallet with --usehd=0 and just use non-deterministic key pairs.

HD wallets have long been plagued with lack of a standard and lead to people thinking that all they need is their seed words. Unfortunately this causes a false sense of security and users that don't know what they are doing. You need to understand how HD wallets work and which derivation path you are using, not just seed words. From there you can figure out which address have funds, and then you can import those specific key pairs.


48  Bitcoin / Project Development / Multisig Paper Wallet on: February 27, 2020, 03:01:19 AM
Recently I've been working on a multisig paper wallet using the bitcoinjs library.

With any bitcoin wallet, the most important part is the safety of user's funds. Part of the design process included what user input can be provided, and how much information to provide back to the user. The more steps or parts to the process opens up the user to more chances to make mistakes.

The current layout I have is:

 - User provides an input for m and n for the m-of-n (ie 2 of 3, 3 of 5, etc)
 - CSPRNG provided by bitcoinjs-lib creates n key pairs, and those public keys are used to create the multisig P2SH address.
 - Output to user is the P2SH address on the left-hand side, and on the right-hand side the first private key out of n keys.
 - The additional private keys can be cycled through using the arrow buttons above the private key QR code
 - Additional output to the user includes the public keys (and qr codes) and the sequence they were used to create the address and redeem script.
 - User can save redeem script hex to a USB drive, OR if they want to stay true to paper wallet regenerate the redeem script using the public key qr codes along with the `redeem-script.html` tool which can scan your public key qr codes with your webcam. Typing in by hand I suppose is a possible third option, but not likely or recommended considering the redeem script can be quite long.

To make the paper wallet more like a wallet, I have also added some additional standalone pages (tools) that will allow users to find UTXOs for specific addresses to build and sign transactions.

 - Users build transactions with UTXO selection using the `multisig-build.html` tool. (internet needed to fetch UTXOs)
 - Users sign transactions offline using the `multisig-sign.html` tool
 - Users are responsible for broadcasting the raw hex transactions

Drawbacks I am noticing:
 - building a transaction might be too advanced for some users
 - fees should be satoshis per byte like  segwitaddress.org instead of inputting exact fee in satoshis
 - users cant create an address from their own provided public keys (yet, will add in the future)
 - you tell me, what do you all think?

Here's the github repo: https://github.com/coinables/MultiSigAddress
and the domain I'm using: https://multisigaddress.org?testnet=true

It currently supports both testnet and mainnet. I recommend users stick with testnet unless they really know what they are doing.


Some nuances with creating a multisig wallet is there are multiple ways it could be implemented, whereas a standard single key address is just a private key and address. One of the challenges is the redeem script can be too long for a QR code. I was thinking maybe multiple QR codes, but that got ugly quick, so instead I went with displaying the public keys QR codes and printed out the redeem script, giving users multiple options.  This is the way I have decided to go, at least for a first attempt. Looking for thoughts, input, etc from others.
49  Economy / Speculation / Re: Lets talk address 1JCe8z4jJVNXSjohjM4i9Hh813dLCNx2Sy on: September 06, 2019, 04:19:00 AM
Same address moving big money again, this time its one of many inputs totaling a $1 billion dollar transaction moving all to a P2SH addr  Shocked

1JCe8z4jJVNXSjohjM4i9Hh813dLCNx2Sy

https://www.blockchain.com/btc/tx/4410c8d14ff9f87ceeed1d65cb58e7c7b2422b2d7529afc675208ce2ce09ed7d
50  Bitcoin / Development & Technical Discussion / Re: How Can/Do You Store Files on a Blockchain? on: July 27, 2018, 03:40:37 AM
It's important to make the distinction between storing actual files and the ability to write 80 arbitrary bytes to the OP_RETURN. To utilize the blockchain to store a pdf would require you to create many OP_RETURN outputs containing the raw bytes.  Then when ready to fetch the file you would have to combine all the output OP_RETURN data in order and then compile the raw bytes into an actual usable PDF. It's terribly inefficient and creates outputs that can never be spent, forever littering the UTXO set.
51  Economy / Auctions / INTOTHEBLOCKCHAIN - Bitcoin SaaS Passive BTC Income on: November 26, 2017, 04:07:05 PM
INTOTHEBLOCKCHAIN.info  is a bitcoin SaaS written in NodeJS that I am now putting up for auction.

No ads needed, users pay 0.0005 BTC to embed a message into the immutable Bitcoin Blockchain forever, and funds will go to site owner's wallet.
The site owner can accumulate roughly 1 BTC for every 2,000 messages embedded.

Site owner has to do nothing aside from renewing the domain name once a year and run a VPS for the site to run on (~$5/month).

Auction is taking place at flippa https://flippa.com/9334370-intotheblockchain-info
52  Bitcoin / Development & Technical Discussion / Re: Checking Bitcoin Address Balance Without download entire blockchain on: October 29, 2017, 06:08:24 AM
Are you asking for someone to do this for you or are you asking how you should go about doing this?
The question is: Check recently created bitcoin addresses balance without downloading old blocks.


Do you mean without having to reindex? Unless you want to roll your own way of keeping track of transactions using a 3rd party websocket stream and a db or something, I think one solution is to run a pruned node and just generate addresses on the fly with the JSON RPC. You'll still have that one-time IBD, but the old blocks will be purged as it catches up. As long as these are new addresses you are generating with bitcoind it won't have to reindex since theoretically new addresses shouldn't have any prior transactions. Then you can use walletnotify to keep a running balance for each address on a db so you don't have to query bitcoind every time.
53  Bitcoin / Bitcoin Technical Support / Re: Tool to create Private / Public Key from random words? on: October 26, 2017, 02:52:56 AM
Code:
from bitcoin import *

myVariable = "taco public free convenient garbage gumball"

priv = sha256(myVariable)
privwif = encode_privkey(priv, 'wif')
privpub = privtopub(priv)
addr = pubtoaddr(privpub)
print(privwif)
print(addr)

Code:
5KWLNBRD7SzYgG53odgvUCki59ccHCGHv4tryExbVsR8FPZ3pPF
14psgZLp3uYo6kvQEtzTXRC1FxdDsuG2fN
Just out of curiosity, is there actually a way where you can find your words by only having a private key? I mean like decoding these random numbers and letters into the words behind it?

Like finding out "taco public free convenient garbage gumball", by having only "5KWLNBRD7SzYgG53odgvUCki59ccHCGHv4tryExbVsR8FPZ3pPF
14psgZLp3uYo6kvQEtzTXRC1FxdDsuG2fN" available.

No, sha256 is a one-way hash function. To get the words from just a private key, sha256 would have to be broken and bitcoin would need to change it's base layer crypto algorithm.
54  Bitcoin / Bitcoin Technical Support / Re: Tool to create Private / Public Key from random words? on: October 23, 2017, 01:43:05 AM
Best to learn to do it yourself so you know you can re-create it in 10 years, you won't have to rely on bitaddress or whoever to still be around.
Probably one of the easiest things to do in python, even for non-programmers.

Download python 3.X
Install, make sure to check to include IDLE and adding python pip to PATH

Open command prompt and type
Code:
pip install bitcoin
Code:
pip install pybitcointools

Now open up Python IDLE, file -> new

include the bitcoin package

Code:
 from bitcoin import *

Create a variable that includes your random words

Code:
myVariable = "taco public free convenient garbage gumball"

Then run it through a sha256 hash

Code:
priv = sha256(myVariable)

Now you can encode it into a WIF private key

Code:
privwif = encode_privkey(priv, 'wif')

Then to get the corresponding address, encode the public key then encode to base58

Code:
privpub = privtopub(priv)
addr = pubtoaddr(privpub)
print out what you want
Code:
from bitcoin import *

myVariable = "taco public free convenient garbage gumball"

priv = sha256(myVariable)
privwif = encode_privkey(priv, 'wif')
privpub = privtopub(priv)
addr = pubtoaddr(privpub)
print(privwif)
print(addr)

Then save the file, and run it (F5).

Code:
5KWLNBRD7SzYgG53odgvUCki59ccHCGHv4tryExbVsR8FPZ3pPF
14psgZLp3uYo6kvQEtzTXRC1FxdDsuG2fN
55  Bitcoin / Development & Technical Discussion / Re: good source of Bitcoin books on: October 18, 2017, 04:16:15 AM
I'm surprised this one didn't make it in there  Grin Roll Eyes
https://www.amazon.com/Building-Bitcoin-Websites-Beginners-Development/dp/153494544X

56  Bitcoin / Project Development / Re: need a little help on block.io on: October 18, 2017, 04:06:55 AM
am trying to write a code for withdrawal but it keep telling me to include fees

  { error_message: 'Cannot withdraw funds without Network Fee of 0.00008112 BTC. Maximum withdrawable balance is 0.00012728 BTC.',

how do i go about it?

Likely the amount you have specified in the send amount is greater than 46,160 satoshis (0.00012728 - 0.00008112 = 0.000046160), you have to account for the mining fee yourself when sending the request.

57  Bitcoin / Development & Technical Discussion / Re: Methods of practicing blockchain programming/playing with code or protocols? on: October 18, 2017, 03:37:25 AM
https://bitcoin.stackexchange.com/questions/416/how-do-i-build-bitcoin-from-source-in-linux?rq=1
58  Bitcoin / Bitcoin Discussion / Re: how do I create SegWit address? on: September 14, 2017, 02:47:25 AM
I know this site, but I can not say anything about trustability: https://segwitaddress.org/

This was just something I threw together over the weekend using functions from someone else's repo as stated in the heading of the site. The address functions are using bitcoinjs which is a trusted library used by GreenAddress, Blockchain.info, Blocktrail and more. There's nothing funky going on, but it's good to be skeptical of pretty much everything especially wallets in the crypto space.
59  Bitcoin / Project Development / Re: Web based bitcoin wallet on: July 26, 2017, 04:42:35 AM
I really wouldn't advise you to try to create a web wallet unless you understand fully how Bitcoin works and the risks of operating an online wallet.

I'd like to echo this.
60  Economy / Services / Re: Need a logo $100 on: July 24, 2017, 03:01:05 AM
To be clear I am currently asking for concepts and portfolios to decide which designer I will proceed with. Please don't spend a ton of time on your concept, it can be on a napkin if need be; I just want to be sure we're both on the same page before committing. Thank you to everyone who has reached out so far. Don't worry I don't plan on dragging this out forever like some silly contest. Should have it decided within 24 hours.
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 109 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!