fizen-evm-networks 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # fizen-evm-networks
2
2
 
3
+ > This library support EVM networks, it will auto fetch the rpcs every 5 seconds and response the latency & height. User can use this information to find the fastest rpc of the chain
4
+
5
+ ## How to use?
6
+
3
7
  ```
4
8
  const chainIds = [80001, 1, 56, 97]
5
9
  const evmNetworks = new FizenEvmNetworks(chainIds);
6
-
7
10
  const rpc = evmNetworks.getLowestLatencyChain(1);
8
11
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fizen-evm-networks",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "ts-node src/index.ts",