A proposal for a nanosatellite for cosmic ray detection