Setup config for paid RPC methods and funding amounts with upstream ETH server (#423)

* Add config option for paid RPC methods

* Change rpcProviderNitroNode to nitro

* Add config option for funding amounts

* Handle review changes

* Refactor config and add a method to setup provider with payments

* Upgrade package versions

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
This commit is contained in:
prathamesh0
2023-10-04 16:10:54 +05:30
committed by GitHub
co-authored by Shreerang Kale
parent e203154ac7
commit ae60bbe1ce
16 changed files with 153 additions and 59 deletions
+5 -5
View File
@@ -1,10 +1,10 @@
{
"name": "@cerc-io/graph-node",
"version": "0.2.61",
"version": "0.2.62",
"main": "dist/index.js",
"license": "AGPL-3.0",
"devDependencies": {
"@cerc-io/solidity-mapper": "^0.2.61",
"@cerc-io/solidity-mapper": "^0.2.62",
"@ethersproject/providers": "^5.4.4",
"@graphprotocol/graph-ts": "^0.22.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
@@ -51,9 +51,9 @@
"dependencies": {
"@apollo/client": "^3.3.19",
"@cerc-io/assemblyscript": "0.19.10-watcher-ts-0.1.2",
"@cerc-io/cache": "^0.2.61",
"@cerc-io/ipld-eth-client": "^0.2.61",
"@cerc-io/util": "^0.2.61",
"@cerc-io/cache": "^0.2.62",
"@cerc-io/ipld-eth-client": "^0.2.62",
"@cerc-io/util": "^0.2.62",
"@types/json-diff": "^0.5.2",
"@types/yargs": "^17.0.0",
"bn.js": "^4.11.9",