Remove the tofu from the package and squeeze it lightly between paper towels to remove excess moisture.
Slice it into ½" cubes and pat dry with paper towels again if it is still moist.
Heat the coconut oil in a non stick skillet over medium heat and add the tofu.
Fry on all sides until light brown, about 3-4 minutes. Remove and set aside.
Add the onions and garlic to the skillet and cook 2-3 minutes, until softened.
Add the tomato and cook 1 minute.
Add the sambal, kaffir lime leaves, soy sauce, coconut sugar and bring to a simmer.
Add the tofu back in, gently toss to coat with the sauce and simmer for 3-5 minutes.
Remove from heat and serve with steamed rice, fresh cilantro and a squeeze of fresh lime juice.
Notes
Make sure you use a nonstick skillet or well seasoned wok to fry the tofu or it will stick and make a mess.
Firm tofu works best for this dish because it holds its shape and doesn't fall apart as easily as other types of tofu.
Fresh chili peppers will give your Sambal Tofu a nice kick if you want additional spice. If you can't find fresh chili peppers, you can use dried chili flakes instead.
You want to cook the tofu just enough so that it's slightly browned on the outside but still soft on the inside. Overcooking the tofu will make it tough and dry.
Sambal Tofu is traditionally served with rice, which helps to balance out the spice from the chili peppers.