Skip to content

Instantly share code, notes, and snippets.

@himu007
Last active July 12, 2021 15:25
Show Gist options
  • Save himu007/087edcf920cbd07cac242b09b1525f70 to your computer and use it in GitHub Desktop.
Save himu007/087edcf920cbd07cac242b09b1525f70 to your computer and use it in GitHub Desktop.

CHIPS testnet - compile & Start

Install Dependencies

sudo apt-get install build-essential git curl bison libtool autotools-dev automake pkg-config bsdmainutils python3
sudo apt-get install libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev

Clone and Compile

git clone https://github.com/barrystyle/chips
cd chips/depends
make HOST=x86_64-linux-gnu -j$(nproc)
cd ..
./autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-linux-gnu/share/config.site ./configure
make -j$(nproc)

Make mainet data dir

mkdir -p ~/.chips

Start CHIPS Testnet

./chipsd -testnet -txindex=1 -server=1 -daemon=1 -addnode=46.255.254.247 -addnode=51.222.150.53 &

Create new wallet.dat

You can give any name to your wallet instead of test

~/chips/src/chips-cli -testnet createwallet "test"

Load existing wallet after restart

~/chips/src/chips-cli -testnet loadwallet "test"

Testnet Data dir location

~/.chips/testnet3

Mine testnet coins with the following script

You need to load or create wallet before you can mine. See above steps on how to create or load one.

#!/bin/bash
date
while true; do
sleep 10
~/chips/src/chips-cli -testnet -generate 1 100000000
done 
exec bash

Testnet Explorer

https://testnet.chips.cash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment