The Internet of Objects (IoT) could be a new paradigm for the linked, data-exchanging nature of things and their parts through a network supported by nodes. IoT has risen to the forefront of emerging technologies in a very type of applications, including peer-to-peer networks, smart energy grids, home and building automation, vehicle-to-vehicle communication, and wearable computing devices, because of the widespread use of small devices and embedded sensor frameworks. thanks to its tremendous expansion and widespread use, it's posed security issues that may prevent it from getting used during a style of new applications. The growing number of networked gadgets creates several access points for attackers, also as security issues. due to the fragile nature of IoT applications including health, automation, and energy grids, security concerns can't be tolerated. DLT (Distributed Ledger Technology) is one such technology which will help to mitigate IoT security threats. The vulnerability of a central node, which can compromise the whole system, are often reduced by adopting a distributed ledger to eliminate the necessity for one node. Blockchain, a distributed ledger technology, has sparked plenty of interest and generated real-world value. Here we construct a distributed multi ledger construction algorithm for peer-to-peer data transaction which involves key generation for each transaction.