I’ve never understood why tickets can’t have your name on them, with ID checked at the venue. That’d stop scalping.
Personally I wish tickets were just bearer bonds. If you have the paper ticket in your hand, you get in, all else be damned.
Then to solve scalping or bots, try to invent solutions that offer tickets to verified long-time fans / supporters first, then use a pre-registered (not day-of) lottery system to allow general purchases.