Inventory for multiple players (p2p)

How do I make an inventory which players can trade with each other?

  • I’m not sure if anyone asked this already, redirects are welcome.
  • Can we use Firebase as an inventory database, if so, how?
  • P2P or Server Inventory tutorials please?
  • Trading and selling is an integral part of my concept.

Thank you so much.