If an egg "Pokemon Shiny Value" Matches to hatcher's "Trainer Shiny Value", the hatched Pokemon will be shiny :P For example my Trainer SV is "14" and if one of your eggs has the same value as Pokemon SV, if you trade me it and I hatch it, it'll be shiny :P