How can I customize the coin symbol / name?

Coin Name

BlockScout utilizes the COIN environment variable which pulls the associated market data from the API or CoinGecko API to provide pricing data throughout the application.

Displayed Coin Symbol

BlockScout uses gettext to create the displayed coin symbols throughout the application. Gettext documentation is available here. In BlockScout there are po and pot files in the BlockScoutWeb Umbrella application.
The default text will be listed as (Example Instance):
  • msgid "ETH"
  • msgstr "POA"
To edit the POA symbol throughout the application, replace the msgstr value with your target value in the following files:
Export as PDF
Copy link