A farmer can obtain carbon credits by participating in a voluntary carbon market and fulfilling carbon-reduction requirements. Farmers reap financial rewards for using smart farming systems when market emitters buy their carbon credits to reduce their emissions.
https://www.sourcetrace.com/blog/carbon-farming-in-africa-experience-so-far-and-opportunities-ahead/