MIN:NBAI挖矿说明(中文版)

智云链Orion云平台

Orion云平台基于云计算的理念,利用全网闲置资源形成去中心化的分布式云计算基础网络,集结全球矿工,激活全球闲散的AI算力资源,将浪费资源的哈希计算力转化为高效率的AI算力,颠覆了现有中心化云计算的价值分配方式,为企业及高校的用户提供廉价AI算力,极大程度减低了云计算的使用成本,算力费用仅为使用亚马逊等公司GPU算力的30%。

Orion云平台由以下几部分组成:

NebulaAI区块链

NebulaAI钱包

Aegis矿工池

Orion企业云中心(即将上线)

社区开发者中心(即将上线)

Orion支付网关(即将上线)

OrionAIWorker安装包(即将上线)

Aegis矿工池

智云链Aegis矿工池已于北美东部时间2018年10月12日正式上线。

访问唯一网址:

http://aegispool.org,即可下载挖矿软件。

挖矿要求你需要注册一个NBAI钱包和一台有4+GBRAM的GPU矿机。

温馨提示:

使用矿池需要您承担风险,我们无法赔偿任何损失。

更多介绍详见Ageis矿工池网站及NBAI微信公众号官方发布。

挖矿说明原文链接及社区挖矿软件下载

https://github.com/nebulaai/nbai-node/wiki/Mining

挖矿说明

用Gnbai进行CPU挖矿

AtFrontier,thefirstreleaseofNBAI,you'lljustneeda)aGPUandb)anNBAIclient,gnbai.CPUminingwillbepossiblebuttooinefficienttoholdanyvalue.

在Frontier,NBAI发布的第一个版本,你只需要GPU和NBAI客户端——gnbai。也可以进行CPU挖矿,但效率太低,无法保持任何价值。

Atthemoment,gnbaionlyincludesaCPUminer,andtheteamistestingaGPUminerbranch,butthiswon'tbepartofFrontier.

目前,gnbai只包括一个CPUminer,团队正在测试GPUiminer分支,但这将不会是Frontier的一部分。

TheC++implementationofNBAIalsooffersaGPUminer,bothaspartofEth(itsCLI),AlethZero(itsGUI)andEthMiner(thestandaloneminer).

NBAI的C++implementation还提供GPUminer,同时作为Eth、AlethZero和EthMiner的一部分。

Coinbase Custody 新增支持 DAR、ABT 等14 种代币的存取款:6月14日消息,Coinbase Custody 新增支持 PLU、UFT、AVT、AST、ABT、CVP、DAR、HAPI、ELON、CRPT、EDDA、TITAN、RFUEL、SWFTC 共 14 种代币的存取款。[2022/6/14 4:24:24]

NOTE:Ensureyourblockchainisfullysynchronisedwiththemainchainbeforestartingtomine,otherwiseyouwillnotbeminingonthemainchain.

WhenyoustartupyourNBAInodewithgnbaiitisnotminingbydefault.Tostartitinminingmode,youusethe--minecommandlineoption.The-minerthreadsparametercanbeusedtosetthenumberparallelminingthreads(defaultingtothetotalnumberofprocessorcores).

注意:在开始挖矿之前,确保您的区块链与主链完全同步,否则您将不会在主链上进行挖矿。当您使用gnbai启动您的NBAI节点时,默认情况下不会进行挖矿,请使用--mine命令行选项启动挖矿模式。minerthreads参数可用于设置并行挖矿线程的数量。

gnbai--mine--minerthreads=4

YoucanalsostartandstopCPUminingatruntimeusingtheconsole.miner.starttakesanoptionalparameterforthenumberofminerthreads.

您还可以使用控制台在运行时启动和停止CPU挖矿。miner.start为miner线程的数量选择一个可选参数:

>miner.start(8)

true

>miner.stop()

true

Notethatminingforrealetheronlymakessenseifyouareinsyncwiththenetwork(sinceyoumineontopoftheconsensusblock).Thereforetheethblockchaindownloader/synchroniserwilldelaymininguntilsyncingiscomplete,andafterthatminingautomaticallystartsunlessyoucancelyourintentionwithminer.stop().

