generated from Phala-Network/lensapi-oracle-consumer-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.local
34 lines (27 loc) · 2.16 KB
/
.env.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Template for Hardhat environment variables.
# To use this template, copy this file, rename it .env, and fill in the values. Do not use these mock values when
# deploying your LensAPI Oracle.
# If not set, we provide default values (check `hardhat.config.ts`) so developers can start prototyping out of the box,
# but we recommend getting your own API Keys for Production Apps.
# To access the values stored in this .env file you can use: process.env.VARIABLENAME
POLYGON_RPC_URL="https://polygon.g.alchemy.com/v2/<API-KEY>"
MUMBAI_RPC_URL="https://polygon-mumbai.g.alchemy.com/v2/<API-KEY>"
DEPLOYER_PRIVATE_KEY=0x54470b8bcb4329dd926594165409c9a33941ecb37451765d00752faf79ed2a81
POLYGONSCAN_API_KEY=DNXJA8RX2Q3VZ4URQIWP7Z68CJXQZSC6AW
# More info can be found in the `README.md`. For Polgon mainnet deployments of the LensAPI Oracle at https://bricks.phala.network,
# set the `POLYGON_LENSAPI_ORACLE_ENDPOINT`.
# For Polygon Mumbai testnet deployments of the LensAPI Oracle at https://bricks-poc5.phala.network set the `MUMBAI_LENSAPI_ORACLE_ENDPOINT`.
POLYGON_LENSAPI_ORACLE_ENDPOINT=0x0e9e628d715003ff5045fc92002c67ddab364683
MUMBAI_LENSAPI_ORACLE_ENDPOINT=0xa31cb575847033341a1af63ac86fee33818a4838
# After executing the `npx hardhat deploy --network <network>`, the deployed consumer contract address will be returned
# that address should be set to `POLYGON_CONSUMER_CONTRACT_ADDRESS` for Polygon mainnet deployment and `MUMBAI_CONSUMER_CONTRACT_ADDRESS`
# for Polygon Mumbai testnet deployment
POLYGON_CONSUMER_CONTRACT_ADDRESS=0xad5C96e026D4D00c9a6Fcd1AA2E4958a5155AD03
MUMBAI_CONSUMER_CONTRACT_ADDRESS=0x5462964078808abc96f7F45Ff7f3158B819cD7E3
# The encypt passphrase for the exported polkadot wallet JSON file.
# If you import your polkadot-account.json file then define POLKADOT_WALLET_PASSPHRASE
# Else define POLKADOT_WALLET_SURI (ex. POLKADOT_WALLET_SURI=//ALICE or POLKADOT_WALLET_SURI="this is a mnemonic phrase")
POLKADOT_WALLET_PASSPHRASE=
POLKADOT_WALLET_SURI="raven valley laugh wait grid typical deny output discover situate bleak scare"
# When calling the yarn update-function, ensure that you set the WORKFLOW_ID to the Phat Contract function workflow you want to update.
WORKFLOW_ID=