The word miner typically refers to one whose profession is to remove minerals from the earth.
Miner may also refer to one who uses computer equipment to run processes designed to obtain units of a cryptocurrency.
There are no categorical antonyms for this word. However, one could loosely use the names of any unrelated profession as antonyms, e.g., driver, teacher, cashier.