Beam step by step miner guide on Ubuntu[Chinese/中文版]


#1

Beam GPU挖矿教程之Ubuntu
作者:链行家

注意
测试版本为Beam Mainnet 1.0.3976
操作系统Ubuntu 18.04
GPU挖矿模式

  1. 从beam下载beam-wallet-cli, beam-node, beam-opencl-miner

    https://www.beam.mw/downloads
    
  2. 新建目录beam, 解压所有文件到beam目录

    tar -xzvf <filenametoextract>
    
  3. 安装opencl支持包

    sudo apt install ocl-icd-opencl-dev
    
  4. 初始化钱包并监听钱包
    初始化钱包并记录钱包信息

    ./beam-wallet —command init
    

    创建miner subkey

    ./beam-wallet —command export_miner_key —subkey=1
    

    创建owner key

    ./beam-wallet —command export_owner_key
    

    监听beam钱包

    ./beam-wallet —command listen -n 127.0.0.1:10000
    
  5. 在beam目录下创建SSL证书的密钥对供stratum服务使用

    openssl req -newkey rsa:2048 -nodes -keyout stratum.key -x509 -days 365 -out stratum.crt
    

    新建文件stratum.api.keys并渐入一行随意字符串 (不能有空格)

    vi stratum.api.keys
    

    (如写入: 88888888)

  6. 修改beam-node.cfg以配置beam节点

    Port=10000
    peer=eu-node01.mainnet.beam.mw:8100
    peer=eu-node02.mainnet.beam.mw:8100
    peer=eu-node03.mainnet.beam.mw:8100
    peer=eu-node04.mainnet.beam.mw:8100
    peer=us-node01.mainnet.beam.mw:8100
    peer=us-node02.mainnet.beam.mw:8100
    peer=us-node03.mainnet.beam.mw:8100
    peer=us-node04.mainnet.beam.mw:8100
    peer=ap-node01.mainnet.beam.mw:8100
    peer=ap-node02.mainnet.beam.mw:8100
    peer=ap-node03.mainnet.beam.mw:8100
    peer=ap-node04.mainnet.beam.mw:8100
    stratum_port=13333
    stratum_secrets_path=.
    key_owner=<粘贴前面生成的owner key>
    key_mine=<粘贴前面生成的miner subkey>
    pass=<你的钱包密码>
    
  7. 运行beam节点

    ./beam-node
    
  8. 运行beamMiner

    ./beam-opencl-miner  —server  127.0.0.1:13333 —key 88888888
    
  9. 查看钱包余额

    ./beamwallet —command info -n 127.0.0.1:10000
    

    挖矿愉快.

以下地址可接受您的Beam捐赠(永久地址):
8fcc907a4ff3afb7840932291597f4aac42de10c031aa6b35a60caca22ea5540