请注意,如果您与网络同步,仅对真正的以太坊区块链进行挖矿才有意义。因此,eth区块链下载程序/同步程序将延迟挖矿,直到同步完成,之后挖矿将自动启动,除非您使用miner.stop终止。

Coinbase:美国更多州的用户可以使用比特币作为抵押品借入现金:金色财经报道,据官方消息,加密货币交易所Coinbase增加了可以使用比特币作为抵押品借入现金的州的数量。用户可借入相当于其账户中比特币价值的40%的现金。[2021/6/10 23:26:00]

Inordertoearnetheryoumusthaveyournbaibase(orcoinbase)addressset.Thisnbaibasedefaultstoyourprimaryaccount.Ifyoudon'thaveannbaibaseaddress,thengnbai--minewillnotstartup.

Youcansetyournbaibaseonthecommandline:

为了获得ether,您必须设置您的nbaibase地址。此nbaibase默认为您的主帐户。如果你没有nbaibase地址,那么gnbai--mine将无法启动。

您可以在命令行上设置nbaibase:

gnbai--nbaibase1--mine2>>gnbai.log//1isindex:secondaccountbycreationorderor

gnbai--nbaibase'0xa4d8e9cae4d04b093aac82e6cd355b6b963fb7ff'--mine2>>gnbai.log

Youcanresetyournbaibaseontheconsoletoo:

您也可以在控制台上重置nbaibase:

miner.setnbaibase(eth.accounts)

Notethatyournbaibasedoesnotneedtobeanaddressofalocalaccount,justanexistingone.

ThereisanoptiontoaddextraData(32bytesonly)toyourminedblocks.Byconventionthisisinterpretedasaunicodestring,soyoucansetyourshortvanitytag.

请注意,您的nbaibase不需要是本地帐户的地址,只需要是现有帐户的地址。

可以选择向已挖掘的块添加额外数据。按照惯例,这被解释为unicode字符串,因此您可以设置简短的标记。

miner.setExtra("0")

Seealsothisproposal

Youcancheckyourhashratewithminer.hashrate,theresultisinH/s(Hashoperationspersecond).

另外,您可以使用miner.hashrate检查哈希值,结果是H/s。

>miner.hashrate

712000

Messari前主管:Uniswap日交易量占Coinbase交易量的三分之一:7月31日早间,Messari前主管、股票及加密货币交易员Qiao Wang发推称,Uniswap过去24小时内交易额为1.26亿美元,这个数据相当于Coinbase交易量的三分之一,Kraken交易量的二分之一。此外,这个数字也超过了Gemini、Polo和Binance US交易量总和。而其中近一半的交易量是由算法稳定币Ampleforth带来的。据Uniswap公布的数据,24小时内,AMPL总交易量超过6千万美金,日增长量为44%,产生的交易手续费近20万美元。[2020/7/31]

Afteryousuccessfullyminedsomeblocks,youcanchecktheetherbalanceofyournbaibaseaccount.Nowassumingyournbaibaseisalocalaccount:

成功进行一些挖矿后,您可以检查nbaibase帐户的以太坊余额。现在假设你的nbaibase是一个本地帐户:

eth.getBalance(eth.coinbase).toNumber();

'34698870000000'

Inordertospendyourearningsyouwillneedtohavethisaccountunlocked.

要花费您的收入,您需要解锁此帐户。

personal.unlockAccount(eth.coinbase)Passwordtrue

Youcancheckwhichblocksareminedbyaparticularminer(address)withthefollowingcodesnippetontheconsole:

您可以使用控制台上的以下代码,检查特定矿工挖了哪些块:

functionminedBlocks(lastn,addr){

addrs=;

if(!addr){

addr=eth.coinbase

}

limit=eth.blockNumber-lastn

for(i=eth.blockNumber;i>=limit;i--){

if(eth.getBlock(i).miner==addr){

addrs.push(i)

}

}

returnaddrs

}

//scansthelast1000blocksandreturnstheblocknumbersofblocksminedbyyourcoinbase

//(morepreciselyblockstheminingrewardforwhichissenttoyourcoinbase).

Coinbase已上线MKR:金色财经报道,据官方公告消息,加密交易所Coinbase上线Maker(MKR),用户可交易、发送、接收或存储MKR。[2020/6/12]

minedBlocks(1000,eth.coinbase);

//

