Crack the eggs into 2 ramekins or a small shallow bowl.
Heat an 8-inch non-stick pan or a cast iron skillet over medium heat. Add the butter and swirl the pan until the butter melts and covers the entire base of the pan.
Once the butter starts to foam, add the eggs to the pan. Lift the handle of the pan so the eggs slide a little to one side. This keeps the whites from spreading out too thinly. Just hold it there for 10 seconds.
Set the pan flat and cook the eggs until the whites just start to set, approximately 2 minutes.
Jiggle the pan to make sure the eggs aren’t sticking. Season with a little kosher salt and a grind or two of pepper. Carefully flip the eggs over and cook for another 15 seconds.
Flip the eggs back over so that the yolk faces up. Slide the eggs onto a serving platter and separate them with a sharp knife if serving 2 people.
Serve the eggs with toast for dunking into the yolks.