Chia build script for FreeBSD

This page summarizes the projects mentioned and recommended in the original post on /r/chia

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • chia-blockchain

    Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)

  • #!/bin/sh PYTHON=python3.8 #***************************************************************** # Dependencies adapted from # https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install # # Either install these from packages or ports # # lang/gcc9 lang/gcc devel/gmake devel/cmake lang/rust # shells/bash www/node www/npm devel/git security/openssl # devel/py-maturin devel/py-virtualenv devel/py-pip # devel/py-setuptools devel/py-wheel databases/py-sqlite3 devel/py-cffi # # Usage: # ./build_chia $version # so for version 1.3.1 you would run "./build_chia 1.3.1" # when finished you should have chia a 1.3.1 folder in the chia_builds # directory. Activate the virtual environment with # ". chia_builds/$version/venv/bin/activate" and you are good to go. # #***************************************************************** BASEDIR=`dirname "$0"` GET_CHIA_RS_PYTHON=" from setup import dependencies chia_rs = [x for x in dependencies if x.startswith('chia_rs==') or x.startswith('clvm_rs==')] print(chia_rs[0]) " GET_CLVM_TOOLS_RS_PYTHON=" from setup import dependencies clvm_tools_rs = [x for x in dependencies if x.startswith('clvm-tools-rs==')] print(clvm_tools_rs[0]) " mkdir $BASEDIR/chia_builds/$1 cd $BASEDIR/chia_builds/$1 git clone -b main https://github.com/Chia-Network/chia-blockchain.git $PYTHON -m venv $BASEDIR/chia_builds/$1/venv . $BASEDIR/chia_builds/$1/venv/bin/activate pip install --upgrade pip cd $BASEDIR/chia_builds/$1/chia-blockchain git checkout tags/$1 CHIA_RS_STRING=`echo "$GET_CHIA_RS_PYTHON" | python` CHIA_RS_LIBRARY=${CHIA_RS_STRING%%==*} CHIA_RS_VERSION=${CHIA_RS_STRING##*==} CLVM_TOOLS_RS=`echo "$GET_CLVM_TOOLS_RS_PYTHON" | python` echo Detected CHIA_RS type: $CHIA_RS_LIBRARY version $CHIA_RS_VERSION if [ "$CHIA_RS_LIBRARY" = "clvm_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/clvm_rs.git elif [ "$CHIA_RS_LIBRARY" = "chia_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/chia_rs.git fi cd $BASEDIR/chia_builds/$1 git clone --branch $CHIA_RS_VERSION $CHIA_RS_REPO cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY git checkout tags/$CHIA_RS_VERSION cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY/wheel maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs cd $BASEDIR/chia_builds/$1 if [ ! -z "$CLVM_TOOLS_RS" ]; then git clone -b base https://github.com/Chia-Network/clvm_tools_rs.git cd $BASEDIR/chia_builds/$1/clvm_tools_rs git checkout tags/${CLVM_TOOLS_RS##*==} maturin develop --release fi cd $BASEDIR/chia_builds/$1/chia-blockchain sh ./install.sh

  • clvm_rs

    Rust implementation of clvm

  • #!/bin/sh PYTHON=python3.8 #***************************************************************** # Dependencies adapted from # https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install # # Either install these from packages or ports # # lang/gcc9 lang/gcc devel/gmake devel/cmake lang/rust # shells/bash www/node www/npm devel/git security/openssl # devel/py-maturin devel/py-virtualenv devel/py-pip # devel/py-setuptools devel/py-wheel databases/py-sqlite3 devel/py-cffi # # Usage: # ./build_chia $version # so for version 1.3.1 you would run "./build_chia 1.3.1" # when finished you should have chia a 1.3.1 folder in the chia_builds # directory. Activate the virtual environment with # ". chia_builds/$version/venv/bin/activate" and you are good to go. # #***************************************************************** BASEDIR=`dirname "$0"` GET_CHIA_RS_PYTHON=" from setup import dependencies chia_rs = [x for x in dependencies if x.startswith('chia_rs==') or x.startswith('clvm_rs==')] print(chia_rs[0]) " GET_CLVM_TOOLS_RS_PYTHON=" from setup import dependencies clvm_tools_rs = [x for x in dependencies if x.startswith('clvm-tools-rs==')] print(clvm_tools_rs[0]) " mkdir $BASEDIR/chia_builds/$1 cd $BASEDIR/chia_builds/$1 git clone -b main https://github.com/Chia-Network/chia-blockchain.git $PYTHON -m venv $BASEDIR/chia_builds/$1/venv . $BASEDIR/chia_builds/$1/venv/bin/activate pip install --upgrade pip cd $BASEDIR/chia_builds/$1/chia-blockchain git checkout tags/$1 CHIA_RS_STRING=`echo "$GET_CHIA_RS_PYTHON" | python` CHIA_RS_LIBRARY=${CHIA_RS_STRING%%==*} CHIA_RS_VERSION=${CHIA_RS_STRING##*==} CLVM_TOOLS_RS=`echo "$GET_CLVM_TOOLS_RS_PYTHON" | python` echo Detected CHIA_RS type: $CHIA_RS_LIBRARY version $CHIA_RS_VERSION if [ "$CHIA_RS_LIBRARY" = "clvm_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/clvm_rs.git elif [ "$CHIA_RS_LIBRARY" = "chia_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/chia_rs.git fi cd $BASEDIR/chia_builds/$1 git clone --branch $CHIA_RS_VERSION $CHIA_RS_REPO cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY git checkout tags/$CHIA_RS_VERSION cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY/wheel maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs cd $BASEDIR/chia_builds/$1 if [ ! -z "$CLVM_TOOLS_RS" ]; then git clone -b base https://github.com/Chia-Network/clvm_tools_rs.git cd $BASEDIR/chia_builds/$1/clvm_tools_rs git checkout tags/${CLVM_TOOLS_RS##*==} maturin develop --release fi cd $BASEDIR/chia_builds/$1/chia-blockchain sh ./install.sh

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • chia_rs

    Rust crate & wheel with consensus code

  • #!/bin/sh PYTHON=python3.8 #***************************************************************** # Dependencies adapted from # https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install # # Either install these from packages or ports # # lang/gcc9 lang/gcc devel/gmake devel/cmake lang/rust # shells/bash www/node www/npm devel/git security/openssl # devel/py-maturin devel/py-virtualenv devel/py-pip # devel/py-setuptools devel/py-wheel databases/py-sqlite3 devel/py-cffi # # Usage: # ./build_chia $version # so for version 1.3.1 you would run "./build_chia 1.3.1" # when finished you should have chia a 1.3.1 folder in the chia_builds # directory. Activate the virtual environment with # ". chia_builds/$version/venv/bin/activate" and you are good to go. # #***************************************************************** BASEDIR=`dirname "$0"` GET_CHIA_RS_PYTHON=" from setup import dependencies chia_rs = [x for x in dependencies if x.startswith('chia_rs==') or x.startswith('clvm_rs==')] print(chia_rs[0]) " GET_CLVM_TOOLS_RS_PYTHON=" from setup import dependencies clvm_tools_rs = [x for x in dependencies if x.startswith('clvm-tools-rs==')] print(clvm_tools_rs[0]) " mkdir $BASEDIR/chia_builds/$1 cd $BASEDIR/chia_builds/$1 git clone -b main https://github.com/Chia-Network/chia-blockchain.git $PYTHON -m venv $BASEDIR/chia_builds/$1/venv . $BASEDIR/chia_builds/$1/venv/bin/activate pip install --upgrade pip cd $BASEDIR/chia_builds/$1/chia-blockchain git checkout tags/$1 CHIA_RS_STRING=`echo "$GET_CHIA_RS_PYTHON" | python` CHIA_RS_LIBRARY=${CHIA_RS_STRING%%==*} CHIA_RS_VERSION=${CHIA_RS_STRING##*==} CLVM_TOOLS_RS=`echo "$GET_CLVM_TOOLS_RS_PYTHON" | python` echo Detected CHIA_RS type: $CHIA_RS_LIBRARY version $CHIA_RS_VERSION if [ "$CHIA_RS_LIBRARY" = "clvm_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/clvm_rs.git elif [ "$CHIA_RS_LIBRARY" = "chia_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/chia_rs.git fi cd $BASEDIR/chia_builds/$1 git clone --branch $CHIA_RS_VERSION $CHIA_RS_REPO cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY git checkout tags/$CHIA_RS_VERSION cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY/wheel maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs cd $BASEDIR/chia_builds/$1 if [ ! -z "$CLVM_TOOLS_RS" ]; then git clone -b base https://github.com/Chia-Network/clvm_tools_rs.git cd $BASEDIR/chia_builds/$1/clvm_tools_rs git checkout tags/${CLVM_TOOLS_RS##*==} maturin develop --release fi cd $BASEDIR/chia_builds/$1/chia-blockchain sh ./install.sh

  • clvm

    [Contract Language|Chia Lisp] Virtual Machine (by Chia-Network)

  • #!/bin/sh PYTHON=python3.8 #***************************************************************** # Dependencies adapted from # https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install # # Either install these from packages or ports # # lang/gcc9 lang/gcc devel/gmake devel/cmake lang/rust # shells/bash www/node www/npm devel/git security/openssl # devel/py-maturin devel/py-virtualenv devel/py-pip # devel/py-setuptools devel/py-wheel databases/py-sqlite3 devel/py-cffi # # Usage: # ./build_chia $version # so for version 1.3.1 you would run "./build_chia 1.3.1" # when finished you should have chia a 1.3.1 folder in the chia_builds # directory. Activate the virtual environment with # ". chia_builds/$version/venv/bin/activate" and you are good to go. # #***************************************************************** BASEDIR=`dirname "$0"` GET_CHIA_RS_PYTHON=" from setup import dependencies chia_rs = [x for x in dependencies if x.startswith('chia_rs==') or x.startswith('clvm_rs==')] print(chia_rs[0]) " GET_CLVM_TOOLS_RS_PYTHON=" from setup import dependencies clvm_tools_rs = [x for x in dependencies if x.startswith('clvm-tools-rs==')] print(clvm_tools_rs[0]) " mkdir $BASEDIR/chia_builds/$1 cd $BASEDIR/chia_builds/$1 git clone -b main https://github.com/Chia-Network/chia-blockchain.git $PYTHON -m venv $BASEDIR/chia_builds/$1/venv . $BASEDIR/chia_builds/$1/venv/bin/activate pip install --upgrade pip cd $BASEDIR/chia_builds/$1/chia-blockchain git checkout tags/$1 CHIA_RS_STRING=`echo "$GET_CHIA_RS_PYTHON" | python` CHIA_RS_LIBRARY=${CHIA_RS_STRING%%==*} CHIA_RS_VERSION=${CHIA_RS_STRING##*==} CLVM_TOOLS_RS=`echo "$GET_CLVM_TOOLS_RS_PYTHON" | python` echo Detected CHIA_RS type: $CHIA_RS_LIBRARY version $CHIA_RS_VERSION if [ "$CHIA_RS_LIBRARY" = "clvm_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/clvm_rs.git elif [ "$CHIA_RS_LIBRARY" = "chia_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/chia_rs.git fi cd $BASEDIR/chia_builds/$1 git clone --branch $CHIA_RS_VERSION $CHIA_RS_REPO cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY git checkout tags/$CHIA_RS_VERSION cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY/wheel maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs cd $BASEDIR/chia_builds/$1 if [ ! -z "$CLVM_TOOLS_RS" ]; then git clone -b base https://github.com/Chia-Network/clvm_tools_rs.git cd $BASEDIR/chia_builds/$1/clvm_tools_rs git checkout tags/${CLVM_TOOLS_RS##*==} maturin develop --release fi cd $BASEDIR/chia_builds/$1/chia-blockchain sh ./install.sh

  • clvm_tools_rs

    clvm_tools ported to rust based on https://github.com/Chia-Mine/clvm_tools-js/, and chialisp-21 dialect with a new compiler.

  • #!/bin/sh PYTHON=python3.8 #***************************************************************** # Dependencies adapted from # https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install # # Either install these from packages or ports # # lang/gcc9 lang/gcc devel/gmake devel/cmake lang/rust # shells/bash www/node www/npm devel/git security/openssl # devel/py-maturin devel/py-virtualenv devel/py-pip # devel/py-setuptools devel/py-wheel databases/py-sqlite3 devel/py-cffi # # Usage: # ./build_chia $version # so for version 1.3.1 you would run "./build_chia 1.3.1" # when finished you should have chia a 1.3.1 folder in the chia_builds # directory. Activate the virtual environment with # ". chia_builds/$version/venv/bin/activate" and you are good to go. # #***************************************************************** BASEDIR=`dirname "$0"` GET_CHIA_RS_PYTHON=" from setup import dependencies chia_rs = [x for x in dependencies if x.startswith('chia_rs==') or x.startswith('clvm_rs==')] print(chia_rs[0]) " GET_CLVM_TOOLS_RS_PYTHON=" from setup import dependencies clvm_tools_rs = [x for x in dependencies if x.startswith('clvm-tools-rs==')] print(clvm_tools_rs[0]) " mkdir $BASEDIR/chia_builds/$1 cd $BASEDIR/chia_builds/$1 git clone -b main https://github.com/Chia-Network/chia-blockchain.git $PYTHON -m venv $BASEDIR/chia_builds/$1/venv . $BASEDIR/chia_builds/$1/venv/bin/activate pip install --upgrade pip cd $BASEDIR/chia_builds/$1/chia-blockchain git checkout tags/$1 CHIA_RS_STRING=`echo "$GET_CHIA_RS_PYTHON" | python` CHIA_RS_LIBRARY=${CHIA_RS_STRING%%==*} CHIA_RS_VERSION=${CHIA_RS_STRING##*==} CLVM_TOOLS_RS=`echo "$GET_CLVM_TOOLS_RS_PYTHON" | python` echo Detected CHIA_RS type: $CHIA_RS_LIBRARY version $CHIA_RS_VERSION if [ "$CHIA_RS_LIBRARY" = "clvm_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/clvm_rs.git elif [ "$CHIA_RS_LIBRARY" = "chia_rs" ]; then CHIA_RS_REPO=https://github.com/Chia-Network/chia_rs.git fi cd $BASEDIR/chia_builds/$1 git clone --branch $CHIA_RS_VERSION $CHIA_RS_REPO cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY git checkout tags/$CHIA_RS_VERSION cd $BASEDIR/chia_builds/$1/$CHIA_RS_LIBRARY/wheel maturin develop --release pip install git+https://github.com/Chia-Network/clvm@use_clvm_rs cd $BASEDIR/chia_builds/$1 if [ ! -z "$CLVM_TOOLS_RS" ]; then git clone -b base https://github.com/Chia-Network/clvm_tools_rs.git cd $BASEDIR/chia_builds/$1/clvm_tools_rs git checkout tags/${CLVM_TOOLS_RS##*==} maturin develop --release fi cd $BASEDIR/chia_builds/$1/chia-blockchain sh ./install.sh

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • [BUG]: GUI Full Node Connects, Begins Syncing and then Stops Syncing Until Restarted

    1 project | /r/chia | 30 Oct 2023
  • Release 2.1.0 ยท Chia-Network/chia-blockchain

    1 project | /r/chia | 7 Oct 2023
  • Adding a second harvester under windows

    2 projects | /r/chia | 1 Jul 2023
  • 1.8.2 is out

    1 project | /r/chia | 28 Jun 2023
  • No chia transactions since May 7

    2 projects | /r/chia | 25 May 2023