A digital system that aims to close the loop on every garment has won the largest slice of an EUR1m (US$1.24m) grant backed by Swedish fashion giant H&M.