Skip to content

Instantly share code, notes, and snippets.

@tecnovert
tecnovert / part_gettransaction_example.md
Last active September 7, 2023 14:43
Particl gettransaction example

Start a node in regtest mode:

mkdir -p /tmp/test1
./particld --daemon --regtest --nocheckpeerheight --minstakeinterval=2 --datadir=/tmp/test1

alias PART_CLI="./particl-cli --regtest --datadir=/tmp/test1"

Get version:

@tecnovert
tecnovert / install.log
Created June 26, 2022 00:27
Installing Basicswap on OSX
# Create new OSX 10.15 vm
From https://github.com/myspaghetti/macos-virtualbox
wget https://raw.githubusercontent.com/myspaghetti/macos-virtualbox/master/macos-guest-virtualbox.sh
bash -i macos-guest-virtualbox.sh
When the vbox gui starts up and the language window shows press enter in the terminal.
Run through prompts until script completes and exits.
@tecnovert
tecnovert / trezor_docker.txt
Created July 23, 2021 13:12
Compile Trezor One firmware for Particl
git clone https://github.com/tecnovert/trezor-firmware.git particl_trezor-firmware
cat << EOF > Dockerfile
from ubuntu:focal
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y python-is-python3 python3-pip gcc-arm-none-eabi build-essential curl git libprotobuf-dev protobuf-compiler libusb-1.0-0-dev && \
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python && \
pip install poetry
@tecnovert
tecnovert / compile_particl.txt
Last active June 15, 2021 18:22
Compile particl core statically using depends
git clone --depth=1 https://github.com/tecnovert/particl-core.git particl_src
mkdir out
cat << EOF > Dockerfile
from ubuntu:focal
RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 curl libudev-dev
@tecnovert
tecnovert / compile_ledger_1.2.14.txt
Created June 13, 2021 14:09
Compile Particl Ledger App from dev repo
https://ledger.readthedocs.io/en/latest/userspace/setup.html
cat << EOF > Dockerfile
from ubuntu:bionic
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y wget bzip2 xz-utils git make libc6-dev-i386 usbutils python3-setuptools zlib1g-dev python3-pip libusb-1.0-0-dev libudev-dev gcc-multilib g++-multilib libjpeg8-dev zlib1g-dev
@tecnovert
tecnovert / compile_ledger_1.2.13.txt
Last active June 7, 2021 22:36
Compile Ledger firmware
https://ledger.readthedocs.io/en/latest/userspace/setup.html
cat << EOF > Dockerfile
from ubuntu:bionic
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y wget bzip2 xz-utils git make libc6-dev-i386 usbutils python3-setuptools zlib1g-dev python3-pip libusb-1.0-0-dev libudev-dev gcc-multilib g++-multilib libjpeg8-dev zlib1g-dev
RUN mkdir /home/bolos_env && cd /home/bolos_env && \