Gambling system on blockchain