KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
104 stars 94 forks source link

Insight API as UTXO operational mode. #618

Open artemii235 opened 4 years ago

ArtemGr commented 4 years ago

This is for optimizing the traffic of the transaction history retrieval, right?

Is the coverage of Insight comparable to our Electrum coverage? (So far I'm seeing only the Bitcoin explorer at https://insight.bitpay.com/)

I'm wondering if this is something we should consider for https://github.com/ca333/komodoDEX/issues/349, so if Insight only covers Bitcoin right now then this isn't yet a practical solution for us?

gcharang commented 4 years ago

@ArtemGr the Komodo and Smart Chain explorers like https://dex.explorer.dexstats.info/ are all based on insight. Also, Zcash and most of its forks have insight based explorers as well. afaik, insight can support any utxo chain and most utxo cryptos have a community-run insight explorer

artemii235 commented 4 years ago

This is for optimizing the traffic of the transaction history retrieval, right?

Not only, Insight provides all required APIs to fetch balance, check transaction confirmation status, broadcast transaction etc. It will be fully functional rpc client UTXO mode in addition to Native and Electrum.

ArtemGr commented 4 years ago

Awesome!

gcharang commented 4 years ago

https://wallet.myhush.org/ this is an example of a "lite" wallet that uses insight API instead of electrum servers Source code: https://github.com/myhush/myhushwallet

in https://wallet.myhush.org/ , simply replacing the insight-api URL in the settings can make it work for Komodo and all the other Smart Chains

Example: using https://vote.explorer.dexstats.info/insight-api-komodo/ in the settings makes it a lite wallet for the Vote token

cipig commented 1 year ago

thanks to chmex for this: https://blog.keys.casa/electrum-server-performance-report/ electrumx looks pretty good in this report