Sync Native Custom Chain Price based on CMC?

Please Help.
I’m running my own custom blockchain. its already listed on coinmarketcap and chainlist. my question is, how to sync the native coin price following cmc price? what should i do?

Screenshot 2023-05-03 at 03.00.32
Currently its showing random USD Value.

Thank you :slight_smile:

Hello @dalt20 !
Welcome to MetaMask community !

What CLI did you use when creating the EVM network? Perhaps you need to connect to the CMC API?

2 Likes

Thanks for replay, i use Besu for creating private EVM network :slight_smile:

is there any steps to make a correct price following cmc/cg for native coin price mate?

1 Like

@dalt20

I think you need to contact support or the Besu community for a definitive answer :relieved:, their website says:

If you have any questions about Besu for private networks, contact us on the [link to discord channel]

2 Likes

lets say we connect bnb on MetaMask. its showing correct usd value. how to do that for custom chain

@dalt20

I got your problem.
I have never used this provider to create a private EVM chain.
You need to contact support there.

2 Likes

how’s usually MetaMask getting the native price for new chain? should we do a PR on github? :slight_smile: i just ask some question on framework provider, they said its on MetaMask side. >.<

@dalt20 MetaMask takes the actual price from the RPC node

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.