@@ -25,16 +25,19 @@ export const ADDR_BOUND = 2n ** 251n - MAX_STORAGE_ITEM_SIZE;
25
25
export enum BaseUrl {
26
26
SN_MAIN = 'https://alpha-mainnet.starknet.io' ,
27
27
SN_GOERLI = 'https://alpha4.starknet.io' ,
28
+ SN_SEPOLIA = 'https://alpha-sepolia.starknet.io' ,
28
29
}
29
30
30
31
export enum NetworkName {
31
32
SN_MAIN = 'SN_MAIN' ,
32
33
SN_GOERLI = 'SN_GOERLI' ,
34
+ SN_SEPOLIA = 'SN_SEPOLIA' ,
33
35
}
34
36
35
37
export enum StarknetChainId {
36
38
SN_MAIN = '0x534e5f4d41494e' , // encodeShortString('SN_MAIN'),
37
39
SN_GOERLI = '0x534e5f474f45524c49' , // encodeShortString('SN_GOERLI')
40
+ SN_SEPOLIA = '0x534e5f5345504f4c4941' , // encodeShortString('SN_SEPOLIA')
38
41
}
39
42
40
43
export enum TransactionHashPrefix {
@@ -50,14 +53,19 @@ export const UDC = {
50
53
ENTRYPOINT : 'deployContract' ,
51
54
} ;
52
55
53
- export const RPC_DEFAULT_VERSION = 'v0_5 ' ;
56
+ export const RPC_DEFAULT_VERSION = 'v0_6 ' ;
54
57
55
- export const RPC_GOERLI_NODES = [
56
- `https://starknet-testnet.public.blastapi.io/rpc/${ RPC_DEFAULT_VERSION } ` ,
57
- `https://free-rpc.nethermind.io/goerli-juno/${ RPC_DEFAULT_VERSION } ` ,
58
- ] ;
59
-
60
- export const RPC_MAINNET_NODES = [
61
- `https://starknet-mainnet.public.blastapi.io/rpc/${ RPC_DEFAULT_VERSION } ` ,
62
- `https://free-rpc.nethermind.io/mainnet-juno/${ RPC_DEFAULT_VERSION } ` ,
63
- ] ;
58
+ export const RPC_NODES = {
59
+ SN_GOERLI : [
60
+ `https://starknet-testnet.public.blastapi.io/rpc/${ RPC_DEFAULT_VERSION } ` ,
61
+ `https://free-rpc.nethermind.io/goerli-juno/${ RPC_DEFAULT_VERSION } ` ,
62
+ ] ,
63
+ SN_MAIN : [
64
+ `https://starknet-mainnet.public.blastapi.io/rpc/${ RPC_DEFAULT_VERSION } ` ,
65
+ `https://free-rpc.nethermind.io/mainnet-juno/${ RPC_DEFAULT_VERSION } ` ,
66
+ ] ,
67
+ SN_SEPOLIA : [
68
+ `https://starknet-sepolia.public.blastapi.io/rpc/${ RPC_DEFAULT_VERSION } ` ,
69
+ `https://free-rpc.nethermind.io/sepolia-juno/${ RPC_DEFAULT_VERSION } ` ,
70
+ ] ,
71
+ } ;
0 commit comments