Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: imnotmrrobot on January 09, 2022, 01:11:19 AM



Title: All steps to create a litecoin-based altcoin
Post by: imnotmrrobot on January 09, 2022, 01:11:19 AM
Why Litecoin? Because Litecoin has the whole decentralized idea of Bitcoin, and is theoretically lighter

After git clone, change the icons files in folder

litecoin/src/qt/res/icons

and
 litecoin/src/chainparams.cpp
 litecoin/src/chainparamsseeds.h

Create your genesis hash with

https://github.com/lhartikk/GenesisH0

compiling on debian 10

sudo apt update && sudo apt upgrade -y
sudo apt install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev pkg-config libevent-dev -y
sudo apt install software-properties-common -y
sudo apt install build-essential libgl1-mesa-dev doxygen libzmq5 libminiupnpc-dev -y
sudo apt install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler -y

git clone https://github.com/litecoin-project/litecoin

cd ~/litecoin/

sudo find ./ -type f -readable -writable -exec sed -i "s/Litecoin/Altcoin/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/LiteCoin/AltCoin/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/LTC/ALT/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/litecoin/altcoin/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/litecoind/altcoind/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/lites/alt/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/photons/minicoin/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/litoshi/microcoin/g" {} \;
sudo find ./ -type f -readable -writable -exec sed -i "s/9333/9999/g" {} \;

mkdir ~/altcoin
cd ~/altcoin/

sudo ~/litecoin/autogen.sh
sudo ~/litecoin/configure --with-incompatible-bdb --enable-scrypt

run your coin

Leave your thoughts, any idea is welcome

topic under construction