A person who, at the instance of the owner, performs work in, on, or about a mine, or mining claim, oil, gas, or other well, in opening up, developing, sinking, drilling, drifting, stoping, mucking, stripping, shoveling, mining, hoisting, firing, cooking, teaming, or performs any other class or kind of work necessary or convenient to the development, operation, working, or mining of the claim or well; or who performs work tending to or assisting in the development, extraction, separation, or reduction to a commercial value of the minerals; or who performs work on a water right, ditch, flume, pipe line, tramway, tram, road, or trail, used in connection with the opening up, or to facilitate the opening up, operation, or development of the claim or well, or the extraction of the minerals, has a lien on the mine or mining claim, oil, gas, or other claim or well as security for the payment of the work.