chore(target_chains/ethereum): add Astar zkEVM mainnet network (#1336)

This commit is contained in:
Ali Behjati 2024-03-01 14:10:33 +03:30 committed by GitHub
parent c8acfc5660
commit 316816683e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 16 additions and 6 deletions

View File

@ -333,11 +333,16 @@
rpcUrl: https://zetachain-evm.blockpi.network/v1/rpc/public rpcUrl: https://zetachain-evm.blockpi.network/v1/rpc/public
networkId: 7000 networkId: 7000
type: EvmChain type: EvmChain
- id: astar_testnet - id: astar_zkevm_testnet
mainnet: false mainnet: false
rpcUrl: https://rpc.zkatana.gelato.digital rpcUrl: https://rpc.zkatana.gelato.digital
networkId: 1261120 networkId: 1261120
type: EvmChain type: EvmChain
- id: astar_zkevm
mainnet: true
rpcUrl: https://rpc.startale.com/astar-zkevm
networkId: 3776
type: EvmChain
- id: coredao_testnet - id: coredao_testnet
mainnet: false mainnet: false
rpcUrl: https://rpc.test.btcs.network rpcUrl: https://rpc.test.btcs.network

View File

@ -166,7 +166,7 @@
- chain: chiliz_spicy - chain: chiliz_spicy
address: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509" address: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509"
type: EvmPriceFeedContract type: EvmPriceFeedContract
- chain: astar_testnet - chain: astar_zkevm_testnet
address: "0x8D254a21b3C86D32F7179855531CE99164721933" address: "0x8D254a21b3C86D32F7179855531CE99164721933"
type: EvmPriceFeedContract type: EvmPriceFeedContract
- chain: coredao_testnet - chain: coredao_testnet
@ -286,3 +286,6 @@
- chain: blast - chain: blast
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmPriceFeedContract type: EvmPriceFeedContract
- chain: astar_zkevm
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmPriceFeedContract

View File

@ -51,7 +51,7 @@ export const RECEIVER_CHAINS = {
manta: 60032, manta: 60032,
chiliz: 60033, chiliz: 60033,
zetachain: 60034, zetachain: 60034,
astar: 60035, astar_zkevm: 60035,
coredao: 60036, coredao: 60036,
tomochain: 60037, tomochain: 60037,
stacks: 60038, stacks: 60038,
@ -107,7 +107,7 @@ export const RECEIVER_CHAINS = {
optimism_sepolia: 50033, optimism_sepolia: 50033,
chiliz_spicy: 50034, // Chiliz testnet chiliz_spicy: 50034, // Chiliz testnet
zetachain_testnet: 50035, zetachain_testnet: 50035,
astar_testnet: 50036, astar_zkevm_testnet: 50036,
coredao_testnet: 50037, coredao_testnet: 50037,
tomochain_testnet: 50038, tomochain_testnet: 50038,
stacks_testnet: 50039, stacks_testnet: 50039,

3
package-lock.json generated
View File

@ -59920,7 +59920,7 @@
}, },
"target_chains/ethereum/sdk/js": { "target_chains/ethereum/sdk/js": {
"name": "@pythnetwork/pyth-evm-js", "name": "@pythnetwork/pyth-evm-js",
"version": "1.33.0", "version": "1.34.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@pythnetwork/price-service-client": "*", "@pythnetwork/price-service-client": "*",
@ -60020,6 +60020,7 @@
} }
}, },
"target_chains/solana/sdk/js/pyth_solana_receiver": { "target_chains/solana/sdk/js/pyth_solana_receiver": {
"name": "@pythnetwork/pyth-solana-receiver",
"version": "0.1.0", "version": "0.1.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@pythnetwork/pyth-evm-js", "name": "@pythnetwork/pyth-evm-js",
"version": "1.33.0", "version": "1.34.0",
"description": "Pyth Network EVM Utils in JS", "description": "Pyth Network EVM Utils in JS",
"homepage": "https://pyth.network", "homepage": "https://pyth.network",
"author": { "author": {

View File

@ -12,6 +12,7 @@ export {
export const CONTRACT_ADDR: Record<string, string> = { export const CONTRACT_ADDR: Record<string, string> = {
// Mainnets // Mainnets
arbitrum: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", arbitrum: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
astar_zkevm: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
aurora: "0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9", aurora: "0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9",
avalanche: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6", avalanche: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
blast: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", blast: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",