Place the bacon rashers under the grill.
Meanwhile peel and grate the sweet potatoes and slice the onion thinly, combining together evenly in a large mixing bowl. At this point you can squeeze out and discard the excess moisture by placing the vegetables in a clean tea towel or strong kitchen paper and squeezing out the water.
Add the coconut flour and eggs to the sweet potato and onion shreds.
Slice the grilled bacon into small pieces and add that to the sweet potato mixture, mixing so it is dispersed evenly.
Mix in very well with your hands squeezing so it all binds together.
Heat a tablespoon of ghee on a low-medium heat in a large frying pan.
Scoop up half a handful of the rosti mixture and squeeze into a ball with your hands. Drop into the frying pan and flatten slightly into a circle. Repeat so you cook a few rostis at a time. You will probably need to cook the rostis in batches of 4 depending on how big your saucepan is.
Fry on a gentle heat for about 4 minutes until the bottom of the rostis are lightly golden. Then flip over with a spatula and fry on the other side for another 3 minutes until also lightly golden. Remove and place onto kitchen paper to remove the excess grease then serve or keep warm in the oven until they are all ready.