# ALEO 挖矿

By [leefbiant.eth](https://paragraph.com/@leefbiant) · 2022-01-16

---

程序安装地址：

[https://developer.aleo.org/testnet/getting\_started/overview](https://developer.aleo.org/testnet/getting_started/overview)

    安装程序
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    git clone https://github.com/AleoHQ/snarkOS
    cd snarkOS
    
    # Build in release mode
    $ cargo build --release
    
    
    挖矿：
    cargo run --release -- --miner aleo1ezdy8wfx7ulv5vm5p44rumhgfgjjmhxzkwt80ll8hdc322xu7czsxc04kz --trial --verbosity 2
    

接入矿池

    矿池代码下载：
    git clone https://github.com/HarukaMa/snarkOS
    
    运行挖矿：
    
    bash run-miner.sh
    
    cargo run --release -- --prover ${MINER_ADDRESS} --pool 69.10.36.174:4132 --verbosity 1

---

*Originally published on [leefbiant.eth](https://paragraph.com/@leefbiant/aleo)*
