Month: November 2019

EOS Tribe + EOS USA are bringing Spectrum API + Full History API to EOS

### EOS Tribe is partnering with EOS USA to bring back new Spectrum API and Full History REST API back to EOS community in order to provide diversity for dApps relying on such services.
###

* **Spectrum API** – is a websocket based subscription A…

Learn More

EOS Tribe + EOS USA are bringing Spectrum API + Full History API to EOS

### EOS Tribe is partnering with EOS USA to bring back new Spectrum API and Full History REST API back to EOS community in order to provide diversity for dApps relying on such services.
###

* **Spectrum API** – is a websocket based subscription A…

Learn More

Spectrum API – NodeJS client code example

## NodeJS client code example for Telos Testnet

“`
global.fetch = require(‘node-fetch’)
global.WebSocket = require(‘ws’)

const telosTrxStatus = () =>{
const messageBody = {
“apikey”: “test-api-key”,
“event”: “subscribe”,…

Learn More

Spectrum API – NodeJS client code example

## NodeJS client code example for Telos Testnet

“`
global.fetch = require(‘node-fetch’)
global.WebSocket = require(‘ws’)

const telosTrxStatus = () =>{
const messageBody = {
“apikey”: “test-api-key”,
“event”: “subscribe”,…

Learn More

Shard Formation and its application in Blockchain

Traditional database systems achieve scalability by dividing the database states into independent shards.
Read more: https://medium.com/@moonxfamily/shard-formation-and-its-application-in-blockchain-d77ee6818983

Learn More

Spectrum API – JS Client library with samples

spectrum.jpeg

## EOS Tribe published JS Client library for Telos and Worbli Spectrum API endpoints:

### Telos JS libraries:
* https://spectrum-client.s3.amazonaws.com/telos.spectrum.min.js
* https://spectrum-client.s3.amazonaws.com/telos.spectrum.js

### Worbli JS libraries:
* https://spectrum-client.s3.amazonaws.com/worbli.spectrum.min.js
* https://spectrum-client.s3.amazonaws.com/worbli.spectrum.js

#### JS method signatures for both JS libraries:
* get_blocks(onMessageHandler, onCloseHandler, onErrorHandler)
* get_transaction(account, onMessageHandler, onCloseHandler, onErrorHandler)
* get_actions(account, actions, onMessageHandler, onCloseHandler, onErrorHandler)
* get_table_rows(account, table, scope, onMessageHandler, onCloseHandler, onErrorHandler)

### Below is the sample use JS code for get_blocks method:
“`

Spectrum Demo

View console for messages

“`

### Sample JS code for get_transaction method:
“`

Spectrum Demo

View console for messages

“`

### Sample JS code for get_actions method:
“`

Spectrum Demo

View console for messages

“`

#### Feel free to give it a try and provide your feedback at out Telegram channel: https://t.me/EOSTribe

#### Original post describing Spectrum API architecture: https://steemit.com/eosio/@eostribe/introducing-spectrum-streaming-api-for-eosio

#### EOS Tribe is committed to continue work on creating innovative solutions for EOSIO.

Learn More

Spectrum API – JS Client library with samples

spectrum.jpeg

## EOS Tribe published JS Client library for Telos and Worbli Spectrum API endpoints:

### Telos JS libraries:
* https://spectrum-client.s3.amazonaws.com/telos.spectrum.min.js
* https://spectrum-client.s3.amazonaws.com/telos.spectrum.js

### Worbli JS libraries:
* https://spectrum-client.s3.amazonaws.com/worbli.spectrum.min.js
* https://spectrum-client.s3.amazonaws.com/worbli.spectrum.js

#### JS method signatures for both JS libraries:
* get_blocks(onMessageHandler, onCloseHandler, onErrorHandler)
* get_transaction(account, onMessageHandler, onCloseHandler, onErrorHandler)
* get_actions(account, actions, onMessageHandler, onCloseHandler, onErrorHandler)
* get_table_rows(account, table, scope, onMessageHandler, onCloseHandler, onErrorHandler)

### Below is the sample use JS code for get_blocks method:
“`

Spectrum Demo

View console for messages

“`

### Sample JS code for get_transaction method:
“`

Spectrum Demo

View console for messages

“`

### Sample JS code for get_actions method:
“`

Spectrum Demo

View console for messages

“`

#### Feel free to give it a try and provide your feedback at out Telegram channel: https://t.me/EOSTribe

#### Original post describing Spectrum API architecture: https://steemit.com/eosio/@eostribe/introducing-spectrum-streaming-api-for-eosio

#### EOS Tribe is committed to continue work on creating innovative solutions for EOSIO.

Learn More