The vital dependence of peer to peer (P2P) energy trading frameworks on creative Internet of Things (IoT) has been making it more vulnerable against a wide scope of attacks and performance bottlenecks like low throughput, high latency, high CPU, memory use, etc. This hence compromises the energy exchanging information to store, share, oversee, and access. Blockchain innovation as a feasible solution, works with the rule of untrusted members. To alleviate this threat and performance issues, this paper presents a Blockchain based Confidential Consortium (CoCo) P2P energy trading system that works on the trust issues among the energy exchanging networks and limits performance parameters. It reduces the duplicate validation by creating a trusted network on nodes, where participants identities are known and controlled. A Java-script-based smart contract is sent over the Microsoft CoCo system with Proof of Elapsed Time (PoET) consensus protocol. Also, a functional model is designed for the proposed framework and the performance bench-marking has been done considering about latency, throughput, transaction rate control, success and fail transaction, CPU and memory usage, network traffic. Additionally, it is shown that PoET's performance is superior to proof of work (PoW) for multi-hosting conditions. The measured throughput and latency moving toward database speeds with more flexible, business-specific confidentiality models, network policy management through distributed governance, support for non-deterministic transactions, and reduced energy consumption. [ABSTRACT FROM AUTHOR]