File tree Expand file tree Collapse file tree 5 files changed +21
-1
lines changed
contract_manager/store/contracts Expand file tree Collapse file tree 5 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
- chain : starknet_sepolia
2
2
address : " 0x07f2b07b6b5365e7ee055bda4c0ecabd867e6d3ee298d73aea32b027667186d6"
3
3
type : StarknetPriceFeedContract
4
+ - chain : starknet_mainnet
5
+ address : " 0x062ab68d8e23a7aa0d5bf4d25380c2d54f2dd8f83012e047851c3706b53d64d1"
6
+ type : StarknetPriceFeedContract
Original file line number Diff line number Diff line change 1
1
- chain : starknet_sepolia
2
2
address : " 0x07fa5a689a768982ecb60ed05f39ca8f6efe623dd32ee6f3608662e3452a104c"
3
3
type : StarknetWormholeContract
4
+ - chain : starknet_mainnet
5
+ address : " 0x06fb1af6d323188105e6f10212316139dbe71650e1703af35331ceaad7aaf3bd"
6
+ type : StarknetWormholeContract
Original file line number Diff line number Diff line change @@ -35,6 +35,16 @@ elif [ "${PYTH_DEPLOY_MODE}" == "sepolia" ]; then
35
35
# STRK
36
36
fee_token_address1=0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d
37
37
38
+ # ETH
39
+ fee_token_address2=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
40
+ elif [ " ${PYTH_DEPLOY_MODE} " == " mainnet" ]; then
41
+ export STARKNET_RPC=https://starknet-mainnet.public.blastapi.io/rpc/v0_6
42
+
43
+ chain_id=60051 # starknet_mainnet
44
+
45
+ # STRK
46
+ fee_token_address1=0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d
47
+
38
48
# ETH
39
49
fee_token_address2=0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
40
50
else
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pythnetwork/pyth-starknet-js" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"description" : " Pyth Network Starknet Utilities" ,
5
5
"homepage" : " https://pyth.network" ,
6
6
"author" : {
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ export const ETH_TOKEN_ADDRESS =
15
15
export const PYTH_CONTRACT_ADDRESS_SEPOLIA =
16
16
"0x07f2b07b6b5365e7ee055bda4c0ecabd867e6d3ee298d73aea32b027667186d6" ;
17
17
18
+ /** Address of the Pyth contract on Starknet mainnet. */
19
+ export const PYTH_CONTRACT_ADDRESS_MAINNET =
20
+ "0x062ab68d8e23a7aa0d5bf4d25380c2d54f2dd8f83012e047851c3706b53d64d1" ;
21
+
18
22
/** A byte array encoded in a format compatible with starknet-js and with the Pyth contract. */
19
23
export class ByteBuffer {
20
24
num_last_bytes = 0 ;
You can’t perform that action at this time.
0 commit comments