Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
212b7c34
Commit
212b7c34
authored
Aug 05, 2025
by
adadachao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
beta up
parent
6c1c10b3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
12 deletions
+13
-12
.env.base
configs/envs/.env.base
+2
-2
.env.common
deploy/tools/envs-validator/test/.env.common
+1
-1
testnet.svg
public/static/labels/testnet.svg
+1
-4
testnet_.svg
public/static/labels/testnet_.svg
+4
-0
networks.ts
types/networks.ts
+1
-1
TestnetWarning.tsx
ui/shared/alerts/TestnetWarning.tsx
+1
-1
TestnetBadge.tsx
ui/snippets/navigation/TestnetBadge.tsx
+1
-1
NavigationDesktop.tsx
ui/snippets/navigation/vertical/NavigationDesktop.tsx
+1
-1
TxInfo.pw.tsx
ui/tx/details/TxInfo.pw.tsx
+1
-1
No files found.
configs/envs/.env.base
View file @
212b7c34
...
@@ -52,9 +52,9 @@ NEXT_PUBLIC_NETWORK_EXPLORERS=[{'title':'Moralis','logo':'https://raw.githubuser
...
@@ -52,9 +52,9 @@ NEXT_PUBLIC_NETWORK_EXPLORERS=[{'title':'Moralis','logo':'https://raw.githubuser
NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/base.svg
NEXT_PUBLIC_NETWORK_ICON=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-icons/base.svg
NEXT_PUBLIC_NETWORK_ID=10323
NEXT_PUBLIC_NETWORK_ID=10323
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/base.svg
NEXT_PUBLIC_NETWORK_LOGO=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/network-logos/base.svg
NEXT_PUBLIC_NETWORK_NAME=Mova
Mars TestNet
NEXT_PUBLIC_NETWORK_NAME=Mova
Beta
NEXT_PUBLIC_NETWORK_RPC_URL=https://rpc.mova.bitheart.org
NEXT_PUBLIC_NETWORK_RPC_URL=https://rpc.mova.bitheart.org
NEXT_PUBLIC_NETWORK_SHORT_NAME=Mova
Mars TestNet
NEXT_PUBLIC_NETWORK_SHORT_NAME=Mova
Beta
NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE=validation
NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE=validation
NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true
NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED=true
NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/base-mainnet.png
NEXT_PUBLIC_OG_IMAGE_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/og-images/base-mainnet.png
...
...
deploy/tools/envs-validator/test/.env.common
View file @
212b7c34
NEXT_PUBLIC_API_HOST=blockscout.com
NEXT_PUBLIC_API_HOST=blockscout.com
NEXT_PUBLIC_APP_HOST=localhost
NEXT_PUBLIC_APP_HOST=localhost
NEXT_PUBLIC_NETWORK_ID=1
NEXT_PUBLIC_NETWORK_ID=1
NEXT_PUBLIC_NETWORK_NAME=
Testnet
NEXT_PUBLIC_NETWORK_NAME=
Beta
public/static/labels/testnet.svg
View file @
212b7c34
<svg
viewBox=
"0 0 37 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1754408166937"
class=
"icon"
viewBox=
"0 0 1027 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"11740"
width=
"32.09375"
height=
"32"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><path
d=
"M105.8 165h816.4c57.88 0 104.8 46.266 104.8 103.338v474.324C1027 799.734 980.08 846 922.2 846H105.8C47.92 846 1 799.734 1 742.662V268.338C1 211.266 47.92 165 105.8 165z m0.47 33C66.909 198 35 229.468 35 268.286v474.428C35 781.532 66.909 813 106.27 813h816.46c39.361 0 71.27-31.468 71.27-70.286V268.286C994 229.468 962.091 198 922.73 198H106.27z m31.53 152.36h40.28V459.8c15.96-23.18 35.72-34.58 60.04-34.58 28.12 0 50.16 10.26 66.5 30.78 14.82 19 22.42 42.94 22.42 71.82 0 30.02-7.6 54.72-22.8 73.72-16.72 20.52-39.14 30.78-68.02 30.78-26.98 0-47.12-9.88-60.8-28.88V627H137.8V350.36zM229 457.9c-15.2 0-27.36 5.7-36.48 17.86-10.64 12.92-15.58 30.02-15.58 51.3v3.42c0 19.76 4.18 35.72 12.54 48.26 9.5 13.68 23.18 20.9 40.66 20.9 19.76 0 34.2-7.22 43.7-21.28 7.6-12.16 11.78-28.88 11.78-50.54s-4.18-38.38-12.54-49.78c-9.5-13.68-24.32-20.14-44.08-20.14z m219.26-32.68c31.92 0 56.62 10.64 73.34 32.68 15.2 19.76 23.18 47.12 23.56 82.08H396.2c1.52 19 6.46 33.82 15.58 44.08 9.12 9.88 21.66 15.2 37.62 15.2 14.06 0 25.46-3.42 34.2-9.88 6.84-5.32 12.54-14.06 17.86-25.46h40.28c-4.56 18.24-13.3 33.82-26.98 45.98-17.1 14.82-38.76 22.42-64.98 22.42-28.88 0-52.06-9.12-68.78-26.98-18.24-19-27.36-44.46-27.36-76.76 0-29.26 8.36-53.58 25.84-73.34 16.72-20.14 39.9-30.02 68.78-30.02z m1.14 33.06c-15.2 0-26.98 4.18-36.1 13.3-8.36 8.74-14.06 21.28-16.34 38h106.02c-3.8-34.2-21.66-51.3-53.58-51.3z m189.62-91.2v63.46h44.84v33.44h-44.84v114c0 5.32 1.14 9.12 3.42 11.78 2.28 2.28 5.7 3.8 10.64 3.8h25.84V627h-32.3c-16.72 0-29.26-4.56-36.86-13.3-7.6-8.36-11.02-20.14-11.02-35.72v-114h-36.48v-33.44h36.48V383.8l40.28-16.72z m165.68 58.14c28.88 0 50.16 7.22 63.84 21.66 11.78 12.54 17.86 30.78 17.86 54.72V627h-37.24v-27.74c-7.6 9.88-17.1 17.86-28.5 23.56-12.92 6.08-28.12 9.5-45.6 9.5-20.52 0-36.48-5.32-47.88-15.58-12.54-10.26-18.62-23.56-18.62-39.9 0-22.04 8.74-39.14 26.22-50.92 15.96-11.4 38.76-17.1 67.64-17.86l44.08-1.14v-7.98c0-27.36-14.82-41.04-44.46-41.04-12.54 0-22.8 2.28-30.4 6.84-9.12 5.32-14.82 13.3-17.1 24.32l-39.9-3.42c4.18-21.28 14.82-37.24 31.54-47.12 14.44-9.12 34.2-13.3 58.52-13.3z m41.8 110.96l-41.42 1.14c-36.86 0.76-55.1 13.68-55.1 38 0 7.6 3.04 13.68 9.5 18.62 6.08 4.94 14.44 7.6 24.7 7.6 17.1 0 31.54-5.32 43.7-15.58 12.16-10.26 18.62-23.18 18.62-38.38v-11.4z"
fill=
"#F56565"
p-id=
"11741"
></path></svg>
<path
d=
"M6.467 5.14v.62H4v-.62h2.467ZM4.719 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.2.05.307.05.08 0 .146-.005.198-.013l.124-.025.149.657a1.529 1.529 0 0 1-.545.087c-.207 0-.41-.045-.608-.133a1.207 1.207 0 0 1-.49-.406c-.128-.182-.192-.412-.192-.688V4Zm4.793 6c-.459 0-.854-.101-1.187-.304a2.039 2.039 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.016 2.016 0 0 1 1.129-.316c.247 0 .492.04.734.123.242.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.452-.499 1.267 1.267 0 0 0-.688-.182c-.292 0-.544.072-.757.216-.21.143-.373.329-.486.558-.114.23-.17.476-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .366-.027.52-.08a1.1 1.1 0 0 0 .406-.249 1.12 1.12 0 0 0 .264-.415l.707.199c-.075.24-.2.45-.375.632-.176.18-.393.32-.651.421-.258.1-.549.149-.871.149Zm6.455-3.793-.657.186a1.219 1.219 0 0 0-.182-.32.888.888 0 0 0-.323-.26 1.17 1.17 0 0 0-.524-.102c-.29 0-.534.067-.728.201-.192.132-.288.3-.288.505 0 .182.066.326.198.431.133.106.34.193.62.264l.707.173c.425.103.743.261.951.474.209.211.313.483.313.815 0 .273-.078.517-.235.732a1.562 1.562 0 0 1-.651.508 2.377 2.377 0 0 1-.973.186c-.486 0-.888-.105-1.206-.316-.318-.21-.52-.519-.604-.924l.694-.173c.066.256.191.448.375.576.186.128.429.192.728.192.341 0 .612-.072.812-.217.203-.146.304-.322.304-.526a.554.554 0 0 0-.174-.416c-.115-.113-.293-.198-.533-.254l-.793-.186c-.436-.103-.756-.263-.96-.48a1.163 1.163 0 0 1-.304-.821c0-.269.075-.507.226-.713a1.54 1.54 0 0 1 .623-.487c.264-.118.564-.176.899-.176.47 0 .84.103 1.109.31.27.206.463.479.576.818Zm3.259-1.067v.62h-2.467v-.62h2.466ZM17.477 4h.73v4.537c0 .207.03.362.09.465.063.101.141.17.236.205.098.033.2.05.307.05.08 0 .147-.005.198-.013l.124-.025.15.657a1.528 1.528 0 0 1-.545.087 1.49 1.49 0 0 1-.609-.133 1.207 1.207 0 0 1-.49-.406c-.127-.182-.192-.412-.192-.688V4Zm3.58 3.037v2.864h-.731V5.14h.706v.743h.062a1.36 1.36 0 0 1 .508-.582c.228-.15.521-.223.88-.223.323 0 .605.066.847.198.241.13.43.328.564.595.134.264.201.6.201 1.004V9.9h-.731V6.926c0-.374-.097-.666-.291-.874-.195-.211-.461-.316-.8-.316-.233 0-.442.05-.626.151a1.087 1.087 0 0 0-.43.444c-.106.194-.159.43-.159.706ZM27.427 10c-.459 0-.855-.101-1.187-.304a2.038 2.038 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.013 2.013 0 0 1 1.128-.316c.248 0 .493.04.735.123.241.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.453-.499 1.267 1.267 0 0 0-.688-.182c-.291 0-.543.072-.756.216-.21.143-.373.329-.486.558a1.64 1.64 0 0 0-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .365-.027.52-.08.157-.056.293-.139.406-.249a1.12 1.12 0 0 0 .264-.415l.706.199c-.074.24-.199.45-.375.632-.175.18-.392.32-.65.421a2.4 2.4 0 0 1-.871.149Zm5.153-4.86v.62h-2.466v-.62h2.467ZM30.834 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.199.05.306.05.08 0 .147-.005.199-.013l.124-.025.148.657a1.528 1.528 0 0 1-.546.087c-.206 0-.408-.045-.607-.133a1.207 1.207 0 0 1-.49-.406c-.127-.182-.191-.412-.191-.688V4Z"
fill=
"#F56565"
/>
\ No newline at end of file
<rect
x=
".2"
y=
".2"
width=
"36.267"
height=
"13.6"
rx=
"3.8"
stroke=
"#F56565"
stroke-width=
".4"
/>
</svg>
public/static/labels/testnet_.svg
0 → 100644
View file @
212b7c34
<svg
viewBox=
"0 0 37 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M6.467 5.14v.62H4v-.62h2.467ZM4.719 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.2.05.307.05.08 0 .146-.005.198-.013l.124-.025.149.657a1.529 1.529 0 0 1-.545.087c-.207 0-.41-.045-.608-.133a1.207 1.207 0 0 1-.49-.406c-.128-.182-.192-.412-.192-.688V4Zm4.793 6c-.459 0-.854-.101-1.187-.304a2.039 2.039 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.016 2.016 0 0 1 1.129-.316c.247 0 .492.04.734.123.242.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.452-.499 1.267 1.267 0 0 0-.688-.182c-.292 0-.544.072-.757.216-.21.143-.373.329-.486.558-.114.23-.17.476-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .366-.027.52-.08a1.1 1.1 0 0 0 .406-.249 1.12 1.12 0 0 0 .264-.415l.707.199c-.075.24-.2.45-.375.632-.176.18-.393.32-.651.421-.258.1-.549.149-.871.149Zm6.455-3.793-.657.186a1.219 1.219 0 0 0-.182-.32.888.888 0 0 0-.323-.26 1.17 1.17 0 0 0-.524-.102c-.29 0-.534.067-.728.201-.192.132-.288.3-.288.505 0 .182.066.326.198.431.133.106.34.193.62.264l.707.173c.425.103.743.261.951.474.209.211.313.483.313.815 0 .273-.078.517-.235.732a1.562 1.562 0 0 1-.651.508 2.377 2.377 0 0 1-.973.186c-.486 0-.888-.105-1.206-.316-.318-.21-.52-.519-.604-.924l.694-.173c.066.256.191.448.375.576.186.128.429.192.728.192.341 0 .612-.072.812-.217.203-.146.304-.322.304-.526a.554.554 0 0 0-.174-.416c-.115-.113-.293-.198-.533-.254l-.793-.186c-.436-.103-.756-.263-.96-.48a1.163 1.163 0 0 1-.304-.821c0-.269.075-.507.226-.713a1.54 1.54 0 0 1 .623-.487c.264-.118.564-.176.899-.176.47 0 .84.103 1.109.31.27.206.463.479.576.818Zm3.259-1.067v.62h-2.467v-.62h2.466ZM17.477 4h.73v4.537c0 .207.03.362.09.465.063.101.141.17.236.205.098.033.2.05.307.05.08 0 .147-.005.198-.013l.124-.025.15.657a1.528 1.528 0 0 1-.545.087 1.49 1.49 0 0 1-.609-.133 1.207 1.207 0 0 1-.49-.406c-.127-.182-.192-.412-.192-.688V4Zm3.58 3.037v2.864h-.731V5.14h.706v.743h.062a1.36 1.36 0 0 1 .508-.582c.228-.15.521-.223.88-.223.323 0 .605.066.847.198.241.13.43.328.564.595.134.264.201.6.201 1.004V9.9h-.731V6.926c0-.374-.097-.666-.291-.874-.195-.211-.461-.316-.8-.316-.233 0-.442.05-.626.151a1.087 1.087 0 0 0-.43.444c-.106.194-.159.43-.159.706ZM27.427 10c-.459 0-.855-.101-1.187-.304a2.038 2.038 0 0 1-.766-.855c-.177-.368-.266-.796-.266-1.283 0-.488.089-.917.266-1.29.18-.373.43-.665.75-.873a2.013 2.013 0 0 1 1.128-.316c.248 0 .493.04.735.123.241.083.462.217.66.403.198.184.356.428.474.732s.177.677.177 1.122v.31h-3.67v-.633h2.926c0-.268-.054-.508-.161-.719a1.214 1.214 0 0 0-.453-.499 1.267 1.267 0 0 0-.688-.182c-.291 0-.543.072-.756.216-.21.143-.373.329-.486.558a1.64 1.64 0 0 0-.17.738v.421c0 .36.061.665.185.915.126.248.3.437.524.567.223.128.482.192.778.192.192 0 .365-.027.52-.08.157-.056.293-.139.406-.249a1.12 1.12 0 0 0 .264-.415l.706.199c-.074.24-.199.45-.375.632-.175.18-.392.32-.65.421a2.4 2.4 0 0 1-.871.149Zm5.153-4.86v.62h-2.466v-.62h2.467ZM30.834 4h.731v4.537c0 .207.03.362.09.465.062.101.14.17.236.205.097.033.199.05.306.05.08 0 .147-.005.199-.013l.124-.025.148.657a1.528 1.528 0 0 1-.546.087c-.206 0-.408-.045-.607-.133a1.207 1.207 0 0 1-.49-.406c-.127-.182-.191-.412-.191-.688V4Z"
fill=
"#F56565"
/>
<rect
x=
".2"
y=
".2"
width=
"36.267"
height=
"13.6"
rx=
"3.8"
stroke=
"#F56565"
stroke-width=
".4"
/>
</svg>
types/networks.ts
View file @
212b7c34
import
type
{
ArrayElement
}
from
'
types/utils
'
;
import
type
{
ArrayElement
}
from
'
types/utils
'
;
export
const
NETWORK_GROUPS
=
[
'
Mainnets
'
,
'
Testnet
s
'
,
'
Other
'
]
as
const
;
export
const
NETWORK_GROUPS
=
[
'
Mainnets
'
,
'
Beta
s
'
,
'
Other
'
]
as
const
;
export
type
NetworkGroup
=
ArrayElement
<
typeof
NETWORK_GROUPS
>
;
export
type
NetworkGroup
=
ArrayElement
<
typeof
NETWORK_GROUPS
>
;
export
interface
FeaturedNetwork
{
export
interface
FeaturedNetwork
{
...
...
ui/shared/alerts/TestnetWarning.tsx
View file @
212b7c34
...
@@ -15,7 +15,7 @@ const TestnetWarning = ({ isLoading, className }: Props) => {
...
@@ -15,7 +15,7 @@ const TestnetWarning = ({ isLoading, className }: Props) => {
}
}
return
(
return
(
<
Alert
status=
"warning"
loading=
{
isLoading
}
className=
{
className
}
>
This is a
testnet
transaction only
</
Alert
>
<
Alert
status=
"warning"
loading=
{
isLoading
}
className=
{
className
}
>
This is a
beta
transaction only
</
Alert
>
);
);
};
};
...
...
ui/snippets/navigation/TestnetBadge.tsx
View file @
212b7c34
...
@@ -13,7 +13,7 @@ const TestnetBadge = ({ className }: Props) => {
...
@@ -13,7 +13,7 @@ const TestnetBadge = ({ className }: Props) => {
return
null
;
return
null
;
}
}
return
<
Image
className=
{
className
}
src=
"/static/labels/testnet.svg"
h=
"
14px
"
w=
"37px"
color=
"red.400"
/>;
return
<
Image
className=
{
className
}
src=
"/static/labels/testnet.svg"
h=
"
auto
"
w=
"37px"
color=
"red.400"
/>;
};
};
export
default
React
.
memo
(
chakra
(
TestnetBadge
));
export
default
React
.
memo
(
chakra
(
TestnetBadge
));
ui/snippets/navigation/vertical/NavigationDesktop.tsx
View file @
212b7c34
...
@@ -65,7 +65,7 @@ const NavigationDesktop = () => {
...
@@ -65,7 +65,7 @@ const NavigationDesktop = () => {
transitionDuration=
"normal"
transitionDuration=
"normal"
transitionTimingFunction=
"ease"
transitionTimingFunction=
"ease"
>
>
<
TestnetBadge
position=
"absolute"
pl=
{
3
}
w=
"49px"
top=
"
34
px"
/>
<
TestnetBadge
position=
"absolute"
pl=
{
3
}
w=
"49px"
top=
"
22
px"
/>
<
RollupStageBadge
position=
"absolute"
ml=
{
{
lg
:
isExpanded
?
3
:
'
10px
'
,
xl
:
isCollapsed
?
'
10px
'
:
3
}
}
top=
"34px"
/>
<
RollupStageBadge
position=
"absolute"
ml=
{
{
lg
:
isExpanded
?
3
:
'
10px
'
,
xl
:
isCollapsed
?
'
10px
'
:
3
}
}
top=
"34px"
/>
<
Box
<
Box
as=
"header"
as=
"header"
...
...
ui/tx/details/TxInfo.pw.tsx
View file @
212b7c34
...
@@ -98,7 +98,7 @@ test('l2', async({ render, page, mockEnvs }) => {
...
@@ -98,7 +98,7 @@ test('l2', async({ render, page, mockEnvs }) => {
});
});
});
});
test
(
'
without
testnet
warning
'
,
async
({
render
,
page
,
mockEnvs
})
=>
{
test
(
'
without
beta
warning
'
,
async
({
render
,
page
,
mockEnvs
})
=>
{
await
mockEnvs
([
await
mockEnvs
([
[
'
NEXT_PUBLIC_IS_TESTNET
'
,
'
false
'
],
[
'
NEXT_PUBLIC_IS_TESTNET
'
,
'
false
'
],
]);
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment