With the advent of the nanosat/cubesat revolution, new opportunities have appeared to develop and launch small (∼\ts 1000 cm3), low-cost (∼\ts US\1M)experimentsinspaceinveryshorttimeframes(\sim2\tsyears).Inthefieldofhigh−energyastrophysics,inparticular,itisaconsiderablechallengetodesigninstrumentswithcompellingscienceandcompetitivecapabilitiesthatcanfitinverysmallsatellitebusessuchasacubesatplatform,andoperatethemwithverylimitedresources.HerewedescribeahardX−ray(30−−200\tskeV)experiment,LECX("LocalizadordeExploso~esCoˊsmicasdeRaiosX"−−LocatorofX−RayCosmicExplosions),thatiscapableofdetectingandlocalizingwithinafewdegreeseventslikeGamma−RayBurstsandotherexplosivephenomenaina2U−cubesatplatform,atarateof\sim{\bf 5 events year^{-1}$.} In the current gravitational wave era of astronomy, a constellation or swarm of small spacecraft carrying instruments such as LECX can be a very cost-effective way to search for electromagnetic counterparts of gravitational wave events produced by the coalescence of compact objects.