I am now a full-time student, but I took some time off of my degree and worked full-time as a software engineer at a U.S. tech company for a low-100k salary.
I was contacted by an executive at the company about consulting for him in a technical role, and I am not sure how much I should charge for this service. He hinted that this number could be as high as I wanted because of the value I could bring.
What's the best way of determining how much to ask for? Should I ask to be paid per hour, project, or, say, the entire summer? Are there any good data sources for figuring out the national or state distribution for equivalent work?