In Progress Add Mock

This commit is contained in:
2024-08-04 04:51:48 +08:00
parent 89363c573a
commit 6e9c6dd633
9 changed files with 254 additions and 78 deletions
+24
View File
@@ -0,0 +1,24 @@
// Price Feed Contract Addresses: https://docs.chain.link/docs/ethereum-addresses
const networkConfig = {
11155111: {
// Sepolia ETHUSD Address
// https://docs.chain.link/data-feeds/price-feeds/addresses#Sepolia%20Testnet
name: "Sepolia Testnet",
ethUsdPriceFeed: "0x694AA1769357215DE4FAC081bf1f309aDC325306",
rpcUrl: "https://eth-sepolia.g.alchemy.com/v2/mRFz7cxFuR6hAxYLr8oub4jbinOuocs_",
},
137: {
name: "Polygon Mainnet",
ethUsdPriceFeed: "0xF9680D99D6C9589e2a93a78A04A279e509205945",
rpcUrl: "https://polygon-mainnet.infura.io",
},
80002: {
name: "Polygon Amoy Testnet",
ethUsdPriceFeed: "0xF0d50568e3A7e8259E16663972b11910F89BD8e7",
rpcUrl: "https://rpc-amoy.polygon.technology",
},
};
module.exports = {
networkConfig,
};