From 77ec74b0c8694e6c9d0cd558a1f93df8f66470fe Mon Sep 17 00:00:00 2001 From: 16601314215 Date: Tue, 20 Aug 2024 20:10:21 +0800 Subject: [PATCH] add mainnet --- .env | 21 ++- apps/web-tura/src/chain-testnet.json | 241 +++++++++++++++++++++++++++ apps/web-tura/src/chain.json | 12 +- packages/ui/src/chain-testnet.json | 241 +++++++++++++++++++++++++++ packages/ui/src/chain.json | 12 +- 5 files changed, 510 insertions(+), 17 deletions(-) create mode 100644 apps/web-tura/src/chain-testnet.json create mode 100644 packages/ui/src/chain-testnet.json diff --git a/.env b/.env index ee72e7c..87879cb 100644 --- a/.env +++ b/.env @@ -1,8 +1,19 @@ -NEXT_PUBLIC_GRAPHQL_URL=https://testnet1.turablockchain.com/v1/graphql -NEXT_PUBLIC_GRAPHQL_WS=wss://testnet1.turablockchain.com/v1/graphql +NEXT_PUBLIC_GRAPHQL_URL=https://explorer.turablockchain.com/v1/graphql +NEXT_PUBLIC_GRAPHQL_WS=wss://explorer.turablockchain.com/v1/graphql NODE_ENV=production PORT=5000 -NEXT_PUBLIC_CHAIN_TYPE=testnet -NEXT_PUBLIC_NETWORK_NAME=testnet-tura -NEXT_PUBLIC_RPC_WEBSOCKET=wss://testnet1.turablockchain.com/websocket +NEXT_PUBLIC_CHAIN_TYPE=mainnet +NEXT_PUBLIC_NETWORK_NAME=mainnet-tura +NEXT_PUBLIC_RPC_WEBSOCKET=wss://explorer.turablockchain.com/websocket PROJECT_NAME=web-tura + + + +# NEXT_PUBLIC_GRAPHQL_URL=https://testnet1.turablockchain.com/v1/graphql +# NEXT_PUBLIC_GRAPHQL_WS=wss://testnet1.turablockchain.com/v1/graphql +# NODE_ENV=production +# PORT=5000 +# NEXT_PUBLIC_CHAIN_TYPE=testnet +# NEXT_PUBLIC_NETWORK_NAME=testnet-tura +# NEXT_PUBLIC_RPC_WEBSOCKET=wss://testnet1.turablockchain.com/websocket +# PROJECT_NAME=web-tura diff --git a/apps/web-tura/src/chain-testnet.json b/apps/web-tura/src/chain-testnet.json new file mode 100644 index 0000000..b300b0e --- /dev/null +++ b/apps/web-tura/src/chain-testnet.json @@ -0,0 +1,241 @@ +{ + "chainName": "base", + "title": "Tura Block Explorer", + "extra": { + "profile": true, + "graphqlWs": false + }, + "previewImage": "https://s3.bigdipper.live/desmos.png", + "themes": { + "default": "light", + "themeList": [ + "dark", + "light", + "deuteranopia", + "tritanopia" + ], + "dark": { + "primary": { + "main": "#FF835B", + "contrastText": "#FFFFFF" + }, + "background": { + "default": "#000000", + "paper": "#131316" + }, + "divider": "#282828", + "text": { + "primary": "#E6E6E6", + "secondary": "#C4C4C4" + }, + "custom": { + "general": { + "background": "#000000", + "surfaceOne": "#131316", + "surfaceTwo": "#212123", + "icon": "#999999" + }, + "fonts": { + "fontOne": "#E6E6E6", + "fontTwo": "#C4C4C4", + "fontThree": "#818181", + "fontFour": "#999999", + "fontFive": "#FFFFFF", + "highlight": "#4092CD" + }, + "primaryData": { + "one": "#F87255", + "two": "#FA9147", + "three": "#43BE7C", + "four": "#43A1BE" + }, + "results": { + "pass": "#1EC490", + "fail": "#FD3B4C" + }, + "tokenomics": { + "one": "#43A1BE", + "two": "#E3BB55", + "three": "#20D292" + }, + "condition": { + "zero": "#E6E6E6", + "one": "#1EC490", + "two": "#FF9338", + "three": "#FF608A" + }, + "charts": { + "zero": "#E6E6E6", + "one": "#43BE7C", + "two": "#FA9147", + "three": "#F44747", + "four": "#43A1BE", + "five": "#C25396" + }, + "tags": { + "zero": "#E8E8E8", + "one": "#2460FA", + "two": "#2BA897", + "three": "#E79726", + "four": "#F17053", + "five": "#DA4B4B", + "six": "#9438DC", + "seven": "#1A869D", + "eight": "#2C9950", + "nine": "#B49F37", + "ten": "#E9A852", + "eleven": "#E94687", + "twelve": "#C15EC4", + "thirteen": "#C388D9", + "fourteen": "#46AEE9", + "fifteen": "#58BC91", + "sixteen": "#90BC58", + "seventeen": "#E99E8E", + "eighteen": "#F0A479", + "nineteen": "#D37763", + "twenty": "#D9C788" + }, + "wallet": { + "background": "#5E5E5E", + "backgroundTwo": "#212123", + "surfaceOne": "#5E5C5C", + "surfaceTwo": "#D9D9D9", + "surfaceThree": "#4D4D4D", + "surfaceFour": "#414141", + "surfaceFive": "#777777", + "divider": "#34383E", + "textPrimary": "#000000", + "textSecondary": "#DDDDDD" + } + } + }, + "light": { + "primary": { + "main": "#FF835B", + "contrastText": "#FFFFFF" + }, + "background": { + "default": "#F8F8F8", + "paper": "#FFFFFF" + }, + "divider": "#E8E8E8", + "text": { + "primary": "#000000", + "secondary": "#414141" + }, + "custom": { + "general": { + "background": "#F8F8F8", + "surfaceOne": "#FFFFFF", + "surfaceTwo": "#F8F8F8", + "icon": "#999999" + }, + "fonts": { + "fontOne": "#000000", + "fontTwo": "#414141", + "fontThree": "#777777", + "fontFour": "#999999", + "fontFive": "#FFFFFF", + "highlight": "#4092CD" + }, + "primaryData": { + "one": "#F87255", + "two": "#FA9147", + "three": "#20D494", + "four": "#2FB6E0" + }, + "results": { + "pass": "#1EC490", + "fail": "#FD3B4C" + }, + "tokenomics": { + "one": "#2FB6E0", + "two": "#FFC93D", + "three": "#20D494" + }, + "condition": { + "zero": "#E6E6E6", + "one": "#1EC490", + "two": "#FF9338", + "three": "#FF608A" + }, + "charts": { + "zero": "#E6E6E6", + "one": "#20D494", + "two": "#FF8732", + "three": "#F44747", + "four": "#2FB6E0", + "five": "#E95EB1" + }, + "tags": { + "zero": "#E8E8E8", + "one": "#2460FA", + "two": "#2BA891", + "three": "#E79720", + "four": "#F17047", + "five": "#DA4B4B", + "six": "#9438DC", + "seven": "#1A869D", + "eight": "#2C9944", + "nine": "#B49F31", + "ten": "#E9A846", + "eleven": "#E94681", + "twelve": "#C15EC4", + "thirteen": "#C388D9", + "fourteen": "#46AEE9", + "fifteen": "#58BC91", + "sixteen": "#90BC58", + "seventeen": "#E99E8E", + "eighteen": "#F0A479", + "nineteen": "#D37763", + "twenty": "#D9C788" + }, + "wallet": { + "background": "#E8E8E8", + "backgroundTwo": "#FFFFFF", + "surfaceOne": "#5E5C5C", + "surfaceTwo": "#E8E7E8", + "surfaceThree": "#BDBDBD", + "surfaceFour": "#A1A1A1", + "surfaceFive": "#777777", + "divider": "#34383E", + "textPrimary": "#000000", + "textSecondary": "#222222" + } + } + } + }, + "keplr": "", + "chains": [ + { + "network": "testnet-tura", + "chainType": "Testnet", + "genesis": { + "time": "2024-08-16T11:58:50", + "height": 1 + }, + "prefix": { + "consensus": "turavalcons", + "validator": "turavaloper", + "account": "tura" + }, + "primaryTokenUnit": "utura", + "votingPowerTokenUnit": "utura", + "tokenUnits": { + "utura": { + "display": "TURA", + "exponent": 8 + } + }, + "endpoints": { + "graphql": "https://testnet1.turablockchain.com/v1/graphql", + "graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql", + "publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket" + }, + "marketing": { + "matomoURL": "https://analytics.bigdipper.live", + "matomoSiteID": "8" + } + } + ] +} diff --git a/apps/web-tura/src/chain.json b/apps/web-tura/src/chain.json index b300b0e..382f80b 100644 --- a/apps/web-tura/src/chain.json +++ b/apps/web-tura/src/chain.json @@ -208,10 +208,10 @@ "keplr": "", "chains": [ { - "network": "testnet-tura", - "chainType": "Testnet", + "network": "Mainnet-tura", + "chainType": "Mainnet", "genesis": { - "time": "2024-08-16T11:58:50", + "time": "2024-07-08T08:42:15", "height": 1 }, "prefix": { @@ -228,9 +228,9 @@ } }, "endpoints": { - "graphql": "https://testnet1.turablockchain.com/v1/graphql", - "graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql", - "publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket" + "graphql": "https://explorer.turablockchain.com/v1/graphql", + "graphqlWebsocket": "wss://explorer.turablockchain.com/v1/graphql", + "publicRpcWebsocket": "wss://explorer.turablockchain.com/websocket" }, "marketing": { "matomoURL": "https://analytics.bigdipper.live", diff --git a/packages/ui/src/chain-testnet.json b/packages/ui/src/chain-testnet.json new file mode 100644 index 0000000..b300b0e --- /dev/null +++ b/packages/ui/src/chain-testnet.json @@ -0,0 +1,241 @@ +{ + "chainName": "base", + "title": "Tura Block Explorer", + "extra": { + "profile": true, + "graphqlWs": false + }, + "previewImage": "https://s3.bigdipper.live/desmos.png", + "themes": { + "default": "light", + "themeList": [ + "dark", + "light", + "deuteranopia", + "tritanopia" + ], + "dark": { + "primary": { + "main": "#FF835B", + "contrastText": "#FFFFFF" + }, + "background": { + "default": "#000000", + "paper": "#131316" + }, + "divider": "#282828", + "text": { + "primary": "#E6E6E6", + "secondary": "#C4C4C4" + }, + "custom": { + "general": { + "background": "#000000", + "surfaceOne": "#131316", + "surfaceTwo": "#212123", + "icon": "#999999" + }, + "fonts": { + "fontOne": "#E6E6E6", + "fontTwo": "#C4C4C4", + "fontThree": "#818181", + "fontFour": "#999999", + "fontFive": "#FFFFFF", + "highlight": "#4092CD" + }, + "primaryData": { + "one": "#F87255", + "two": "#FA9147", + "three": "#43BE7C", + "four": "#43A1BE" + }, + "results": { + "pass": "#1EC490", + "fail": "#FD3B4C" + }, + "tokenomics": { + "one": "#43A1BE", + "two": "#E3BB55", + "three": "#20D292" + }, + "condition": { + "zero": "#E6E6E6", + "one": "#1EC490", + "two": "#FF9338", + "three": "#FF608A" + }, + "charts": { + "zero": "#E6E6E6", + "one": "#43BE7C", + "two": "#FA9147", + "three": "#F44747", + "four": "#43A1BE", + "five": "#C25396" + }, + "tags": { + "zero": "#E8E8E8", + "one": "#2460FA", + "two": "#2BA897", + "three": "#E79726", + "four": "#F17053", + "five": "#DA4B4B", + "six": "#9438DC", + "seven": "#1A869D", + "eight": "#2C9950", + "nine": "#B49F37", + "ten": "#E9A852", + "eleven": "#E94687", + "twelve": "#C15EC4", + "thirteen": "#C388D9", + "fourteen": "#46AEE9", + "fifteen": "#58BC91", + "sixteen": "#90BC58", + "seventeen": "#E99E8E", + "eighteen": "#F0A479", + "nineteen": "#D37763", + "twenty": "#D9C788" + }, + "wallet": { + "background": "#5E5E5E", + "backgroundTwo": "#212123", + "surfaceOne": "#5E5C5C", + "surfaceTwo": "#D9D9D9", + "surfaceThree": "#4D4D4D", + "surfaceFour": "#414141", + "surfaceFive": "#777777", + "divider": "#34383E", + "textPrimary": "#000000", + "textSecondary": "#DDDDDD" + } + } + }, + "light": { + "primary": { + "main": "#FF835B", + "contrastText": "#FFFFFF" + }, + "background": { + "default": "#F8F8F8", + "paper": "#FFFFFF" + }, + "divider": "#E8E8E8", + "text": { + "primary": "#000000", + "secondary": "#414141" + }, + "custom": { + "general": { + "background": "#F8F8F8", + "surfaceOne": "#FFFFFF", + "surfaceTwo": "#F8F8F8", + "icon": "#999999" + }, + "fonts": { + "fontOne": "#000000", + "fontTwo": "#414141", + "fontThree": "#777777", + "fontFour": "#999999", + "fontFive": "#FFFFFF", + "highlight": "#4092CD" + }, + "primaryData": { + "one": "#F87255", + "two": "#FA9147", + "three": "#20D494", + "four": "#2FB6E0" + }, + "results": { + "pass": "#1EC490", + "fail": "#FD3B4C" + }, + "tokenomics": { + "one": "#2FB6E0", + "two": "#FFC93D", + "three": "#20D494" + }, + "condition": { + "zero": "#E6E6E6", + "one": "#1EC490", + "two": "#FF9338", + "three": "#FF608A" + }, + "charts": { + "zero": "#E6E6E6", + "one": "#20D494", + "two": "#FF8732", + "three": "#F44747", + "four": "#2FB6E0", + "five": "#E95EB1" + }, + "tags": { + "zero": "#E8E8E8", + "one": "#2460FA", + "two": "#2BA891", + "three": "#E79720", + "four": "#F17047", + "five": "#DA4B4B", + "six": "#9438DC", + "seven": "#1A869D", + "eight": "#2C9944", + "nine": "#B49F31", + "ten": "#E9A846", + "eleven": "#E94681", + "twelve": "#C15EC4", + "thirteen": "#C388D9", + "fourteen": "#46AEE9", + "fifteen": "#58BC91", + "sixteen": "#90BC58", + "seventeen": "#E99E8E", + "eighteen": "#F0A479", + "nineteen": "#D37763", + "twenty": "#D9C788" + }, + "wallet": { + "background": "#E8E8E8", + "backgroundTwo": "#FFFFFF", + "surfaceOne": "#5E5C5C", + "surfaceTwo": "#E8E7E8", + "surfaceThree": "#BDBDBD", + "surfaceFour": "#A1A1A1", + "surfaceFive": "#777777", + "divider": "#34383E", + "textPrimary": "#000000", + "textSecondary": "#222222" + } + } + } + }, + "keplr": "", + "chains": [ + { + "network": "testnet-tura", + "chainType": "Testnet", + "genesis": { + "time": "2024-08-16T11:58:50", + "height": 1 + }, + "prefix": { + "consensus": "turavalcons", + "validator": "turavaloper", + "account": "tura" + }, + "primaryTokenUnit": "utura", + "votingPowerTokenUnit": "utura", + "tokenUnits": { + "utura": { + "display": "TURA", + "exponent": 8 + } + }, + "endpoints": { + "graphql": "https://testnet1.turablockchain.com/v1/graphql", + "graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql", + "publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket" + }, + "marketing": { + "matomoURL": "https://analytics.bigdipper.live", + "matomoSiteID": "8" + } + } + ] +} diff --git a/packages/ui/src/chain.json b/packages/ui/src/chain.json index b300b0e..382f80b 100644 --- a/packages/ui/src/chain.json +++ b/packages/ui/src/chain.json @@ -208,10 +208,10 @@ "keplr": "", "chains": [ { - "network": "testnet-tura", - "chainType": "Testnet", + "network": "Mainnet-tura", + "chainType": "Mainnet", "genesis": { - "time": "2024-08-16T11:58:50", + "time": "2024-07-08T08:42:15", "height": 1 }, "prefix": { @@ -228,9 +228,9 @@ } }, "endpoints": { - "graphql": "https://testnet1.turablockchain.com/v1/graphql", - "graphqlWebsocket": "wss://testnet1.turablockchain.com/v1/graphql", - "publicRpcWebsocket": "wss://testnet1.turablockchain.com/websocket" + "graphql": "https://explorer.turablockchain.com/v1/graphql", + "graphqlWebsocket": "wss://explorer.turablockchain.com/v1/graphql", + "publicRpcWebsocket": "wss://explorer.turablockchain.com/websocket" }, "marketing": { "matomoURL": "https://analytics.bigdipper.live",