Peer-to-peer (P2P) trading is a transaction of buying and selling tokens directly between users. P2P…