Hello everyone,
I'll leave here an idea that I've been developing hoping I can get opinions on the subject.
This idea tries to solve a problem that will probably appear in my country (Portugal) in the next months with the new law for betting.
The technical solution presented is based in public-key cryptography and bitcoins.
At github [1] you can read dbex.pdf. Contributions and corrections are welcome!
[1]
https://github.com/ffunenga/dbex