pyasic

Hiveon Backend

Bases: BMMiner

Source code in pyasic/miners/backends/hiveon.py
22
23
24
25
26
27
28
29
class Hiveon(BMMiner):
    def __init__(self, ip: str, api_ver: str = "0.0.0") -> None:
        super().__init__(ip, api_ver)
        # static data
        self.api_type = "Hiveon"

    async def get_model(self) -> Optional[str]:
        return self.model + " (Hiveon)"