Flux mining