Pagi, Siang, Sore ganMau berbagi pengalaman ni gan, setelah 6 bulan lamanya menggeluti dunia per-criptonan, akhirnya sukses juga membuat wallet ICO (Script)
mmg dalam membuat sebuah project ICO lebih mantap jika dikerjakan oleh TIM yang solid (jujur gan puyeng banget) apalagi gak punya
basic programmer atau apa namanya.
Ini gan step - step pembuatan Coin yang saya ambil dari catatan ane:
(koreksi ini bukan Build tapi fork) mirip seperti Litecoin
LINUX BASE :
**** ensure that the system is up to date ****
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo reboot
**** download the source code ****
mkdir Github && cd Github
sudo apt-get install git
git clone
https://github.com/.........
**** Install the dependencies ****
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev
sudo apt-get install bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev
sudo apt-get install libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev
sudo apt-get install libqrencode-dev protobuf-compiler miniupnpc
apt-get install build-essential
sudo apt-get -f install
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get -qq update
sudo apt-get install -y bitcoin-qt
**** To install the deprecated version of Berkeley DB 4.8 ****
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install python-pip
sudo pip install scrypt construct
sudo pip install scrypt construct==2.5.2
***or***
wget
http://download.oracle.com/berkeley-db/db-4.8.30.zip unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
make install
tentukan port utama : contoh : 7922
edit version : /configure.ac
*** Go into doc/man and rename all
*** ganti splash.png pada src/qt/res/icons ***
*** ganti bitcoinunits.cpp pada src/qt ***
*** ganti chainparams.cpp pada src ***
*** ganti chainparamsseeds.h pada src ***
*** ganti testnet genesis block pada : /src/qt/test/rpcnestedtests.cpp ***
Jumlah Coin
/$TOTAL_SUPPLY/" src/amount.h
Markele hash :
$SED -i "s/$LITECOIN_MERKLE_HASH/$MERKLE_HASH/" src/qt/test/rpcnestedtests.cpp
Jika membutuhkan Premined Coin :
Premined Coin : (src/validation.cpp)
if (nHeight == 1) return COIN * 80000000;
CAmount nSubsidy = 50 * COIN;
Maturity :
$SED -i "s/COINBASE_MATURITY = 100/COINBASE_MATURITY = $COINBASE_MATURITY/" src/consensus/consensus.h
Reset Minimum Chain Work:
# reset minimum chain work to 0
$SED -i "s/$MINIMUM_CHAIN_WORK_MAIN/0x00/" src/chainparams.cpp
$SED -i "s/$MINIMUM_CHAIN_WORK_TEST/0x00/" src/chainparams.cpp
# change bip activation heights
# bip 34
$SED -i "s/710000/0/" src/chainparams.cpp
# bip 65
$SED -i "s/918684/0/" src/chainparams.cpp
# bip 66
$SED -i "s/811879/0/" src/chainparams.cpp
Download GenesisH0 pada Github
Untuk membuat/Build :
algorithm: scrypt
merkle hash:
pszTimestamp:
pubkey:
time:
bits:
nonce: 661632
genesis hash:
Code GenesisH0
python genesis.py -a scrypt -z "Berita Hangat hari ini (Bebas)" -p 040184710fa689ad5023690c80f3a49c8f13f8d45b8c857fbcbc8bc4a8e4d3eb4b10f4d4604fa08
dce601aaf0f470216fe1b51850b4acf21b179c45070ac7b03a9 2>&1
Code GenesisH0 untuk MAIN, TESTNET, REGTEST
**** Compile ****
./autogen.sh
./configure
make
**** Optional *****
sudo make install
Siapkan 2 VPS Linux untuk seed Node
Buat folder pada Home
folder .coinanda
Buat file didalam folder coinanda.conf
***Run Wallet***
./coinanda-qt
Hasilnya :
http://i67.tinypic.com/feqxzc.pngSaya butuh tim untuk pengembangan project ini :
1. Mengerti Programing Crypto
2. Menguasai programing android/IOS
3. Menguasai Hukum syariah
4. Menguasai Web Programing
5. dan beberapa tim ahli lainnya
Semoga bisa terbentuk tim yg solid
Txs gan