In addition to Dharman's answer: this question is focused...or, at least, not so clearly unfocused as to warrant unilateral moderator closure (though it could use some editing).
I don't know much about the intricacies of cryptocurrency1, but my understanding is that "private key, wallet and address" are all more or less the same thing - you generate a private key, which has a derived public key, and the address is derived from the hash of the public key, and the balance stored at that address is the wallet. So these are really a single task, which turns out to be 4 lines of code, as discovered by Abdul Aziz Barkat in the comments.
The above explanation of why it's focused may be inaccurate, because, again, I'm not a subject matter expert. But that's also sort of the point: when you're asking moderators to close a question with a bounty, your flag is pretty unlikely to be handled by someone who's an expert on the subject matter. There are quite a lot of topics discussed here, and while we're experts on some, there aren't enough of us to cover everything—and which one of us you get is somewhat random.
Basically, if you're flagging a bountied question for moderator closure, please make sure it's obvious.
1 Web3 is going just great being of particular relevance to why.
Without a bounty on it this question would probably have been closed as needing more focus.
flag this bounty
option.