KomodoPlatform / developer-docs

https://developers.komodoplatform.com
23 stars 51 forks source link

Add docs for Tendermint activation #400

Closed smk762 closed 1 year ago

smk762 commented 2 years ago

ref: https://github.com/KomodoPlatform/coins/pull/522

smk762 commented 1 year ago
 curl --url "http://127.0.0.1:7783" --data "{
    \"method\":\"enable_tendermint_with_assets\",
    \"mmrpc\":\"2.0\",
         \"params\":{
               \"ticker\":\"IRIS\",
               \"tokens_params\": [ {\"ticker\":\"ATOM-IBC_IRIS\"}],
               \"rpc_urls\": [\"https://iris.komodo.live/\", \"https://rpc.irishub-1.irisnet.org\"]
        },
        \"userpass\":\"$userpass\"
}"
smk762 commented 1 year ago

Error cases: https://github.com/KomodoPlatform/atomicDEX-API/blob/6e4de5d217c654057bee49b283737b7ad4499734/mm2src/coins_activation/src/platform_coin_with_tokens.rs#L176-L215