0.1.16 • Published 2 months ago
low-latency-node-helper v0.1.16
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