Bitcoin Forum
May 24, 2024, 06:52:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 [88] 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 ... 403 »
1741  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: Monero (XMR) to Bitcoin (BTC) without KYC on: August 29, 2022, 02:46:17 PM
...
In general, you can sell the file, but don't expect someone to pay for information that can be obtained for free.

That's right, anyone can go to a swap service for free and make the exchange, a good example for this is the next site:

https://altquick.com/swap/

I have used their service in the past and worked fine for me. I feel like there is no reason to pay 0.1 to op and get a pdf file that could contain a malware, the risk of getting scammed or exploited doesn't worth it.

I remember in the past it was possible with Atomic wallet, but if i'm not wrong they remove that coin from their swap service.
1742  Local / Español (Spanish) / Re: Alguien sabe cómo será realmente el plan de resarcimiento de los BTCs de Mt Gox? on: August 29, 2022, 01:46:48 PM
Una pregunta interesante de este caso es ¿De donde sacó MtGox los btc para el reembolso.

Por lo que tengo entendido a partir del robo solo regresaron aproximadamente 80,000 BTC a MtGox después del robo, por lo que me pone a pensar si MtGox estuvo haciendo trading con esos fondos para capitalizarse y así poder pagar a los usuarios.

Y lo comento ya que es bien sabido cual fue el destino de estos BTC:


Y para los que quieran leer el artículo les dejo la fuente.

https://blog.wizsec.jp/2017/07/breaking-open-mtgox-1.html
1743  Bitcoin / Development & Technical Discussion / Re: looking for coinkit or pybitcoin for running on python3 on: August 28, 2022, 04:27:59 PM
Hi ETFbitcoin and thanks for assistance. Luckily I already figured out how to pass arguments but your example however was very helpful, too. Is it better to use sys.argv or would you suggest to go with the getopt.getopd method instead ?

My main problem is how to pass the address.lst to pycoin lib for processing the get_balance part. Unfortunately the provided binary program tool "ku" is only for manipulating keys, I didn't find anything related to get_balance there. In that case I would have piped the example.py results to ku, something like that....

To get the balance from an address you need to call a third party, You can call any block explorer api, you can call your bitcoin core with RPC, or you can directly download the file with all the address containing balance.

https://gz.blockchair.com/bitcoin/addresses/

That list gets updated daily, i hope it helps, and if you want to manipulate that list i will recommend the topic created by LoyceV for that topic:

https://bitcointalk.org/index.php?topic=5254914.0
1744  Local / Altcoins (criptomonedas alternativas) / Re: [Noticia] [Reflexión] Nueva amenaza a la decentralización on: August 28, 2022, 03:39:51 PM
Es un tema interesante colega pero desde mi punto de vista los desarrolladores de tokens no deberían de tener el poder de manipulación de la tecnología. El roll de estos es adaptarse a la tecnología existente y no llegar a buscar como cambiarla.

Esto me recuerda a las parejas toxicas que intentan cambiar la forma de ser de su pareja. Es irónico ya que estas se enamoraron de la persona como era y empezar una relación con la intención de cambiar a la otra persona es un grabe error. Creo que esto mismo aplica para los tokens.

Si no les gusta la tecnología o la plataforma en la cual desarrollaron su Token entonces que busquen otra o que desarrollen su propia moneda con contratos inteligentes en donde se satisfagan sus necesidades.
1745  Economy / Gambling / Re: PF.Guru - The Best Provable Fair Crypto Casinos on: August 27, 2022, 08:14:04 PM
It would be nice if you offer the provably fair logic behind each casino that your site promotes. Even a bet verifier tool for each casino would be a great contribution for the community.

Right now your site is only a tool to get referrals for those casinos, it doesn't have nothing about the provably fair engines for those casinos, so, for me it's just a click bait.
1746  Local / Español (Spanish) / Re: McAfee aparece muerto en su celda - aparentemente suicidio on: August 27, 2022, 05:01:31 PM
Creo que esa declaración por parte de la novia es algo extravagante. Si realmente sigue vivo deberían de haber conservado el secreto en vez de hacerlo público a través de un documental de netflix, simple mente no tiene sentido revelar un secreto así de grande.

