Blasting cap is optional.
Explosive? Match heads work. What works very well is Black Powder, which is just a mixture of different powders that you can pick up at many stores.
Pipes? Hardware stores sell them.
The fuse? You can order it in bulk online.