Skip to content

Commit

Permalink
chore: change vega.xyz to vega.rocks (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
fkondej authored Aug 9, 2023
1 parent 5a534f6 commit 0e2a2d2
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions devnet1/vegawallet-devnet1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ name = "devnet1"
[API]

[API.GRPC]
Hosts = ["api.devnet1.vega.xyz:3007", "api.n06.devnet1.vega.xyz:3007", "api.n07.devnet1.vega.xyz:3007"]
Hosts = ["api.devnet1.vega.rocks:3007", "api.n06.devnet1.vega.rocks:3007", "api.n07.devnet1.vega.rocks:3007"]
Retries = 5

[API.GraphQL]
Hosts = ["https://api.devnet1.vega.xyz/graphql", "https://api.n06.devnet1.vega.xyz/graphql", "https://api.n07.devnet1.vega.xyz/graphql"]
Hosts = ["https://api.devnet1.vega.rocks/graphql", "https://api.n06.devnet1.vega.rocks/graphql", "https://api.n07.devnet1.vega.rocks/graphql"]

[API.REST]
Hosts = ["https://api.devnet1.vega.xyz", "https://api.n06.devnet1.vega.xyz", "https://api.n07.devnet1.vega.xyz"]
Hosts = ["https://api.devnet1.vega.rocks", "https://api.n06.devnet1.vega.rocks", "https://api.n07.devnet1.vega.rocks"]

[Apps]
Console = ""
Expand Down
6 changes: 3 additions & 3 deletions fairground/vegawallet-fairground.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ name = "fairground"
[API]

[API.GRPC]
Hosts = ["api.n00.testnet.vega.xyz:3007", "api.n06.testnet.vega.xyz:3007", "api.n07.testnet.vega.xyz:3007", "api.n08.testnet.vega.xyz:3007", "api.n09.testnet.vega.xyz:3007"]
Hosts = ["api.n00.testnet.vega.rocks:3007", "api.n06.testnet.vega.rocks:3007", "api.n07.testnet.vega.rocks:3007", "api.n08.testnet.vega.rocks:3007", "api.n09.testnet.vega.rocks:3007"]
Retries = 5

[API.GraphQL]
Hosts = ["https://api.n00.testnet.vega.xyz/graphql", "https://api.n06.testnet.vega.xyz/graphql", "https://api.n07.testnet.vega.xyz/graphql", "https://api.n08.testnet.vega.xyz/graphql", "https://api.n09.testnet.vega.xyz/graphql"]
Hosts = ["https://api.n00.testnet.vega.rocks/graphql", "https://api.n06.testnet.vega.rocks/graphql", "https://api.n07.testnet.vega.rocks/graphql", "https://api.n08.testnet.vega.rocks/graphql", "https://api.n09.testnet.vega.rocks/graphql"]

[API.REST]
Hosts = ["https://api.n00.testnet.vega.xyz", "https://api.n06.testnet.vega.xyz", "https://api.n07.testnet.vega.xyz", "https://api.n08.testnet.vega.xyz", "https://api.n09.testnet.vega.xyz"]
Hosts = ["https://api.n00.testnet.vega.rocks", "https://api.n06.testnet.vega.rocks", "https://api.n07.testnet.vega.rocks", "https://api.n08.testnet.vega.rocks", "https://api.n09.testnet.vega.rocks"]

[Apps]
Console = "https://console.fairground.wtf"
Expand Down
44 changes: 22 additions & 22 deletions mainnet-mirror/templates/nodes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"be": {
"node": "be",
"url": "be.mainnet-mirror.vega.xyz",
"url": "be.mainnet-mirror.vega.rocks",
"ethereum_address": "0x81021586e06eD7469AF3fa8bB6cadE753ACAa9Ea",
"vega_pub_key": "ec2bd31b32ddbd337be461d68abfcd65e96c53a0c98e60680a1638c886327486",
"id": "755c2d99a4a82c2a33b40c5637aedfea31970831f6f3f9e7dca6a8fc24c9f384",
Expand All @@ -16,7 +16,7 @@
},
"n00": {
"node": "n00",
"url": "n00.mainnet-mirror.vega.xyz",
"url": "n00.mainnet-mirror.vega.rocks",
"ethereum_address": "0xDAB4C95cfACDAcB54a042f01ea8b445C85796C01",
"vega_pub_key": "01def63d9c21ff7cd9bb730c765b5a2fa2a2dec6355040ef18260a0f6bc154ac",
"id": "42dc90f9437347acb4ecd2a22583ff01440bd4d9e7469c37f1855b2c139d14df",
Expand All @@ -31,7 +31,7 @@
},
"n01": {
"node": "n01",
"url": "n01.mainnet-mirror.vega.xyz",
"url": "n01.mainnet-mirror.vega.rocks",
"ethereum_address": "0x41200c18DeF4672D63151d0Bd745550813A571b3",
"vega_pub_key": "6a06202f9f941c57dc08f2205c126873a50e9886596c58570cb01613bf971624",
"id": "1aa54b8f80d2c735ec61a41f9df93ae011542952a3689ec08c6e7e68a24e2ea8",
Expand All @@ -46,7 +46,7 @@
},
"n02": {
"node": "n02",
"url": "n02.mainnet-mirror.vega.xyz",
"url": "n02.mainnet-mirror.vega.rocks",
"ethereum_address": "0xF0f056849412beEbc1400839173B85f197b18ED2",
"vega_pub_key": "f9ec67d0ad7702d46ddcaa48b5c77feb9387fcb3f7238851b19da01ae2a1b637",
"id": "11a35f82cd8278e57abee201aa0c40898da512279591da21b1f5b108c6fd4988",
Expand All @@ -61,7 +61,7 @@
},
"n03": {
"node": "n03",
"url": "n03.mainnet-mirror.vega.xyz",
"url": "n03.mainnet-mirror.vega.rocks",
"ethereum_address": "0x07bdA0608A59892026D2d7A4B93bee3e63975191",
"vega_pub_key": "978ca9994eae34552efb6cf0a19d73e7be32b12db47ebd15715b0d5d773f2b26",
"id": "3fb698988c87dd30a84d8d370133a4851860467051270dbf6c7a08ac20010c78",
Expand All @@ -76,7 +76,7 @@
},
"n04": {
"node": "n04",
"url": "n04.mainnet-mirror.vega.xyz",
"url": "n04.mainnet-mirror.vega.rocks",
"ethereum_address": "0x4F4Ce6a18258ee1FB39feB896084B7C67BD0C931",
"vega_pub_key": "9a3987fbf64eed12c4897e263022a3ab49bfd0310b0b7ee16ca47781c3e39143",
"id": "c1871169c52815066e48c03f0e4018177209cc17aeef5d5d49b26edc5709a79c",
Expand All @@ -91,7 +91,7 @@
},
"n05": {
"node": "n05",
"url": "n05.mainnet-mirror.vega.xyz",
"url": "n05.mainnet-mirror.vega.rocks",
"ethereum_address": "0x725aA6BE5128f42361CA5829fBDe1596e093E184",
"vega_pub_key": "18526460332331d15437cc1ac3507e5aff8455c39a6de2af8fc3aaa8ccf12072",
"id": "6f0cb16a6c52c1e3e23056978f16447ee1802d7338e1113a18d94347bff2d707",
Expand All @@ -106,7 +106,7 @@
},
"n06": {
"node": "n06",
"url": "n06.mainnet-mirror.vega.xyz",
"url": "n06.mainnet-mirror.vega.rocks",
"ethereum_address": "0x96BC5A406Cce3da99481AC4D9CDaE86567C51a3D",
"vega_pub_key": "01963f8522e38e531cb795e86526a165b37d44d1d1851782a6b2bf5e9b2b641a",
"id": "40d8640875319bdd28bf30779bca3e164b011b3e439c823d8108da2a31c2afaf",
Expand All @@ -121,7 +121,7 @@
},
"n07": {
"node": "n07",
"url": "n07.mainnet-mirror.vega.xyz",
"url": "n07.mainnet-mirror.vega.rocks",
"ethereum_address": "0x55d94Ed17Ba71384EE2e8DF6fB41244abc502456",
"vega_pub_key": "436d30f9ad2136d760d9936e4d47e5436d0f317421edd1d77668e6b0e42729f5",
"id": "282013636ad59fcc5f64a7d09077d02a3dabe8fa78b36539bc4bc6dd32b1ddef",
Expand All @@ -136,7 +136,7 @@
},
"n08": {
"node": "n08",
"url": "n08.mainnet-mirror.vega.xyz",
"url": "n08.mainnet-mirror.vega.rocks",
"ethereum_address": "0xf4D8F356f9767FeA0D48bbBa293Ad42e785A1D0A",
"vega_pub_key": "4cf67b6e0db05e18530166088da77c71a90d040dab95785777c9f24aed4a10a1",
"id": "af24c80d93d881d95749ccbaa3263798245148f95ca60ed9fa1e90a6314f28ba",
Expand All @@ -151,7 +151,7 @@
},
"n09": {
"node": "n09",
"url": "n09.mainnet-mirror.vega.xyz",
"url": "n09.mainnet-mirror.vega.rocks",
"ethereum_address": "0x63c324981f49f3323a7b3532bd5A1628145e2A7F",
"vega_pub_key": "150bacbf5fee923870e1c6cb99cee79046d9da20bdfd1ac6d4b3857e160b81fd",
"id": "256f3112b30a2f24db6c8c5b1ea1ecd2d4db1039e2d94e4427306c432c5c0775",
Expand All @@ -166,7 +166,7 @@
},
"n10": {
"node": "n10",
"url": "n10.mainnet-mirror.vega.xyz",
"url": "n10.mainnet-mirror.vega.rocks",
"ethereum_address": "0xE44BC019890c1e4Cc2c2e22D37f6b5Bb156105e2",
"vega_pub_key": "0d4c252c6e08bb78984408e3d7c0ea186c63dce434b9e5ac34b8a583a19f90da",
"id": "33486fb74c9479f30b74da64035bd7541b8da717cc065ea7e5b6d4bb9a317834",
Expand All @@ -181,7 +181,7 @@
},
"n11": {
"node": "n11",
"url": "n11.mainnet-mirror.vega.xyz",
"url": "n11.mainnet-mirror.vega.rocks",
"ethereum_address": "0xB677429788986308E1249B3829FE63915aaA272f",
"vega_pub_key": "e21c6c730cde5bfcf0457703c13b0ca454baa39f82691b3284e9c05210436801",
"id": "66e26a845606275c78f5a853cb03835ff629afdd988098f58ffcaf91d83f7d17",
Expand All @@ -196,7 +196,7 @@
},
"n12": {
"node": "n12",
"url": "n12.mainnet-mirror.vega.xyz",
"url": "n12.mainnet-mirror.vega.rocks",
"ethereum_address": "0x15Bd00f4CC7B8F2094330d319520fF2D0Fa0Ac5d",
"vega_pub_key": "1fb5935c0a0bda1f41f4517279d6e04c9dad3fe5e78415cb9c7adef07e8f159a",
"id": "679960095a19f7bbd873d9922e3630acc13475df07b6380616bb0470a9f21601",
Expand All @@ -211,7 +211,7 @@
},
"n13": {
"node": "n13",
"url": "n13.mainnet-mirror.vega.xyz",
"url": "n13.mainnet-mirror.vega.rocks",
"ethereum_address": "0x57555B454070128651C8E4FBC439534b1d4082CE",
"vega_pub_key": "092b44f5197f90e4388c0f5e3bf3f4af892e096cde4b4d268c4546657ac7d86f",
"id": "581988f2b7ac50550b8c158090e02fb7419ec83ab819db24856ff1967496c657",
Expand All @@ -226,7 +226,7 @@
},
"n14": {
"node": "n14",
"url": "n14.mainnet-mirror.vega.xyz",
"url": "n14.mainnet-mirror.vega.rocks",
"ethereum_address": "0x3287C4EBBB353369682eb3A2598A4FeDCee1bd1f",
"vega_pub_key": "a7f6dcc954550c791bd07fd79e747bfa3ca766f034b1e17780e9a580da696d3a",
"id": "ebcfe7f21314519895d7d483967f098f732e203eaf6496182900e141e5e354a5",
Expand All @@ -241,7 +241,7 @@
},
"n15": {
"node": "n15",
"url": "n15.mainnet-mirror.vega.xyz",
"url": "n15.mainnet-mirror.vega.rocks",
"ethereum_address": "0x08F5e63a98ef3be6B8dF495d11fEB7483b878356",
"vega_pub_key": "3acb233cdfbead6e349ab7805fc9e150a6acf0c718fd01b0ad8bdaac60df0ffa",
"id": "75d5ee396f08ce4fbca03d941a65b25a0d0f2972387fead6a7b9779f0f66b30e",
Expand All @@ -256,7 +256,7 @@
},
"n16": {
"node": "n16",
"url": "n16.mainnet-mirror.vega.xyz",
"url": "n16.mainnet-mirror.vega.rocks",
"ethereum_address": "0xC3D2Cb544287cb450F14AE46446Eff39B7daD476",
"vega_pub_key": "7c952d9b45b51bd2d799dcd31ec8cf8eab00470159a366a4f8e3717a416ecd84",
"id": "47ffc325fa0b066d7d8b7685b65293bd98873788c7bda8754dc0a30e177d063b",
Expand All @@ -271,7 +271,7 @@
},
"n17": {
"node": "n17",
"url": "n17.mainnet-mirror.vega.xyz",
"url": "n17.mainnet-mirror.vega.rocks",
"ethereum_address": "0x53535dB04EECd1cc14a7E4ABd709E67E9968039A",
"vega_pub_key": "a3cc228bc3230ec1798dc3f5feaa88d13685c4006b097789bb586430cdcc65cd",
"id": "acd491ddd999d97808838d81e80e994b74a17b8c7946c1a946ca331312fc64e5",
Expand All @@ -286,7 +286,7 @@
},
"n18": {
"node": "n18",
"url": "n18.mainnet-mirror.vega.xyz",
"url": "n18.mainnet-mirror.vega.rocks",
"ethereum_address": "0xeaa661b0520F9FE3C695c9842acDca9336FEc226",
"vega_pub_key": "a1959f63af832be2a68cf14ae51dd4e12f03dd71c1b3423985ac2ad97e978f2d",
"id": "b1400074429057dcbc545bb0270c058c4d8953aa8c3c11a9aa0377aa49217153",
Expand All @@ -301,7 +301,7 @@
},
"n19": {
"node": "n19",
"url": "n19.mainnet-mirror.vega.xyz",
"url": "n19.mainnet-mirror.vega.rocks",
"ethereum_address": "0xBa10A034ee292C417B86eD2A7307d346B2B7c721",
"vega_pub_key": "c78edcbd97b58541610b57caf28925df19f8626599fb258a9c44c496d755c03c",
"id": "92d07f0da9d7e4f6c9aa6c36e1707acbf07176c71b0a6b51cfbe90cc39fe0d68",
Expand All @@ -316,7 +316,7 @@
},
"n20": {
"node": "n20",
"url": "n20.mainnet-mirror.vega.xyz",
"url": "n20.mainnet-mirror.vega.rocks",
"ethereum_address": "0xe05997c99050cD877e79C268d4Fc3A5893D10252",
"vega_pub_key": "a003e1d3831d81b50eb179e8af425ddef6758e19cc230ea07d8c4f7eb9a555da",
"id": "eb498075aded93b7197f9d18f6b8dd15faec8de01fff42bf150a2a73c21aedfe",
Expand Down
12 changes: 6 additions & 6 deletions scripts/cmd/generateVegawalletConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ func RunGenerateVegawalletConfig(args GenerateVegawalletConfigArgs) error {
Host: "127.0.0.1",
}

data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.vega.xyz:3007", args.VegaNetworkName))
data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.vega.xyz", args.VegaNetworkName))
data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.vega.xyz/graphql", args.VegaNetworkName))
data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.vega.rocks:3007", args.VegaNetworkName))
data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.vega.rocks", args.VegaNetworkName))
data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.vega.rocks/graphql", args.VegaNetworkName))

// sort node ids - to minimise changes to generated config
sort.Strings(args.DataNodeIds)

for _, nodeId := range args.DataNodeIds {
data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.%s.vega.xyz:3007", nodeId, args.VegaNetworkName))
data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.%s.vega.xyz", nodeId, args.VegaNetworkName))
data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.%s.vega.xyz/graphql", nodeId, args.VegaNetworkName))
data.API.GRPC.Hosts = append(data.API.GRPC.Hosts, fmt.Sprintf("api.%s.%s.vega.rocks:3007", nodeId, args.VegaNetworkName))
data.API.REST.Hosts = append(data.API.REST.Hosts, fmt.Sprintf("https://api.%s.%s.vega.rocks", nodeId, args.VegaNetworkName))
data.API.GraphQL.Hosts = append(data.API.GraphQL.Hosts, fmt.Sprintf("https://api.%s.%s.vega.rocks/graphql", nodeId, args.VegaNetworkName))
}
data.API.GRPC.Retries = 5
data.Console.URL = "" // fmt.Sprintf("%s.vega.trading", args.VegaNetworkName)
Expand Down

0 comments on commit 0e2a2d2

Please sign in to comment.