That is a lengthy story.. We basically forked the Tor protocol and decentralised it. This makes it Bittorrent friendly, offer end-2-end crypto, and would scale to Internet-wide usage. We're planning to port our deployed Python Tor-stack towards Kotlin for the Superapp and Trustchain.
Specifications: https://github.com/Tribler/tribler/wiki/Hidden-Services-Spec...