Learn

Connect Users To Layer 2 Networks With The MetaMask Custom Networks API

img-ads




Connect Users To Layer 2 Networks With The MetaMask Custom Networks API

















You need to enable JavaScript to view this site.

By using this site, you agree to our use of cookies, which we use to analyse our traffic in accordance with our Privacy Policy. We also share information about your use of our site with our analytics partners.

Our new Custom Networks API is our latest step on the way to seamless cross-chain user experiences in MetaMask. It allows developers to recommend a variety of chains to their users, including Layer 2 networks.

by Dan FinlayMarch 3, 2021

Posted on March 3, 2021

metamask ama featured

Today the fundamentals of Ethereum are stronger than ever. 1.3 million transactions settle more than $12 billion daily. 74% of all stablecoins are issued on Ethereum, worth $30 billion. More than 5 million unique NFTs have been bought and sold for over $300 million. Amidst the burgeoning demand to access liquidity and activity on Ethereum, the network is straining under the weight of its own success. Moving more computation to Layer 2 networks is the best immediate solution to Ethereum’s high gas fees, and a number of such networks are already live. What’s missing is a simple user interface for switching between Mainnet and the various Layer 2 networks that an application might require.

Our new Custom Networks API is our latest step on the way to seamless cross-chain user experiences in MetaMask. It allows developers to recommend a variety of chains to their users, including Layer 2 networks like Polygon (formerly Matic), Arbitrum, and Optimism; sidechains like SKALE and xDAI; and indeed any EVM-compatible chain, including enterprise networks and testnets. These networks are then added to the user’s network menu with a simple confirmation, and the user is able to switch between networks using the familiar network switching menu.

We are excited to support the growth of Layer 2 networks, and look forward to seeing what the Ethereum community will build with cheaper and faster transactions. Even so, keep in mind that not all networks are created equally, and they make different trade-offs in order to scale. Be sure to understand the security and reliability tradeoffs of any network you add to MetaMask, and ensure that you trust the site recommending a new network. We encourage all users to read our guide to using custom networks in MetaMask.

Check out our docs to start recommending L2 networks to your users. If you’re a wallet developer interested in implementing this method, you will also want to check out the EIP-3085.

img-ads

Leave a Comment

Your email address will not be published.

You may also like

Blockchain Markets Opinion Tech

Fetch.ai (FET) hits a 2-year high after DeFi integration and Bosch partnership

Artificial intelligence and machine learning are changing the face of commerce, computing and other technologies on a daily basis.

In its most basic form, the information gathered by artificial intelligence is really just data that can be used to make interpretations and blockchains are built for the storage and transmission of data.

Fetch.ai (FET) is a “Cambridge-based artificial intelligence lab” that has the goal of using distributed ledger technology to build a decentralized machine learning platform capable of securely transacting any form of data globally.

FET/USDT 4-hour chart. Source: TradingView

Data from Cointelegraph Markets and TradingView shows that the price of FET has surged 720% since the start of 2021 and this week the altcoin hit a new yearly high at $0.40.

Partnership announcements and DeFi integrations drive adoption

A scroll through the project’s Twitter feed shows that excitement began building at the end of…

View More Article
Blockchain Opinion

What Ethereum killer? On-chain data shows competitor networks are still behind

Ether (ETH) remains the second-largest cryptocurrency and it absolutely dominates the smart contract industry according to an array of network usage metrics. Even though the network has been overwhelmed by peak activity which is causing median fees to surpass $10, the network effect of its large user and developer base seems to be enough to sustain its position as the second ranked cryptocurrency by market capitalization.

Nevertheless, some key on-chain metrics are beginning to show a potential change in Etheruem’s supremacy, which raises the age old question of whether an “Ethereum killer” will be able to dethrone the top network?

Smart contracts Total Value Locked (TVL) ranking. Source: defillama.com

