Digitizing supply chains to lift farmers out of poverty