Notethatitwillhappenoftenthatyoufindablockyetitnevermakesittothecanonicalchain.Thismeanswhenyoulocallyincludeyourminedblock,thecurrentstatewillshowtheminingrewardcreditedtoyouraccount,however,afterawhile,thebetterchainisdiscoveredandweswitchtoachaininwhichyourblockisnotincludedandthereforenominingrewardiscredited.Thereforeitisquitepossiblethatasaminermonitoringtheircoinbasebalancewillfindthatitmayfluctuatequiteabit.

请注意,经常会发现一个块,但它从未进入规范链。这意味着当您在本地包含已开采的块时,当前状态将显示记入您帐户的挖矿奖励,但是,一段时间更新后,我们会进行切换,因此没有采矿奖励被记入贷方。因此,作为一名监测其余额的矿工,很有可能会发现它可能会波动很大。

Thelogsshowlocallyminedblocksconfirmedafter5blocks.Atthemomentyoumayfinditeasierandfastertogeneratethelistofyourminedblocksfromtheselogs.

Miningsuccessdependsonthesetblockdifficulty.Blockdifficultydynamicallyadjustseachblockinordertoregulatethenetworkhashingpowertoproducea12secondblocktime.Yourchancesoffindingablockthereforefollowsfromyourhashraterelativetodifficulty.Thetimeyouneedtowaityouareexpectedtofindablockcanbeestimatedwiththefollowingcode。

这些日志会在本地挖矿产出的区块得到五个确认之后进行记录。在这个时候你可以方便而快速的从这些日志中生成一个你自己挖出来的区块的列表。

挖矿的成功取决于区块难度。区块难度会根据全网哈希算力随着每一个区块动态调整来保证每12秒可以产生一个区块。您挖到区块的机会取决于你的哈希算力和全网区块难度的相对性。您可以通过以下代码来估算您挖到下一个区块可能需要等待的时间。

建立Ethminer:Ubuntu16.04

动态 | Coinbase等为区块链创业公司O(1) Labs投资1500万美元:据coindesk报道,Accomplice、Coinbase Ventures、Paradigm和General Catalyst正在为区块链创业公司O(1) Labs投资1500万美元。据悉,Coda protocol是O(1) Labs去年5月宣布的第一个项目。通过Coda,O(1) Labs一直在构建一个允许每个用户参与共识的区块链。[2019/4/5]

或16.10(Xenial),Ubuntu17.04(Zesty)等

First,installtherequireddriversforyourvideocard:

ForNVidia,use:

首先,安装显卡所需的驱动程序:

对于NVidia,请使用:

sudoaptinstallcuda-9-0

vim.bashrc

exportPATH=/usr/local/cuda-9.0/bin:$PATH

exportLD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:$LD_LIBRARY_PATH

ForAMD,downloadthelatestdivermanuallyand/oruse

对于AMD,请手动下载最新的驱动和/或使用:

sudoapt-getinstallopencl-amdgpu-pro-icd

First,makesuretherequiredpackagesonyoursystemexist.

首先,确保系统上存在所需的软件包。

apt-getinstallcmakegitmesa-common-dev

Themesa-common-devfixesmostbuildfailures.NowdownloadthelatestversionfromGitHubintoanewfolder:

mesa-common-dev修复了大多数构建失败。现在从GitHub下载最新版本到一个新文件夹:

mkdir~/ethminer;

cd~/ethminer

gitclonehttps://github.com/ethereum-mining/ethminer.

