*Use @lumeweb/pokt-rpc-endpoints

This commit is contained in:
Derrick Hammer 2022-08-24 11:15:07 -04:00
parent f89a8e93a4
commit 61a0991bcd
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
5 changed files with 7 additions and 47 deletions

View File

@ -21,6 +21,7 @@
"@hyperswarm/dht": "^6.0.1", "@hyperswarm/dht": "^6.0.1",
"@hyperswarm/dht-relay": "^0.3.0", "@hyperswarm/dht-relay": "^0.3.0",
"@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git", "@lumeweb/kernel-utils": "https://github.com/LumeWeb/kernel-utils.git",
"@lumeweb/pokt-rpc-endpoints": "https://github.com/LumeWeb/pokt-rpc-endpoints.git",
"@pokt-network/pocket-js": "^0.8.0-rc", "@pokt-network/pocket-js": "^0.8.0-rc",
"@skynetlabs/skynet-nodejs": "^2.6.0", "@skynetlabs/skynet-nodejs": "^2.6.0",
"@solana/web3.js": "^1.47.3", "@solana/web3.js": "^1.47.3",

View File

@ -1,45 +0,0 @@
{
"algorand-mainnet": "29",
"algorand-mainnet-indexer": "dummy",
"algorand-archival": "000D",
"algorand-testnet": "45",
"algorand-testnet-archival": "0A45",
"arweave-mainnet": "30",
"avax-mainnet": "3",
"avax-archival": "00A3",
"avax-fuji": "000E",
"bsc-mainnet": "4",
"bsc-archival": "10",
"bsc-testnet": "11",
"bsc-testnet-archival": "12",
"btc-mainnet": "2",
"eth-mainnet": "21",
"eth-archival": "22",
"eth-archival-trace": "28",
"eth-goerli": "26",
"poa-kovan": "24",
"eth-rinkeby": "25",
"eth-ropsten": "23",
"evmos-mainnet": "46",
"fuse-mainnet": "5",
"fuse-archival": "000A",
"gnosischain-mainnet": "27",
"gnosischain-archival": "000C",
"harmony-0": "40",
"harmony-0-archival": "0A40",
"harmony-1": "41",
"harmony-1-archival": "0A41",
"harmony-2": "42",
"harmony-2-archival": "0A42",
"harmony-3": "43",
"harmony-3-archival": "0A43",
"iotex-mainnet": "44",
"oec-mainnet": "47",
"mainnet": "1",
"poly-mainnet": "9",
"poly-archival": "000B",
"poly-mumbai": "000F",
"poly-mumbai-archival": "00AF",
"solana-mainnet": "6",
"solana-testnet": "31"
}

View File

@ -1,6 +1,6 @@
import { proxyRpcMethod } from "./common.js"; import { proxyRpcMethod } from "./common.js";
import { RpcMethodList } from "./index.js"; import { RpcMethodList } from "./index.js";
import chainNetworks from "../networks.json"; import chainNetworks from "@lumeweb/pokt-rpc-endpoints";
export default { export default {
getAccountInfo: proxyRpcMethod("getAccountInfo", [ getAccountInfo: proxyRpcMethod("getAccountInfo", [

View File

@ -1,4 +1,4 @@
import chainNetworks from "./networks.json"; import chainNetworks from "@lumeweb/pokt-rpc-endpoints";
type networks = { [net: string]: string }; type networks = { [net: string]: string };

View File

@ -1070,6 +1070,10 @@
dependencies: dependencies:
libskynet "^0.0.62" libskynet "^0.0.62"
"@lumeweb/pokt-rpc-endpoints@https://github.com/LumeWeb/pokt-rpc-endpoints.git":
version "0.1.0"
resolved "https://github.com/LumeWeb/pokt-rpc-endpoints.git#0223b743f913aa46e914b1dc237ae2e12571d96d"
"@msgpackr-extract/msgpackr-extract-darwin-arm64@2.0.2": "@msgpackr-extract/msgpackr-extract-darwin-arm64@2.0.2":
version "2.0.2" version "2.0.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-2.0.2.tgz#01e3669b8b2dc01f6353f2c87e1ec94faf52c587" resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-2.0.2.tgz#01e3669b8b2dc01f6353f2c87e1ec94faf52c587"