Author

Topic: Segwit JS activation countdown widget? (Read 825 times)

hero member
Activity: 750
Merit: 500
April 17, 2017, 08:26:25 PM
#6
Not really going to work well if you need it to be done client side. You either need to be running a wallet or requesting the blocks for each activation period from a block explorer. Best way might be to use jquery and scrape the data you need from the other various countdowns.
newbie
Activity: 33
Merit: 0
April 17, 2017, 07:36:17 AM
#5
if you have already found a python version of it that works then all you need to do is to "translate" python to JavaScript.

for that you can open a topic in services board and pay someone to do it for you.

or go to a python related forum and ask someone nicely to do it for you or better yet pay them with bitcoin and introduce them to bitcoin.

if you know JavaScript yourself (at least some basics) you can also find tools online to convert python to JS.
google results example:
http://www.transcrypt.org/
http://pyjs.org/
https://github.com/timothycrosley/jiphy

I have only found the python file for vertcoin.
Not Litecoin or/& bitcoin.
legendary
Activity: 2128
Merit: 1293
There is trouble abrewing
April 16, 2017, 10:41:50 AM
#4
if you have already found a python version of it that works then all you need to do is to "translate" python to JavaScript.

for that you can open a topic in services board and pay someone to do it for you.

or go to a python related forum and ask someone nicely to do it for you or better yet pay them with bitcoin and introduce them to bitcoin.

if you know JavaScript yourself (at least some basics) you can also find tools online to convert python to JS.
google results example:
http://www.transcrypt.org/
http://pyjs.org/
https://github.com/timothycrosley/jiphy
newbie
Activity: 33
Merit: 0
April 16, 2017, 08:54:06 AM
#3
hmm. I don't thing that there is an exact time of when Segwit will be activated. Thus, there should not be a way to make a countdown for it.
But, you could have a JS app which looks at how many % of miners/nodes are signalling SegWit.

Thats what i kind of want to do(a JS script(app) that shows the % of miners/ that are signaling Segwit for These cryptocurrencies. do you know how to do a JS code for signaling % of miner/nodes that are signaling segwit? if so could you please send me the JS code for it via PM? 

 
member
Activity: 112
Merit: 10
April 16, 2017, 02:04:23 AM
#2
hmm. I don't thing that there is an exact time of when Segwit will be activated. Thus, there should not be a way to make a countdown for it.
But, you could have a JS app which looks at how many % of miners/nodes are signalling SegWit.
newbie
Activity: 33
Merit: 0
April 15, 2017, 08:27:04 PM
#1
Does anyone have Segwit JS activation countdown widget for Bitcoin,Litecoin and Vertcoin(BTC,LTC & VTC)? I could only find python scripts of the vertcoin one, i need a JS one for my static website.
Jump to: