BlockScout utilizes the COIN
environment variable which pulls the associated market data from the Coinmarketcap.com API or CoinGecko API to provide pricing data throughout the application.
This variable can be set manually here: https://github.com/poanetwork/blockscout/blob/03061be2f710a1fc84c6ce555f676e8bb9dfa54d/apps/explorer/config/config.exs#L11​
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:
Content moved from: https://forum.poa.network/t/faq-how-can-i-customize-coin-symbol/1875​
​
​