The Brooklyn Nets have agreed to sign Justin Hamilton on a two-year, $6 million deal.

Hamilton spent last season in Spain with Valencia. 

Hamilton has played in the NBA with Charlotte, Miami and Minnesota.