Skip to main content

spare-blockchain

Spare

Spare is the world’s first block chain to utilize the revolutionary new consensus algorithm Proof of Space and Time (PoST) AND recycled crypto resources, allowing it to be farmed on existing Chia plots

Python 3.7+ is required. Make sure your default python version is >=3.7 by typing python3.

Running

Windows

Spare Windows client can be downloaded from here.

MacOS build

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 &

Ubuntu/Debian

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 &

Update

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 &

Troubleshooting

Sometimes stray daemons left over from previously running processes will cause strange bugs/errors when upgrading to a new version. Make sure all daemons and spare processes are killed before installing or upgrading.

This is normally done by executing spare stop -d all from the upgrade example above. But it doesn't hurt to double check using ps -Af | grep spare to make sure there are no spare processes left running. You may have to manually kill the spare daemon if an install and spare start was performed without first running spare stop -d all

If all else fails, rebooting the machine and restarting the spare daemon/processes usually does the trick.

CentOS/Red Hat/Fedora

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

Amazon Linux 2

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


Metadata

Release files for spare-blockchain 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spare-blockchain 1.0.3
File Size Uploaded Provenance Actions
spare-blockchain-1.0.3.tar.gz 3.9 MB Without provenance Details for spare-blockchain-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spare-blockchain 1.0.3
File Interpreter ABI Platform Actions
spare_blockchain-1.0.3-py3-none-any.whl Python 3 none any Details for spare_blockchain-1.0.3-py3-none-any.whl

Total release size: 4.6 MB

Release files / spare-blockchain-1.0.3.tar.gz

Download URL spare-blockchain-1.0.3.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
97d221401089c606533b9581a11ddfdcc3d22be8a6caca30af7ad0b648d109c2
BLAKE2b-256 checksum
How to use checksums
e57de7d26062982490bc8a4cb76027f0cbfa78494aa9b347e24ad5ec4861fec8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release files / spare_blockchain-1.0.3-py3-none-any.whl

Download URL spare_blockchain-1.0.3-py3-none-any.whl
Size 631.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8a5705cc26fbff21fe9e763b24369a412a4073625a63064676b79feaaad93a7
BLAKE2b-256 checksum
How to use checksums
1841450034c61a38014e81c896770146ffe5f4c28434b6746acc175ab8be6b45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Security for spare-blockchain 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page