El problema es que ahora las autoridades empezaran la caza de un fantasma  Grin
1747  Economy / Gambling discussion / Re: KYC on Gambling Business on: August 27, 2022, 12:56:33 AM
I don't see the big deal of kyc? You trying to avoid taxes? Underage? Gambling for an illegal jurisdiction? IMO those are the users who would likely have an issue performing kyc for a casino.

This isn't bitcoin from 2009 where kyc wasn't a thing. This is 2022 and governments are imposing sanctions and rules all over the place. These rules trickle down to gambling platforms as well as license providers.

I miss those old days when you don't even need an account to place a bet in the casino, the on-chain days.

The sites that uses KYC are those sites that have a license, but we have some sites that doesn't have a license and have been operating for years now. Sites like freebitco dot in and Just Dice. People trust in those sites even without a license because they are probably fair. If we can verify our bets then we can trust the site. If we can't verify our rolls then our only option is to trust on the casino license and the game provider. It's fun that the casinos where we can't verify our slots roll are the ones that we have to provide our personal information.

But you are right mate, now we are playing with different rules.
1748  Local / Trading y especulación / Re: [Agosto]{Diciembre} 2022 |...se avecina más dolor! . on: August 26, 2022, 09:39:32 PM
Al parecer llego mas dolor, y una bastante fuerte alrededor del 4/5% pero en el precio no se siente demasiado porque estamos en un numero bajo.

Al parecer y cada vez mas, el BTC esta siguien la linea de la economia formal y no estaria escapando a la supuesta y pronta "recesion", igualmente como digo esto no quita que el dia de llegada de la supuesta recesion si es que llega, el BTC suba con toda, ya veremos.


Es uno de esos viernes rojos para las criptos, me he percatado de la caía de 5% en BTC y 9% para ETH en las últimas 24h.

Y la peor señal de todas es el mercado de capitalización por debajo de $1T. Esto tiene pinta de que seguirá bajando. No dudaría que esto se deba al tema de MtGox y el reembolso a sus usuarios, aun que no encuentro noticias sobre si ya sucedido pero esta drástica caída podría ser una consecuencia.
1749  Bitcoin / Project Development / Re: preev.net - what it should have and how it should look? on: August 26, 2022, 06:17:35 PM
That's a huge domain mate, each minute down you are loosing money.

I would like to see something like this in the main page:


That would be a nice start, after that you can add the live data tracker for each coin or token.

If you start with the most popular coins you will get offers from tokens creators to get listed, that's how the business should work, while you get some extra income with ads and ref links.
1750  Local / Español (Spanish) / Re: Entendiendo las direcciones de Bitcoin. on: August 26, 2022, 05:21:55 PM
Herramientas de generación, conversión  y verificación.

Normalmente cuando un usuario crea una cuenta en algún servicio que permita depósitos y retiros (Como una casa de cambio o un casino), este genera la dirección de deposito para el usuario y el servicio se encarga de la manipulación de las llaves privadas y las transacciones. Si dicho servicio es vulnerado o deciden cerrar y desaparecer no hay forma de que los usuarios recuperen sus fondos ya que estos solo tienen la dirección de depósito pero no la llave privada.

Si no tienes las llaves privadas las cryptomonedas no te pertenecen. Así que estos son algunos métodos para generar tus llaves privadas:

Vanitygen:
Code:
sudo snap install vanitygen

Code:
:~$ vanitygen -i 1BOSS
Difficulty: 1100434
Pattern: 1BOSS                                                                
Address: 1Boss1twybZT8QjhZBxPah7kB2DauyUjrx
Privkey: 5KLdkbcriPUp7nvQUmi1tLbCApfH7CmkHxGdGoAN7n1rHiNJoCt

Con este metodo usamos fuerza bruta para encontrar una dirección con el prefijo 1Boss. Pero también hay una forma de crear direcciones a partir de una combinación de palabras:


Vanitygen nos ofrece una llave privada descomprimida mientras que el sitio de brainwallet nos ofrece ambas (comprimida y descomprimida).

Así que trabajemos con esa dirección, a continuación vamos a obtener la clave comprimida y sus 3 formatos de dirección.

Entramos a https://secretscan.org/PrivateKeyWif y enviamos la llave privada.


Con esto obtenemos la llave en Hexadecimal:

Code:
C89ABC0F5A50A51D1EEC3F0A1D7FB6B72B2501985A37893D72266CBABD4234B4

Ahora podemos entrar a cualquiera de estos conversores para obtener la dirección a partir de la llave privada en Hexadecimal

