Skip to content

Commit fff0c6c

Browse files
authored
Update por-address-list to multi chain (#3481)
1 parent 56daea2 commit fff0c6c

15 files changed

+129
-38
lines changed

.changeset/ten-bananas-agree.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/por-address-list-adapter': minor
3+
---
4+
5+
This EA supports multi chain. To add another chain, include two new env variable {NETWORK}\_RPC_URL and {NETWORK}\_RPC_CHAIN_ID. Then use contractAddressNetwork in param to select the chain. If there is no match, it will default to RPC_URL and CHAIN_ID. For example, BINANCE_RPC_URL and BINANCE_RPC_CHAIN_ID can be selected by "contractAddressNetwork": "binance"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-5.24 MB
Binary file not shown.
23.2 KB
Binary file not shown.
12.5 KB
Binary file not shown.

packages/sources/por-address-list/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
This document was generated automatically. Please see [README Generator](../../scripts#readme-generator) for more info.
66

7+
## Multi Chain
8+
9+
This EA supports multi chain. To add another chain, include two new env variable {NETWORK}\_RPC_URL and {NETWORK}\_RPC_CHAIN_ID. Then use contractAddressNetwork in param to select the chain. If there is no match, it will default to RPC_URL and CHAIN_ID. For example, BINANCE_RPC_URL and BINANCE_RPC_CHAIN_ID can be selected by "contractAddressNetwork": "binance"
10+
711
## Environment Variables
812

913
| Required? | Name | Description | Type | Options | Default |

0 commit comments

Comments
 (0)