Fsight closed - Now explorer.feathercoin.com
-
Maybe I spoke to soon. I started from the ground up this morning.
1 - new Centos 7 Minimal Installation
2 - git clone master branch insight API and insight UI from:
https://github.com/bitcoin-blockexplorer/insight-frontend.git
https://github.com/bitcoin-blockexplorer/insight-api.git3 - fucked around with node JS and painfully edited the front-end, replacing BTC/Bitcoin branding with FTC/Feathercoin branding.
4 - commented out the currency dropdown menu. (it’s nice to have but I’m not a developer/dont have the brains to dive into that)
5 - edited these two files
/insight-api/config/config.js
/insight-api/node_modules/bitcore/networks.jsFor networks.js I had to find the the necessary information for the FTC genesis block and some other details. .< That stumped me for ages until I remembered FTC shares the same genesis block as LTC…the below seems to have worked.
exports.livenet = { name: 'livenet', magic: hex('fbc0b6db'), addressVersion: 0x30, privKeyVersion: 0xb0, P2SHVersion: 5, hkeyPublicVersion: 0x0488c42e, hkeyPrivateVersion: 0x0488e1f4, genesisBlock: { hash: hex('E2BF047E7E5A191AA4EF34D314979DC9986E0F19251EDABA5940FD1FE365A712'), merkle_root: hex('D9CED4ED1130F7B7FAAD9BE25323FFAFA33232A17C3EDF6CFD97BEE6BAFBDD97'), height: 0, nonce: 2084524493, version: 1, prev_hash: buffertools.fill(new Buffer(32), 0), timestamp: 1317972665, bits: 504365040, },
So far in two separate terminals i’m running these commands to start the two services (API and front-end UI)
I have both the API and UI downloaded like so/root/insight/insight-api
/root/insight/insight-frontendThe two commands are
INSIGHT_NETWORK=“livenet” INSIGHT_PUBLIC_PATH=public node insight.js
INSIGHT_PUBLIC_PATH=insight-frontend/public grunt
both need to be run from their own directory.
Anyways…I digress… http://i.snag.gy/hribQ.jpg
it’s synced around 10% of the FTC block chain.
I need to redo a few things so that the API and Front-end run as services and then i’m all good :-)
-
Its Alive!!!
I might write a tutorial if there’s enough interest…this was a pain in the ass but a fun learning experience.
-
@aciddude Nice work! If you have time, Id like to see a tutorial on this.
I have to say I like the look of the other one better but this isnt bad at all.
-
Good , I have a same website http://block.ftc-c.com/
-
Thanks guys.
I’ve added an updating chart using some simple javascipt to get the current mining difficulty.@lizhi, I’ve just noticed you’re using a Bushtars fork of insight…which I never knew existed! I assume all the config for featherCoin is already done ? …Maybe I should switch over.
I used used the fork from Block-Explorer…and then painfully edited…
-
http://fsight.chain.tips/ it’s alive (again)
-
@aciddude said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
http://fsight.chain.tips/ it’s alive (again)
down?
-
@AmDD said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
@aciddude said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
http://fsight.chain.tips/ it’s alive (again)
down?
Thanks @AmDD - I’ll be bringing this up when I get some time.
Sorry again guys! The FTC full node is up, it’s just the Block Explorer/API that keeps crashing.
-
@aciddude said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
Sorry again guys! The FTC full node is up, it’s just the Block Explorer/API that keeps crashing.
Probably you mentioned it already, but what software you are using for the block explorer?
I’m using the Abe explorer on explorer.feathercoin.com -
@Wellenreiter said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
@aciddude said in Feathercoin Block Explorer....it's Alive! Update: Added live difficulty chart:
Sorry again guys! The FTC full node is up, it’s just the Block Explorer/API that keeps crashing.
Probably you mentioned it already, but what software you are using for the block explorer?
I’m using the Abe explorer on explorer.feathercoin.comYo, @Wellenreiter I’m using the below
https://github.com/bitcoin-blockexplorer/insight-frontend.git
https://github.com/bitcoin-blockexplorer/insight-api.gitI had to edit a lot of configs and whatnot to make it work with FTC. it runs on node.js but it doesnt seem so stable. but my knowledge of nodeJS is limited.
-
I never got the insight explorer running :(
It has a nice Web interface, but I switched to the Abe one, as that one runs on top of Apache and mysql.If you get your one stable I’m happy to switch to the Insight explorer on explorer.feathercoin.com
-
I swear @Bushstar ported an older version of insight for FTC - check his github. I think Lizhi uses that code.
-
Hi All
This has been up and down for a few months now. I’ve redone the config and a proper proxy etc.
next steps are to add HTTPS and possibly move it to a bigger VPS if there’s a considerable increase in traffic.
I also want to add google analytics or something similar to it.
-
@aciddude cool :-)
-
Very cool news!
-
December 2016 Updates:
- Updated/Refreshed colour scheme to match Feathercoin forum (mainly to move away from the default green)
- Modified code to show a Decoded Version of the block info so we can read OP_RETURN (Comments on the Blockchain)
Read a comment on the block chain:
1 - Find a transaction with a comment, example below
http://fsight.chain.tips/tx/96d954dc26873558507533822581aa7f3a8a57df9d3cdb1f1fd4c272ba22ffae2 - Click the plus + button on the Transation (under Details) and scroll down.
You should see:
Decoded Message Wrapper - Saturady 16th July 2016
-
More December updates:
- Added SSL from LetsEncrypt.org
- Automated redirect from HTTP to HTTPS
- Disabled SSLv3
- added Google Analytics for fun :-)
The Qualys SSL Labs gives me an A :-) !! WOOP!
https://www.ssllabs.com/ssltest/analyze.html?d=fsight.chain.tipsI used the CertBot application to automatically deploy the LetsEncrypt SSL Certificate to my Apache Config
https://certbot.eff.org/#centosrhel7-apacheTook about 15 mins reading and 15 mins implementation time to get the site secured with SSL.
Their certificates expire every 90 days…BUT! CertBot provides a script which you add to a cron job that automatically updates it for you. Amazing! -
Great work :)
-
Hi All,
This has also been added to CoinMarketCap.com under “Explorer 2” :-) !!!
http://coinmarketcap.com/currencies/feathercoin/ -
First use of your great tool today.
Very good job !!!