https://secretscan.org/PrivateKeyHex
https://secretscan.org/PrivateKeySegwit
https://secretscan.org/Bech32


Y por último me gustaría compartir otra herramienta la cual nos permita saber si tenemos balance en nuestras otras direcciones con la misma llave privada pero no solo para bitcoin, sino que tambien para sus 'fork' y otras monedas populares.


NOTA: Esto lo hago con propósitos educativos, el uso de herramientas en línea para verificar o generar información sensible es un grabe error que nadie debería cometer ya que corren el riesgo de perder sus fondos.
1751  Bitcoin / Development & Technical Discussion / Re: Biometrics as private key? on: August 26, 2022, 03:58:47 PM
There are too many problems with this idea as society currently operates for it to be viable.  However, when we're all living in the metaverse while our bodies are locked in tubes on some spaceship, this could be a great idea.  You're just too far ahead of your time with this one.  Check back in 300+ years.

300 years is too much mate, i think 10 years will be enough to get to that point. Just look at the news

The microchip implants that let you pay with your hand
https://www.bbc.com/news/business-61008730

Elon Musk Says a Neuralink Update Is Coming on Halloween
https://www.cnet.com/science/elon-musk-says-a-neuralink-update-is-coming-on-halloween/

And here is the tricky part of the biometric where we have to make us the next questions:

Is a microchip implant part of our biometrics?
How long it will take us to create the ADN print?

Maybe the fact that sign a transaction with the finger print es a bad idea, but it could be done with a NFC implanted chip.
1752  Local / Español (Spanish) / Entendiendo las direcciones de Bitcoin. on: August 26, 2022, 02:50:23 PM
Las direcciones de bitcoin es de esas cosas complejas que todos usamos pero no todos entendemos, simplemente vemos si empiezan con 1 o con 3 o con bc1q, lo único que nos interesa saber es como importar y exportar una direccion y con esto ya tenemos lo necesario para usarlas. ¿Pero alguna vez te has puesto a pensar como funcionan?

Toda dirección de bitcoin parte de una llave privada, y lo que a mi me llamó mucho la atención es que con la misma llave podemos generar cualquier tipo de dirección.

Supongamos que usamos vanity gen para generar una dirección:

Code:
Address: 1AddyRpJ5SjfCH8N1WSkTX4FUPb4H2YfFx
Privkey: 5JcWWHgBvyf9LR6W4WmogwXh9JqSNGTsygmLNs1pKvaSnDx9Wjq

Lo que acabamos de obtener es una dirección y una llave privada descomprimida, al pasar esa llave a formato comprimido obtenemos:

Code:
KzjjEGbyFF5MnhMHGWQm5HgUBfinxsFe1CWgXVkbtXUcnL9YEgPi

Esta llave comprimida puede ser importada a electrum en los 3 tipos de formato:

Code:
p2pkh:KzjjEGbyFF5MnhMHGWQm5HgUBfinxsFe1CWgXVkbtXUcnL9YEgPi
p2wpkh:KzjjEGbyFF5MnhMHGWQm5HgUBfinxsFe1CWgXVkbtXUcnL9YEgPi
p2wpkh-p2sh:KzjjEGbyFF5MnhMHGWQm5HgUBfinxsFe1CWgXVkbtXUcnL9YEgPi 

Y es así como con la misma llave privada obtenemos las siguientes 3 direcciónes:

Code:
1853H6w9Vii6ymMrFL9YDq2rwencmvzTL7
bc1qfkx8yykk6299gyx4d7adz4sgv5uzjjctzjz5n2
3Cjk952fMgNygHdYeYBxCTgtdTZj18SVsT

Y es aquí donde viene lo interesante... Hay una manera de saber si 2 direcciones comparten la misma llave privada sin conocer esta llave, y eso es a través del Hash160 de la dirección.

Code:
python3 -c 'import bech32; hash1 = bech32.decode("bc", "bc1qfkx8yykk6299gyx4d7adz4sgv5uzjjctzjz5n2"); hash2 = bytes(hash1[1]); print(hash2.hex())'
4d8c7212d6d28a5410d56fbad156086538294b0b

Code:
python3 -c "import binascii, hashlib, base58; hash160 = binascii.hexlify(base58.b58decode_check(b'1853H6w9Vii6ymMrFL9YDq2rwencmvzTL7')).decode()[2:]; print(hash160)"
4d8c7212d6d28a5410d56fbad156086538294b0b

