FAQ: How can I customize coin symbol?

:exclamation: Content moved to: https://docs.blockscout.com/resources/faqs/how-can-i-customize-the-coin-symbol

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

This variable can also be set manually here:

Displayed Coin Symbol

BlockScout uses gettext to create the displayed coin symbols throughout the application. Gettext documentation can be found here. In BlockScout there are po and pot files in the BlockScoutWeb Umbrella application.

To edit these values, check the msgid/msgstr in the following files:

The default text will be listed as

msgid "ETH"
msgstr "POA"

To edit the POA symbol throughout the application replace the msgstr value with your target value.

1 Like