OrbitDB is a p2p database system. As such it does not provide support for secure and efficient smart contract development. However, it provides a crucial part of the decentralized development stack; data storage, allowing dapps to become truly decentralized. 

However, by storing more information off-chain directly with the user will reduce the need for additional functionality onchain, simplifying smart contracts, which, in turn, will reduce the attack surface area.