Harmony aims to strike a happy compromise between security, scalability and decentralization using a mechanism based on randomness and sharding.