The species I have kept is Dasypeltis scabra. Many people have successfully kept this species using many different methods. However, this how I have kept and bred this species. They are not an expensive species to feed. The male has rarely fed on his own. I feed him using a #18 gauge feeding needle and hatching quail eggs and regular chicken eggs. The female came to me just large enough to feed on hatching quail eggs and will sometimes eat lots and othertimes eat very little. When I see she is eating often, I offer lots of eggs and let her cycle herself. For housing, I use a sweater box with a tight fighting lid and many ventilation holes melted into the lid with a soldering gun along with a few holes along the sides. For bedding I use aspen, which they sometimes borrow in, and a hide box on both the warm and cold ends of the tub. A small box with eco earth serves as a third and humid hide. I also put in a few fake vines for decoration and additional hiding places. For thermoregulation, a piece of heat tape covers about 20% of the floor space and is set to the upper 80s. A small water bowl is always present. I incubate the eggs in the low 80s, though I am sure mid 80s would be fine to, using a hovabator and small boxes with 1:1 vermiculite/water.
The only downside to these snakes is the hatchlings need finch eggs to get started. These eggs weight between .6 and 9. grams and when placed in a syringe are somewhere between .05 and .1ml of fluid. Small mom and pop shops with finches may have eggs they can keep for you and sell if you ask. Keeping some finches yourself is also an option, though you'll want more than one female to provide for a clutch. The final alternative is to use a feeding needle and a syringe to tube feed them. Use the long side of the needing needle to gently pry the mouth open and then insert the tube (making sure to avoid it going into the glottis). I would caution against feeding too much at any one time, I would certainly not exceed the size of a finch egg (mentioned above).
As a final note, I no longer breed egg eating snakes. People are reluctant to want to tube feed and finch eggs are too hard for most people to obtain. After several clutches, it became impossible to find new hobbyists to sell them to and finally they even became difficult to give away. I do not recommend breeding egg eating snakes in the United States for this reason, but they are interesting snakes to keep.
Egg Eating Snakes in Captivity