集成OmniCore搭建USDT錢包環境 原

sudo apt install git
sudo apt install pkg-config
git clone https://github.com/OmniLayer/omnicore.git
sudo apt install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt install libboost-all-dev
sudo apt install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt update
sudo apt install libdb4.8-dev libdb4.8++-dev
cd omnicore/
./autogen.sh
./configure
make
複製 ~/omnicore/contrib/debian/examples/bitcoin.conf 到 ~/.bitcoin
/.bitcoin沒有則新增
在bitcoin.conf增加以下:
server=1  
txindex=1 
rpcuser=r1p2c3
rpcpassword=r1p2c3f4
rpcallowip=127.0.0.1 
rpcport=8332
paytxfee=0.00001
minrelaytxfee=0.00001
datacarriersize=80
logtimestamps=1
omnidebug=tally  
omnidebug=packets
omnidebug=pending


sudo ln -s  ~/omnicore/src/omnicore-cli   /usr/bin/
sudo ln -s  ~/omnicore/src/omnicored    /usr/bin/
omnicored -regtest //啓動測試網絡
omnicore-cli "generate" 1 //挖一個區塊

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章