The new legislation also makes mail voting more complicated, adding a requirement that voters’ signatures be verified and a “two-factor” authentication process that would be unique to North Carolina and has left voting experts confused as to how it would work.

As in other states, far more Democrats in North Carolina now vote by mail, with Mr. Trump and his allies instilling a widespread Republican distrust of the practice. In the 2022 midterm elections, more than 157,000 people in the state voted by mail. Forty-five percent were Democrats, and 35 percent were independents.

As Republican lawmakers wrote the legislation, they received outside help.

Three G.O.P. lawmakers, including Mr. Daniel, met in May with Ms. Mitchell, the Trump-allied lawyer, and Jim Womack, a leader of the North Carolina Election Integrity Teams. That organization is part of a national network of right-wing election activists coordinated in part by Ms. Mitchell, who declined to comment.

The two activists pressed the lawmakers on their laundry list of changes to election laws, including measures on same-day registration, absentee ballots and maintenance of voter lists, according to a video in which Mr. Womack summarized the meeting. The video was obtained by Documented, a liberal investigative group, and shared with The New York Times.

“Same-day registration, we’re all in agreement, violent agreement, that same-day registration will now be a provisional ballot,” Mr. Womack said in the video of the meeting. “So if you’re going to same-day register, it’s going to give you at least a little bit of time, maybe 7 to 10 days, to have a chance at researching and challenging that voter under the law as opposed to where it is now, where it’s less than 24 hours’ opportunity to do that.”

Mr. Daniel declined to answer questions about the role Ms. Mitchell and Mr. Womack played in drafting the bills.