low-latency-node-helper
v0.1.16
Published
get a node with lower latency
Downloads
11
Readme
Get a node with lower latency
Chains support: 1, 56, 97, 42161, 421613
import lowLatencyNode from 'low-latency-node-helper'
lowLatencyNode(97)
// or
lowLatencyNode(56, { "56": ["node url"] })
// then
const rpc = localStorage.getItem('rpc') ?? DEFAULT_NODE