Before you throw in the towel, you might want to try one thing. Can't hurt.
Around 2010, i decided to build my own ignition for my EC300. (Long story.) Anyway, l learned quite a bit about CDI ignitions, and from that, i offer something inexpensive to try.
For $25US, you can buy a CDI for a Honda CRF 50. Please see
https://www.crf50.com/trail-bikes-cd...rf50-xr50.html
It wires up just like a "normal" cdi found on a two-stroke dirt bike. The advance curve might be a bit off, but at least you can make your bike run. it just might run well enough that you'll keep your bike.
I've attached the honda 50 wiring diagram which you can use as a reference.
Please let me know if you have questions.
UPDATE: I am curious, so i am ordering one of these:
https://www.ebay.com/itm/Performance....c100677.m4598
I will get this running on my EC300 (shelter in place project) and let you know how it goes. The documentation here seems a bit better.