Keith Stanfield will co-star with Nat Wolff in Adam Wingard’s adaptation of “Death Note” for Netflix.

Margaret Qualley is also on board to star in the film with Wingard writing and directing. TheWrap first reported that Netflix was eyeing Stanfield for a role and sources now reveal that the actor has closed a deal to join the movie.

Netflix recently acquired the project, after Warner Bros.’ rights expired, and plans to start shooting this summer.

Based on the Japanese Manga series, Wolff plays a student who discovers a supernatural notebook that allows him to kill anyone simply by writing the victim’s name. A cat-and-mouse game ensues when he’s tracked by a reclusive police officer.

Jeremy Slater (“Fantastic Four”) wrote the most recent draft of the script. Shane Black was previously attached to direct.

Roy Lee, Dan Lin, Jason Hoffs and Masi Oka are producing the project, which was previously adapted as a movie in its home country of Japan, where it spawned a sequel. Doug Davison and Brian Witten are exec producing.

Stanfield had a breakout performance opposite Brie Larson in “Short Term 12” and most recently delivered a scene-stealing performance as Snoop Dogg in “Straight Outta Compton.” He can be seen next in Oliver Stone’s “Snowden.”

He is repped by CAA, Stark Management and Ginsburg Daniels LLP.