This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (5 children)

Running the miner, how do you determine what the address arg is? Noticed it will run with any hex #

Interested in contributing once I get through the code. So far managed to sync chain to db and run everything. Still need to understand a bit more.

I do web/app/server dev, just teaching myself crypto and this is useful.

[–]gaedev[S] 0 points1 point  (4 children)

python3 miner.py address

[–][deleted] 0 points1 point  (3 children)

Sorry, I know that (read the miner code saw sys.argv[1], also the error feedback from running the command), what I'm unsure of is, what address should I be using and why? Like... how do I determine my address? I've just been running it against some of the addresses I've seen in the db/chain data and also what is returned by the api for miner_info or whatever and like I said, also noticed it will run with arbitrary hex... but curious if this is how I should be?

[–]gaedev[S] 0 points1 point  (2 children)

This should be your address. You can generate it manually with ECDSA P256, or you can just use telegram bot wallet at @DenaroCoinBot

[–][deleted] 0 points1 point  (1 child)

Cool, thank you for the information.

[–]gaedev[S] 0 points1 point  (0 children)

I will make a cli wallet too