Spare 是世界上第一个利用革命性的新共识算法时空证明 (PoST) 和回收的加密资源的区块链,允许在现有的 Chia 地块上种植
需要 Python 3.7+。输入python3
.
git clone https://github.com/Spare-Network/spare-blockchain
cd spare-blockchain
sh install.sh
. ./activate
sh install-gui.sh
cd spare-blockchain-gui
npm install
npm run build
npm run electron &
快完成了。
sudo apt-get update
sudo apt-get upgrade -y
# Install Git
sudo apt install git -y
# Checkout the source and install
git clone https://github.com/Spare-Network/spare-blockchain
cd spare-blockchain
sh install.sh
. ./activate
# The GUI requires you have Ubuntu Desktop or a similar windowing system installed.
# You can not install and run the GUI as root
sh install-gui.sh
cd spare-blockchain-gui
npm install
npm run build
npm run electron &
cd spare-blockchain
. ./activate
spare stop -d all
deactivate
git fetch
git reset --hard FETCH_HEAD
# If you get RELEASE.dev0 then delete the package-lock.json in spare-blockchain-gui and install.sh again
git status
# git status should say \"nothing to commit, working tree clean\",
# if you have uncommitted changes, RELEASE.dev0 will be reported.
sh install.sh
. ./activate
spare init
# The GUI requires you have Ubuntu Desktop or a similar windowing system installed.
# You can not install and run the GUI as root
cd spare-blockchain-gui
git fetch
cd ..
chmod +x ./install-gui.sh
./install-gui.sh
cd spare-blockchain-gui
npm install
npm run build
npm run electron &
有时,在升级到新版本时,以前运行的进程遗留下来的流浪守护进程会导致奇怪的错误/错误。确保在安装或升级之前终止所有守护进程和备用进程。
这通常通过执行上述升级示例中的备用停止 -d all 来完成。但是使用 ps -Af | 仔细检查并没有什么坏处。grep 备用以确保没有备用进程在运行。如果在没有先运行备用停止 -d all 的情况下执行安装和备用启动,您可能必须手动终止备用守护进程
如果一切都失败了,重新启动机器并重新启动备用守护进程/进程通常可以解决问题。
sudo yum install epel-release -y
sudo yum update -y
# Compiling python 3.7 is generally required on CentOS 7.7 and newer
sudo yum install gcc openssl-devel bzip2-devel zlib-devel libffi libffi-devel -y
sudo yum install libsqlite3x-devel -y
# possible that on some RHEL based you also need to install
sudo yum groupinstall \"Development Tools\" -y
sudo yum install python3-devel gmp-devel boost-devel libsodium-devel -y
sudo yum install wget -y
sudo wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz
sudo tar -zxvf Python-3.7.7.tgz ; cd Python-3.7.7
./configure --enable-optimizations; sudo make -j$(nproc) altinstall; cd ..
# Download and install the source version
git clone https://github.com/Spare-Network/spare-blockchain.git
cd spare-blockchain
sh install.sh
. ./activate
# The GUI requires a windowing system to be installed.
# You can not install and run the GUI as root
sh install-gui.sh
cd spare-blockchain-gui
npm install
npm run build
npm run electron
sudo yum update -y
sudo yum install python3 git -y
git clone https://github.com/Spare-Network/shia-blockchain.git
cd spare-blockchain
sh install.sh
. ./activate
开源:https://github.com/Spare-Network/spare-blockchain