Skip to content

Commit 360d609

Browse files
Temporarily remove Infura from demos (#844)
1 parent b27b17f commit 360d609

File tree

13 files changed

+15
-38
lines changed

13 files changed

+15
-38
lines changed

docs/3.datasources/3.evm_node.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ Examples below show how to connect to Infura and Alchemy nodes for Ethereum main
1212

1313
```yaml [dipdup.yaml]
1414
datasources:
15-
mainnet_infura_node:
16-
kind: evm.node
17-
url: https://mainnet.infura.io/v3/${INFURA_KEY}
18-
ws_url: wss://mainnet.infura.io/ws/v3/${INFURA_KEY}
1915
mainnet_alchemy_node:
2016
kind: evm.node
2117
url: https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}

docs/3.datasources/4.evm_subsquid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ You can also link the datasource to a specific node to allow realtime indexing:
2121
datasources:
2222
mainnet_node:
2323
kind: evm.node
24-
url: https://mainnet.infura.io/v3/${INFURA_KEY:-''}
25-
ws_url: wss://mainnet.infura.io/ws/v3/${INFURA_KEY:-''}
24+
url: https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
25+
ws_url: wss://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
2626
mainnet_subsquid:
2727
kind: evm.subsquid
2828
url: ${ARCHIVE_URL:-https://v2.archive.subsquid.io/network/ethereum-mainnet}

src/demo_evm_events/deploy/.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
55
HASURA_HOST=hasura
66
HASURA_SECRET=
7-
INFURA_KEY=''
87
LOGLEVEL=INFO
98
POSTGRES_DB=dipdup
109
POSTGRES_HOST=db

src/demo_evm_events/deploy/sqlite.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
# Create a copy with .env extension, fill it with your values and run DipDup with `--env-file` option.
33
#
44
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
5-
INFURA_KEY=''
65
LOGLEVEL=INFO
76
SQLITE_PATH=/tmp/demo_evm_events.sqlite

src/demo_evm_events/deploy/swarm.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
55
HASURA_HOST=demo_evm_events_hasura
66
HASURA_SECRET=
7-
INFURA_KEY=''
87
LOGLEVEL=INFO
98
POSTGRES_DB=dipdup
109
POSTGRES_HOST=demo_evm_events_db

src/demo_evm_events/dipdup.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ datasources:
77

88
mainnet_node:
99
kind: evm.node
10-
url: https://mainnet.infura.io/v3/${INFURA_KEY:-''}
11-
ws_url: wss://mainnet.infura.io/ws/v3/${INFURA_KEY:-''}
10+
url: https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
11+
ws_url: wss://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
1212

1313
mainnet_subsquid:
1414
kind: evm.subsquid

src/demo_uniswap/deploy/.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ALCHEMY_KEY=''
55
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
66
HASURA_HOST=hasura
77
HASURA_SECRET=
8-
INFURA_KEY=''
98
LOGLEVEL=INFO
109
POSTGRES_DB=dipdup
1110
POSTGRES_HOST=db

src/demo_uniswap/deploy/sqlite.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
#
44
ALCHEMY_KEY=''
55
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
6-
INFURA_KEY=''
76
LOGLEVEL=INFO
87
SQLITE_PATH=/tmp/demo_uniswap.sqlite

src/demo_uniswap/deploy/swarm.env.default

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ALCHEMY_KEY=''
55
ARCHIVE_URL=https://v2.archive.subsquid.io/network/ethereum-mainnet
66
HASURA_HOST=demo_uniswap_hasura
77
HASURA_SECRET=
8-
INFURA_KEY=''
98
LOGLEVEL=INFO
109
POSTGRES_DB=dipdup
1110
POSTGRES_HOST=demo_uniswap_db

src/demo_uniswap/dipdup.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,15 @@ datasources:
55
ethscan:
66
kind: abi.etherscan
77

8-
mainnet_infura_node:
9-
kind: evm.node
10-
url: https://mainnet.infura.io/v3/${INFURA_KEY:-''}
11-
ws_url: wss://mainnet.infura.io/ws/v3/${INFURA_KEY:-''}
12-
13-
mainnet_alchemy_node:
8+
mainnet_node:
149
kind: evm.node
1510
url: https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
1611
ws_url: wss://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY:-''}
1712

1813
mainnet_subsquid:
1914
kind: evm.subsquid
2015
url: ${ARCHIVE_URL:-https://v2.archive.subsquid.io/network/ethereum-mainnet}
21-
node:
22-
- mainnet_infura_node
23-
- mainnet_alchemy_node
16+
node: mainnet_node
2417

2518
contracts:
2619
factory:

0 commit comments

Comments
 (0)