Skip to content

Instantly share code, notes, and snippets.

@lijameshao
lijameshao / medium-web-dev-subscribe-wss.js
Last active September 30, 2020 05:43
open coinbase websocket and send subscription
let streamer = new WebSocket('wss://ws-feed.pro.coinbase.com');
streamer.onopen = () => {
let subRequest = {
'type': 'subscribe',
'product_ids': [ 'BTC-USD' ],
'channels': [
'heartbeat',
{
'name': 'ticker',
@lijameshao
lijameshao / hackathon_how_to.md
Created September 22, 2018 12:28 — forked from sergmetelin/hackathon_how_to.md
Hackathon Getting Started guide

Important Note before you start

As the EOSIO V1.3 was released this week we strongly do not recommend to use it for the hackathon. Please use EOSIO V1.2.5 to build your applications. To setup your EOSIO Developer Portal for correct version for the event, please click the following link: https://developers.eos.io/eosio-nodeos/v1.2.0/docs/?hackathon It will setup a special cookie in your browser making some modifications to the Developer Portal to make it suitable to work with EOSIO V1.2.5. If you done everything right, you will see an "#eoshackathon" label under the Developer Portal logo: logo.png

About EOSIO

The EOS.IO software introduces a new blockchain architecture designed to enable vertical and horizontal scaling of decentralized applications. This is achieved by creating an operating system-like construct upon which applications can be built. The software prov