Sin embargo esto no aplica para las direcciónes P2SH ya que estas llevan un doble proceso de hash160.

Y es por esto que programas como brainflayer utilizan ese Hash160 como vector de ataque en ves de buscar direcciones. Ya que si encontramos la llave privada de ese hash podremos acceder a todas sus direcciones.

Para concluir dejo algunos ejemplos de direcciones con su tipo para que puedan identificarlas a futuro:

Code:
Base58 (P2PKH) 1AddyRpJ5SjfCH8N1WSkTX4FUPb4H2YfFx
Base58 (P2SH) 3Cad7LvtLjxWrQzdbLdnoQ9yP8Xr7rU1vH
BECH32 (P2WPKH) bc1qfkx8yykk6299gyx4d7adz4sgv5uzjjctzjz5n2
BECH32 (P2WSH) bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
1753  Bitcoin / Bitcoin Technical Support / Re: What is the difference between a server and a node on: August 25, 2022, 02:23:39 PM
To broadcast a transaction from a wallet to the bitcoin network, you can connect to a node, either privately or publicly, but I don't know why electrum and sparrow wallet used server in their network connections instead of nodes. I'm assuming server and bitcoin nodes are the same thing, but I'm not sure.

They are two different things, let me explain how each one works.

Bitcoin node is a program running o a server on the port 8332 and you can call that tool with RPC calls.

The server is the machine running Bitcoin Node, but since it's a server it could run other services in different ports like HTTP (80), SSH (22), NodeJS (3000), SMTP (25) and Bitcoin (8332).

When we talk about a bitcoin server, we are talking about a Server that is running Bitcoin Core (Node) and another programs Like SQL, Python or NodeJS... or others. So, when a user calls any action the flowchart looks something like this:

1.-User open the website or the app (Port 443)
2.-User request a withdraw (Site send the request to NodeJS for data verification on port 3000)
3.-NodeJS calls Bitcoin core with RPC on por (8332)
4.-Send the result data back to NodeJS and this print it in the Website.

If you where dealing direct with node, you only need to make the call and make the withdrawal without a third party interference.
1754  Bitcoin / Development & Technical Discussion / Re: Unique Wallet address. on: August 25, 2022, 01:20:14 AM
The odds that some one else get the same private key as yours are really low. You don't have to worry about that.

But the fact that people generate their address online its a high risk move, and a lot of people have lose their founds doing it, and this is because it's simple for a site to save all the generated address in a data base, so, if the user send coins to that address they can be lost because the site has your private key.
1755  Local / Español (Spanish) / Re: El gigante de LATAM, MERCADO LIBRE, lanza la moneda MERCADOCOIN en Brasil on: August 24, 2022, 08:39:26 PM
He estado leyendo sobre la moneda y está bastante interesante el concepto con el que viene, ya que esta no estará listada en las casas de cambio debido a que será una moneda para uso específico de la plataforma. Sin embargo se presta para especulación ya que el precio de esta podrá subir o bajar.

También otro factor es el echo de que no tendrá una cantidad limitada, lo cual significa que Mercadolibre podrá manipular su mercado a placer.

Dejo esta referencia:
https://www.larepublica.co/globoeconomia/mercado-libre-lanzo-mercado-coin-su-propia-criptomoneda-como-es-y-para-que-sirve-3429470
1756  Bitcoin / Bitcoin Discussion / Re: Elon musk is for crypto or just for attention to boost Tesla, SpaceX? on: August 24, 2022, 03:59:03 PM
Elon uses cryptos as capitalization tool, it's simple as that. He has the power to manipulate markets and he already prove it. And if he need cash for his projects he can sell he recently bumped coins  Cheesy

Is a smart move, and is a way to capitalize big projects... No one say it was cheap or easy to create an electric car, or create space ships or artificial neural links. The money should come from some where, and not all comes from cryptos, this is just another income source.
1757  Local / Español (Spanish) / Re: Alguien sabe cómo será realmente el plan de resarcimiento de los BTCs de Mt Gox? on: August 24, 2022, 03:50:13 PM
El retorno de 141.686 BTC no es tanto comparado con los 850.000 BTC robados. Pero aún asi hay mucho temor debido a que tal cantidad podría desplomar el precio si los que reciben los BTC deciden vender.

