Revenue from online lottery sales will support a grant program for early childhood education and care.