The European Union has reached agreement on groundbreaking markets in cryptoassets rules (MiCA) for licencing and supervision, expected to come into effect in 2024, putting the bloc at the forefront of regulating a sector that has shrunk dramatically.