As shown above, the Ethereum network vastly dominates decentralized applications (dApps). Due to its high gas fees for transactions, when analyzing the number of active addresses, the Ethereum newtork appears to be at a disadvantage to its competitors.

Over the past…

View More Article
Bitcoin Business Investment Latest Markets Policy & Regulation Tech

Bitcoin nerves, Tesla told to dump crypto, NFT madness: Hodler’s Digest, Feb. 28–March 6

Coming every Saturday, Hodler’s Digest will help you track every single important news story that happened this week. The best (and worst) quotes, adoption and regulation highlights, leading coins, predictions and much more — a week on Cointelegraph in one link.

Top Stories This Week

Bitcoin traders worry as price remains pinned below $50,000

After reaching lows of $43,500 last Sunday, Bitcoin staged a comeback, managing to hit $52,000 on Wednesday. There was optimism that the correction was over and that BTC would now have the chance to return to all-time highs.

Alas, the best-laid plans of mice and men often go awry. Fast forward to this weekend, and Bitcoin is once again struggling to break above $50,000 — a psychologically important milestone. Now, the nerves are starting to set in.

A drop below recent lows of $46,000 could open the door to…

View More Article
Bitcoin Blockchain Business Tech

Basketball billionaires form NBA blockchain use case committee

Blockchain tech may soon become an integral part of the world’s largest basketball league. 

According to a report from Sportico yesterday, a group of some of the wealthiest and most powerful National Basketball Association team owners are forming a committee to investigate blockchain use cases for the NBA.

Called the Blockchain Advisory Subcommittee, members include Mark Cuban, Joe Tsai, Ted Leonsis, Steve Pagliuca, Vivek Ranadive and Ryan Sweeney. According to Sportico, the goal of the subcommittee is to “explore ways to integrate blockchain across the league’s business.”

Two obvious possible use cases include ticketing and collectibles. Blockchain-based ticketing has made significant strides and now has an active userbase, and Mark cuban in particular has been vocal about his support for using blockchain to enable his team to reap profits from secondhand sales and scalping.

Likewise, blockchain-based collectibles have found an unusually snug product-market fit with the…

View More Article
Bitcoin Blockchain Business Investment Markets Opinion Tech

Apple Pay integration and Staking 3.0 launch push COTI price to a new high

As big-name payment processors like Visa and Mastercard increasingly integrate blockchain technology into their payment rails, decentralized platforms offering the best solutions to issues like scalability and fast transaction times are gaining traction. 

COTI is one such platform that has been gaining momentum in recent weeks after a series of network upgrades and big announcements brought extra attention to the enterprise-grade fintech platform.

According to COTI’s website, the protocol focuses on empowering organizations to create their own payment solutions and digitize any form of currency as a way to save time and money.

COTI/USDT 4-hour chart. Source: TradingView

Data from Cointelegraph Markets and TradingView shows that the price of COTI has rocketed 345% over the past month, going from a low of $0.63 on Feb. 4 to a new all-time high of $0.283 on March 5, as investor excitement grows following…

View More Article
Blockchain Business Policy & Regulation Tech

No crypto ban in India: Finance Minister predicts “very calibrated” stance

Yet another “crypto ban” turns out to be temporary FUD.

In an interview with CNBC this morning, Indian Finance Minister Nirmala Sitharaman said that reports of a blanket ban on cryptocurrencies are overstated. While negotiations are ongoing, she said she expects the end result to be more tempered:

“Yes, a lot of negotiations, discussions are happening, with Reserve Bank,” said Sitharaman. “Obviously the Reserve Bank will be taking a quorum on how, what kind of unofficial currency, cryptocurrency will have to be planned, and how it has to be regulated. But also, we want to make sure that there’s a window available for all kinds of experiments which will have to take place in the crypto world.”

She went on to say that regulations won’t be as “severe” as have been previously reported. Authorities will “look inward” and take a “very calibrated” stance, in contrast to the “mixed messages coming in from…

View More Article
%d bloggers like this: