使用Websocket為初學者獲取比特幣交換數據



在本教程中,我將展示如何使用JavaScript通過其websocket API使用流傳輸來自bitfinex比特幣交易所的實時數據。
建立比特幣網站書:https://www.amazon.com/Building-Bitcoin-Websites-Beginners-Development/dp/153494544X
BTC:1NPrfWgJfkANmd1jt88A141PjhiarT8d9U。

24 comments
  1. http://www.ucoincash.com.
    I want something similar with all the functionalities.
    It has membership & also dashboard for each user, multiple currency money upload & withdrawal, comparison, wallet to wallet transfer etc.
    Please register an ID in that site & check the member dashboard.

  2. <html>
    <script>
    var ws = new WebSocket("wss://api.bitfinex.com/ws");

    ws.onopen = function(){
    ws.send(JSON.stringify({"event":"subscribe", "channel":"ticker", "pair":"BTCUSD"}))
    };

    ws.onmessage = function(msg){
    var response = JSON.parse(msg.data);
    console.log(response);
    };
    </script>
    </html>

  3. Hello Sir. I'm going my project on building a platform to sell and buy bitcoin for my final year computing project, what tip can you give me. Im planing to use Magento. I need to integrate blockchain send and receive on the site.

Comments are closed.