Finally,buildit(command'stakesometime,sobepatient):

ForAMD,use:

最后,构建它:

对于AMD,请使用:

gitsubmoduleupdate--init--recursive

mkdirbuild;

cdbuild

cmake..

cmake--build.

ForNVidia,CUDAneedstobemanuallyenabled:

对于NVidia,需要手动启用CUDA:

gitsubmoduleupdate--init--recursive

mkdirbuild

cdbuild

sudocmake..-DETHASHCUDA=ON-DETHASHCL=OFF

sudocmake--build.

Optionallyyoucaninstallasanexecutable:

您可以选择安装为可执行文件:

sudomakeinstall

单人挖矿

Generateyourwallet生成您自己的钱包:

http://wallet.nbai.io

Pleaserememberyourpublickeyandsaveyourkeystoresafely

提醒:请务必记住您的钱包地址,下载并安全保存秘钥库。

Runninganodelocal在本地运行节点:

Downloadnbainodehere:

下载NBAI节点:

https://github.com/nebulaai/nbai-node/releases

Inwindowswindows版本

Downloadgnbai_windows_10.exe

下载gnbai_windows_10.exe

opencmd

打开cmd

c:\user\nbai>"gnbai_windows_10.exe"-rpcaddr127.0.0.1--rpcport8081--rpc--mine--nbaibase

Downloadetherminer

下载etherminer

https://github.com/ethereum-mining/ethminer/releases/download/v0.16.1/ethminer-0.16.1-windows-amd64.zip

unzipthefilegettheethminerunderbin

opencmdcdtothebinfolder

解压缩该文件,在bin下获取编辑器

打开一个新的cmd窗口,cd到

c:\user\\bin

c:\user\nbai\bin>ethminer.exehttp://127.0.0.1:8081

Ubuntu16.04

Startalocalhost

启动本地主机

wget

https://github.com/nebulaai/nbai-node/releases/download/v0.0.1/gnbai_ubuntu_16.04LTS

chmod755gnbai_ubuntu_16.04LTS

./gnbai_ubuntu_16.04LTS-rpcaddr127.0.0.1--rpcport8081--rpc--mine--nbaibase

Runethminerinsolomode在单人模式下运行ethminer

Downloadetherminermostrecentreleasehere

在这里下载etherminer最新版本

https://github.com/ethereum-mining/ethminer/releases/tag/v0.16.1

./ethminer-U-Phttp://127.0.0.1:8081

在矿工池挖矿

以http://aegispool.org为例

Generateyourwallet创建一个你自己的钱包

http://wallet.nbai.io

Pleaserememberyourpublickeyandsaveyourkeystoresafely

请记住你的公钥并安全保存你的密钥库

Downloadetherminermostrecentreleasehere

在此下载etherminer最新版本

https://github.com/ethereum-mining/ethminer/releases/tag/v0.16.1

Linux:

./ethminer-U-P--farm-recheck200stratum1+tcp://@aegispool.org:8008

Checkyourminingaccount

检查你的挖矿账户

http://aegispool.org/#/account/

&长按二维码关注我们

NBAI是基于人工智能和区块链技术的解决方案提供商。作为第三代的人工智能区块链,致力于解决人类走向人工智能过程中遇到的计算能力需求,加快资源的跨地区流转以及更便捷的开发集成去中心化的人工智能应用。

NebulaAI创办于人工智能之都加拿大蒙特利尔,在厦门已经成立AI科学实验室,未来将在在美国硅谷建立AI科学实验室。世界人工智能之都蒙特利尔如今已在AI领域已经形成集群优势。谷歌、微软以及Facebook等多家巨头都相继在蒙特利尔设立人工智能实验室,蒙特利尔被称为人工智能领域的新硅谷,走在了世界前列。

目前公司设有BlockChain、AI、Platform,Marketing等部门,拥有各项技术的高端人才,另外还设有培训学校和全球志愿者招募计划,源源不断地为团队输送后备人才储备。

了解更多关于NBAI的信息

官网:https://www.nebula-ai.com/

FoundationWebsite

http://nbai.io/

Blog:

http://blog.nbai.io/

NBAI全球中文社群

中文电报群:https://t.me/NebulaAIChinese

微信公众平台:NebulaAI区块链

微信群:粉丝组/技术讨论群/AI用户群等

官方微博:Nebula-AI

QQ群:NBAI智云链中国官方群740133697

NBAI全球英文社群

Telegram:https://t.me/NebulaAICommunity

Twitter:https://twitter.com/nebula_ai

Youtube:https://www.youtube.com/channel/UCWltsUAyiser4-_eLLGmpdg

LinkedIn:https://www.linkedin.com/company/nebula-ai/

Medium:https://medium.com/@nebulaai

Github:https://github.com/nebulaai

想加入官网微信群请添加小助手微信号

郑重声明: 本文版权归原作者所有, 转载文章仅为传播更多信息之目的, 如作者信息标记有误, 请第一时间联系我们修改或删除, 多谢。

地球链

[0:0ms0-0:489ms