Bitcoin Forum
April 20, 2024, 02:02:03 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Segwit JS activation countdown widget?  (Read 802 times)
nyeko_12 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 16, 2017, 01:27:04 AM
 #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.
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
divinemaniac
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
April 16, 2017, 07: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.
nyeko_12 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 16, 2017, 01:54:06 PM
 #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? 

 
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
April 16, 2017, 03:41:50 PM
 #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

There is a FOMO brewing...
nyeko_12 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 17, 2017, 12:36:17 PM
 #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.
esotericizm
Hero Member
*****
Offline Offline

Activity: 750
Merit: 500



View Profile
April 18, 2017, 01:26:25 AM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!