**Abstract: **Recent progress in AdS/CFT has provided a good understanding of how the bulk spacetime is encoded in the entanglement structure of the boundary CFT. However, little is known about how spacetime emerges directly from the bulk quantum theory. We address this question in an effective 3d quantum theory of pure gravity, which describes the high-temperature regime of a holographic CFT. This theory can be viewed as a $q$-deformation and dimensional uplift of JT gravity. Using this model, we show that the Bekenstein-Hawking entropy of a two-sided black hole equals the bulk entanglement entropy of gravitational edge modes. These edge modes transform under a quantum group, which defines the data associated to an extended topological quantum field theory Our calculation suggests an effective description of bulk microstates in terms of collective, anyonic degrees of freedom whose entanglement leads to the emergence of the bulk spacetime. Finally, we give a tentative proposal for obtaining the Ryu Takayanagi formula using the same quantum group edge modes.