A growing number of households benefit from government subsidies to install renewable generation facilities such as PV panels, used to gain independence from the grid and provide cheap energy. In the Romanian electricity market, these prosumers can sell their generation surplus only at regulated prices, back to the grid. A way to increase the number of prosumers is to allow them to make higher profit by selling this surplus back into the local network. This would also be an advantage for the consumers, who could pay less for electricity exempt from network tariffs and benefit from lower prices resulting from the competition between prosumers. One way of enabling this type of trade is to use peer-to-peer contracts traded in local markets, run at microgrid (μG) level. This paper presents a new trading platform based on smart peer-to-peer (P2P) contracts for prosumers energy surplus trading in a real local microgrid. Several trading scenarios are proposed, which give the possibility to perform trading based on participants’ locations, instantaneous active power demand, maximum daily energy demand, and the principle of first come first served implemented in an anonymous blockchain trading ledger. The developed scheme is tested on a low-voltage (LV) microgrid model to check its feasibility of deployment in a real network. A comparative analysis between the proposed scenarios, regarding traded quatities and financial benefits is performed.