![blockchain wallet sign in blockchain wallet sign in](https://www.blockchain.com/static/img/wallet/app/onthego.png)
![blockchain wallet sign in blockchain wallet sign in](https://i.ytimg.com/vi/Rf8cp3GrfYA/maxresdefault.jpg)
The first one that I might think of, is that if we generate a new blockchain wallet that signs rewards for miners, each peer would create a different wallet, so wouldn't this lead to many "ghosts" wallets in the chain, that spits out rewards tokens from nowhere? Is this supposed to happen?įor what I think is definitively more straightforward to use the fee amount to reward the miner, but this doesn't solve my doubts at all. Wouldn't a client generate a new wallet for "his" blockchain each time it goes back online? If so, wouldn't this create a mess on the transactions signed on the chain? Since each miner (therefore peer) signing its own reward would use a different blockchain wallet than the other peers? Wouldn't this lead to any problems? The guide that I was following was using the second approach, and was generating a blockchain wallet each time the program was executed on a client. If I got it right, the miner creates a transaction signed somehow by the chain using the fee in the outputs field, or by asking the chain itself to generate and sign a special reward transaction for that miner. Since the user's wallet signs the outputs field of the transaction, this can't be changed anymore without being signed again by the same private key that belongs to the public key contained in the input field, how can I reward the miners? So my transactions has basically three fields: input, outputs and id. But I've came to a point where I'm pretty confused about the blockchain's wallet itself.įor what I've learned so far, each transaction has to be signed by a wallet. So just for education purposes I've decided to build my own blockchain following more or less the bitcoin principles (ECC keypair generation using the secpbk1 curve, SHA256 as hashing algo, dynamic diff based on the timestamp of the previous block, p2p connectivity etc.). But I'm very noobish in this whole crypto world, and I'm terribly fascinated about its technology. Don't kill me if I'm about to ask something stupid.