-
Notifications
You must be signed in to change notification settings - Fork 99
Complete Checklist for New Coins to Setup Explorers, Electrum Servers, Agama Wallet, Activate dPoW & BarterDEX Trading
This doc will guide you through creating an independent assetchain/coin using Komodo and setup explorer, electrum servers, integrate into Agama GUI wallet, dPoW and enable BarterDEX trading.
Step 1: Create an Assetchain/Coin, Setup Insight based Explorer, Electrum Servers and Agama GUI Wallet
- Create a new assetchain or coin https://docs.komodoplatform.com/komodo/create-Komodo-Assetchain.html
1.1 Different Parameters to customize your coin https://docs.komodoplatform.com/komodo/assetchain-params.html - Install explorer https://github.com/DeckerSU/komodo-explorers-install
- Install Electrum SPV server https://docs.komodoplatform.com/barterDEX/setup-electrumX-server.html
- Integrate into Agama GUI wallet https://docs.komodoplatform.com/agama/add-Komodo-Assetchains-Agama-Desktop.html
We have used Zaddex (ZEX) coin as example for some part of this doc. Please change to your coin name accordingly.
Coin name: Zaddex
Ticker: ZEX
Start Command: ./komodod -pubkey=$pubkey -ac_name=ZEX -ac_cc=2 -ac_founders=1 -ac_halving=525600 -ac_reward=13000000000 -ac_pubkey=039d4a50cc70d1184e462a22edb3b66385da97cc8059196f8305c184a3e21440af -addnode=5.9.102.210 &
RPCport: 26477
In order to activate dPoW you need to submit PR into 2 GitHub repos.
- Komodo repo (
dev
branch) - https://github.com/jl777/komodo - SuperNET repo (
dev
branch) - https://github.com/jl777/SuperNET
2 new file needs creating and 2 existing files needs updating. These new files are executable scripts named as the coin ticker with small letters. They would go inside ~/komodo/src/ac/
and ~/komodo/src/fiat/
dir and required for quering the chain easily. i.e.: ~/komodo/src/ac/zex getinfo
.
Contents of these 2 new files would be as following:
#!/bin/bash
./komodo-cli -ac_name=ZEX $1 $2 $3 $4 $5 $6
So, you will have ~/komodo/src/ac/zex
and ~/komodo/src/fiat/zex
. Make sure both of the files has proper execute permission.
Next, is to add coin parameters at the bottom of assetchains.json
and assetchains.old
files inside ~/komodo/src/
directory. Please check the links to the files to understand how they were done. The .json
file is basically converting the ZEX chain start command from shell fromat to JSON format.
Check this commit to fully understand what was done to add ZEX in Komodo repo.
For SuperNET repo we need to add 1 new file called zex_7776
inside ~/SuperNET/iguana/coins/
(please change zex with your coin ticker). Make sure this file has executable permission. This file gets created automatically in the directory where you start the chain from. Generally inside ~/komodo/src/
dir.
And, we need to edit 4 existing files, dpowassets
, iguana_notary.c
, m_notary_run
& m_splitfund
) inside ~/SuperNET/iguana/
dir. These links points to the line where you should be checking.
Check this commit to fully understand what was done to add ZEX in SuperNET repo.
Once you have all the changes done locally, you can submit a PR to Komodo and SuperNET repo dev
branch. After the PR gets merged by jl777, it will be announced and Komodo Notary Node operators will update their node and start notarizing the coin.
In order for the coin to be enabled in BarterDEX trading platform you need to submit a PR to https://github.com/jl777/coins repo. Here is an useful guide for the process https://docs.komodoplatform.com/barterDEX/add-coin-barterDEX.html.
Requirements:
- Logo (icon) - https://github.com/jl777/coins/blob/master/icons/zex.png
- Explorer - https://github.com/jl777/coins/blob/master/explorers/ZEX
- Coin info - https://github.com/jl777/coins/blob/master/coins#L2789
- Electrum servers (BEER as example)- https://github.com/jl777/coins/blob/master/electrums/BEER
Note: If you can't do it all by yourself, there are 3rd party services (Chainmakers & Chainzilla) available who can do everything for you. Please reach them out using Komodo Discord or use the Komodo Platform Website.
Whitepapers
dPoW Whitepaper
barterDEX Whitepaper v2
JUMBLR Whitepaper
dICO Whitepaper
Install and build
Installing Komodo
Install barterDEX CLI
Install ETOMIC barterDEX
ElectrumX guide for barterDEX
Setup Insight Explorer
Notary Node
Notary Node security
Updating Notary Node
NN Assetchains Guide
Monitor Notary Node
Developers
barterDEX API
Create Assetchain
iguana API
Doing PAX deposits
Using JUMBLR
Using Key/Value
0conf Swaps
Testers
debug Komodo