Exhibit 23.4

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We have issued our report dated July 15, 2016, with respect to the balance sheet of Mammoth Energy Services, Inc. contained in the Registration Statement and Prospectus. We consent to the use of the aforementioned report in the Registration Statement and Prospectus, and to the use of our name as it appears under the caption “Experts.”

/s/ GRANT THORNTON LLP

Oklahoma City, Oklahoma

October 3, 2016