Stars Generally have large masses which have great gravitational pull.

So when a star explodes Could it generate Dark energy thus increasing the expansion of the universe?