File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ const mainnetBase: EnvironmentTemplate = {
276276 baseUrl : 'https://explorer.plume.org' ,
277277 } ,
278278 megaeth : {
279- baseUrl : 'https://carrot .megaeth.com/rpc' , //TODO: add mainnet url when available
279+ baseUrl : 'https://mainnet .megaeth.com/rpc' ,
280280 } ,
281281 hbarevm : {
282282 baseUrl : 'https://mainnet.mirrornode.hedera.com/api/v1' ,
@@ -442,7 +442,7 @@ const testnetBase: EnvironmentTemplate = {
442442 baseUrl : 'https://evm-testnet.flowscan.io' ,
443443 } ,
444444 megaeth : {
445- baseUrl : 'https://megaeth-testnet.blockscout. com' ,
445+ baseUrl : 'https://carrot. megaeth. com/rpc ' ,
446446 } ,
447447 plume : {
448448 baseUrl : 'https://testnet-explorer.plume.org' ,
Original file line number Diff line number Diff line change @@ -5162,6 +5162,22 @@ export const tOfcErc20Coins = [
51625162 18 ,
51635163 underlyingAssetForSymbol ( 'tmantle:bgerch' )
51645164 ) ,
5165+
5166+ // MegaEth Network tokens
5167+ ofcerc20 (
5168+ '65df2f65-bb7a-4485-b725-a5fb2e6cd281' ,
5169+ 'ofcmegaeth:mega' ,
5170+ 'Mega' ,
5171+ 18 ,
5172+ underlyingAssetForSymbol ( 'megaeth:mega' )
5173+ ) ,
5174+ ofcerc20 (
5175+ '7bcafa71-a2f3-4a9e-98e2-4d3f655281f8' ,
5176+ 'ofcmegaeth:weth' ,
5177+ 'Wrapped Ether' ,
5178+ 18 ,
5179+ underlyingAssetForSymbol ( 'megaeth:weth' )
5180+ ) ,
51655181] ;
51665182
51675183function underlyingAssetForSymbol ( underlyingAssetValue : string ) : UnderlyingAsset {
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ export class CoinMap {
155155 98867 : 'tplume' ,
156156 98866 : 'plume' ,
157157 6342 : 'tmegaeth' ,
158+ 4326 : 'megaeth' ,
158159 295 : 'hbarevm' ,
159160 296 : 'thbarevm' ,
160161 196 : 'okb' ,
Original file line number Diff line number Diff line change @@ -2135,7 +2135,6 @@ class FlowTestnet extends Testnet implements EthereumNetwork {
21352135 nativeCoinOperationHashPrefix = '545' ;
21362136}
21372137
2138- // TODO update MegaETH explorer urls and chainId when available
21392138class MegaETH extends Mainnet implements EthereumNetwork {
21402139 name = 'MegaETH' ;
21412140 family = CoinFamily . MEGAETH ;
You can’t perform that action at this time.
0 commit comments