KomodoPlatform / coins

coin parameters and all files needed for GUI support
17 stars 123 forks source link

[Feature Request]: Smart chain launch parameters #434

Closed smk762 closed 2 years ago

smk762 commented 2 years ago

I'm not sure if we have a clear canonical place where smart chain launch parameters are stored, beyond the assetchains.old and assetchains.json files in https://github.com/KomodoPlatform/komodo which are only targeting chains being notarised. As a result, params for other coins like SOULJA, Dragon Fairy etc don't appear to be listed anywhere beyond perhaps Discord.

Would this repo be a suitable place to store this info? I'd propose a folder "smart chains" with a structure similar to the below:

    "MESH": "-ac_name=MESH -ac_supply=1000007 -ac_ccactivate=320000",
    "MGW": "-ac_name=MGW -ac_supply=999999",
    "MSHARK": "-ac_name=MSHARK -ac_supply=1400000",
    "NINJA": "-ac_name=NINJA -ac_supply=100000000",
    "PANGEA": "-ac_name=PANGEA -ac_supply=999999",
    "REVS": "-ac_name=REVS -ac_supply=1300000",
    "RICK": "-ac_name=RICK -ac_supply=90000000000 -ac_reward=100000000 -ac_cc=3 -ac_staked=10 -addnode=138.201.136.145 -addnode=95.217.44.58"

alternatively, to include ecosystem chains using custom daemons, or no longer in use (for historical value):

    "MGW": {
           "launch": "-ac_name=MGW -ac_supply=999999",
           "status": "active dpow",
           "repo": "https://github.com/KomodoPlatform/komodo/tree/master"
    },
    "TOKEL": {
           "launch": "-ac_name=TOKEL -ac_supply=100000000 -ac_eras=2 -ac_cbmaturity=1 -ac_reward=100000000,4250000000 -ac_end=80640,0 -ac_decay=0,77700000 -ac_halving=0,525600 -ac_cc=555 -ac_ccenable=236,245,246,247 -ac_adaptivepow=6 -addnode=135.125.204.169 -addnode=192.99.71.125 -addnode=144.76.140.197 -addnode=135.181.92.123",
           "status": "active dpow",
           "repo": "https://github.com/KomodoPlatform/komodo/tree/tokel"
    },
    "MCL": {
           "launch": "-ac_name=MCL -ac_supply=2000000 -ac_cc=2 -addnode=37.148.210.158 -addnode=37.148.212.36 -addressindex=1 -spentindex=1 -ac_marmara=1 -ac_staked=75 -ac_reward=3000000000 -daemon",
           "status": "active dpow",
           "repo": "https://github.com/marmarachain/marmara/tree/master"
    },
    "OOT": {
           "launch": "-ac_name=OOT -ac_supply=216000000 -ac_sapling=5000000",
           "status": "abandoned",
           "repo": "N/A"
    }

If you think this might be of value, I'll collect the data and draft a PR.

smk762 commented 2 years ago

@cipig @ca333 @gcharang @tonymorony

cipig commented 2 years ago

i think this i a very good idea... if you want to setup mm2 with native daemons instead of electrums, you will need this parameters anyway... also for not notarized but active chains, like DP

tonymorony commented 2 years ago

merged https://github.com/KomodoPlatform/coins/pull/435