Aun no se sabe la fecha exacta en la que será esta devolución pero ya hay un par de artículos, esto debería de suceder antes de que se acabe el mes pero algunas personas piensan que ya inició y por eso el precio está a la baja en este momento.

https://www.criptonoticias.com/mercados/bitcoin-podria-ver-nuevos-minimos-fines-agosto-caso-mt-gox/
1758  Bitcoin / Bitcoin Technical Support / Re: Get the P2WPKH(Bech32) using the Public Key Hash (Hash 160) Python on: August 23, 2022, 02:49:27 PM
Thanks for your replies guys and sorry for that beer typo  Tongue

Yesterday i find this example of encode:
https://bitcoin.stackexchange.com/questions/91748/how-to-use-python-reference-for-encoding-a-bech32-address

Code:
import bech32
import binascii

spk = binascii.unhexlify('0014751e76e8199196d454941c45d1b3a323f1433bd6')
version = spk[0] - 0x50 if spk[0] else 0
program = spk[2:]
print(bech32.encode('bc', version, program))

But sadly it prints and error if i try with my Hash160... And is fun to see how there is only one example of that encode command.

And after following the white rabbit i found this book:
https://books.google.com.mx/books?id=_H52EAAAQBAJ&pg=PT403#v=onepage&q&f=false

And when it try with the book example, it worked fine.. here is the code:

Code:
>>> import bech32
>>> witprog = bytes.fromhex('7773d807892cb200e6a4785428294452c9e3b4b9')
>>> witver = 0x00
>>> hrp = 'bc'
>>> address = bech32.encode(hrp, witver, witprog)
>>> print(address)
bc1qwaeaspuf9jeqpe4y0p2zs22y2ty78d9e6nvjgf
1759  Bitcoin / Bitcoin Technical Support / Re: Get the P2WPKH(Bech32) using the Public Key Hash (Hash 160) (Python) on: August 23, 2022, 01:08:35 AM
It is not possible to go from script hash to witness public key has (wpkh). Scripts and pubkeys are different things.

However I don't think that's what you are trying to do. What do you mean by "script hash" in this case?

I just edit the tittle achow101, you was right "script hash" wasn't clear, the right term is Public Key Hash (Hash 160).

What i mean, if we go to this site, we can see the publick key hash of any address:

https://privatekeys.pw/address/bitcoin/1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc


And we can use python to get that publick key hash and i explain in the first post.

The way to get the Base58 (P2PKH) from the Public Key Hash (Hash 160) simple, for example:

Code:
>>>base58.b58encode_check(binascii.unhexlify('00'+"7773d807892cb200e6a4785428294452c9e3b4b9")).decode()
'1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc'

I'm looking for a python way to get the  P2WPKH(Bech32) address from the Public Key Hash (Hash 160).

I know with that same Public Key Hash (Hash 160): 7773d807892cb200e6a4785428294452c9e3b4b9 we have this P2WPKH address:bc1qwaeaspuf9jeqpe4y0p2zs22y2ty78d9e6nvjgf... And that's what i want to get with python.
1760  Bitcoin / Development & Technical Discussion / Re: looking for coinkit or pybitcoin for running on python3 on: August 22, 2022, 11:46:46 PM
Thanks for your kind reply. Glad that you like it, too and found it interesting.

I asked because of the GIT info
Quote
This code is deprecated and should not be used
As you see in his git repository the last commits were 6-7 years ago. I am not sure if there is a more recent fork of this tool suite. Anyone can shed some light onto, please?

BTW: I got this error and didn't look further because I thought that it might be incompatible with the python3 installation on my up-to-date Ubuntu machine. Any clues how to fix that?
Code:
$ pybtctool
Quote
 File "/usr/local/bin/pybtctool", line 6
    print "pybtctool <command> <arg1> <arg2> ..."
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

pybtctool is different than pybitcoin.

If yo need pybtctools you can find them here:
https://pypi.org/project/pybtctools/
https://github.com/danvergara/pybtctools

And the error you get is because you are looking to run the python package like it it was a bash command.

The pybitcoin tools should be on:
Code:
~/.local/lib/python3.10/site-packages/pybitcoin/*
and not under
Code:
/usr/local/bin/...

It would be better if you tell us what do you want to use that tool for, maybe we can find another way to it.
Pages: « 1 ... 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 [88] 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 ... 403 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!