0%
HomeCase Studies
Metropolis Makes It Easy To Deploy Smart Contracts Using Alchemy's Account Abstraction Infrastructure

Metropolis Makes It Easy To Deploy Smart Contracts Using Alchemy's Account Abstraction Infrastructure

metropolis case study hero image

Metropolis is on a mission to redefine smart contract deployment with Metal, a cutting-edge smart contract deployment and distribution platform. Since launching at EthDenver in late February, Metal has saved developers thousands of dollars in deployment fees.

Revolutionizing deployment tools for smart contract developers

Metropolis recognizes the challenges faced by developers: lack of standardization in deployment processes, complexity of managing and funding deployment accounts, and a need for user-friendly frontends for protocol interaction. Metal simplifies smart contract deployment with its intuitive tools, offering users seamless deployment experiences, including:

  1. One-click Deployments: Instantly configure and deploy contracts to any network with a single-click.

  2. Contract Library: Easily manage projects across networks and discover existing Metal projects to redeploy or build on top of.

  3. Sponsored deployments: Metropolis sponsors contract deployments on Base, relieving developers of the burden of funding deployment accounts.

How are they doing it?

This radically simple deployment workflow is made possible by ERC-4337 Account Abstraction, a standard that unlocks the ability to design new web3 user experiences including frictionless onboarding, gas sponsorship, transaction batching, and account automation.

Two core components of Account Abstraction are bundlers and paymasters.

The bundler’s purpose is to get UserOps to be included onchain. Bundler is a critical piece of the infrastructure; if the bundler goes down, users cannot transact. Alchemy’s Bundler APIs ensure seamless smart contract deployments by enabling Metal to send UserOps on behalf of its users all while providing best in-class reliability, scalability, and performance. The result? 350+ deployments since its launch.

Paymasters are smart contracts that enable flexible gas policies like allowing dapps to sponsor userOps or users to pay for gas in any ERC-20 token. Alchemy’s Gas Manager APIs, a managed service for ERC-4337 paymasters, empower Metal to subsidize gas fees for users, eliminating the need to fund deployment accounts with the native token and saving developers thousands of dollars in gas fees.

metropolis case study testimonial

What’s next on Metal’s roadmap?

The team behind Metal is committed to simplifying Smart Contract deployments by abstracting away complexities. Their roadmap includes expanding the contract library to offer developers a wider selection of projects to clone. Additionally, they will soon launch instant frontends providing end-users with user-friendly interfaces to interact with deployed contracts. Stay tuned!

Case study page related articles background

Related products

embedded accounts
Embedded Accounts
Card background image

Plug-n-play web3 accounts with web2 UX

Make wallets invisible. Simple, non-custodial accounts to onboard users and transact with web2 UX.

Code preview

Copied
// 1. Auth Your User const signer = new AlchemySigner({ client: { connection: { rpcUrl }, iframeConfig: { iframeContainerId: "alchemy-signer-iframe-container" }, }, }) signer.authenticate({ type: "email", email: "[email protected]", bundle }); // 2. Create an Account const account = await createMultiOwnerModularAccount({ transport, chain, signer, }); // 3. Use web3! account.signMessage({ message: "Hello, World!" });
Account Abstraction Infrastructure
Account Abstraction Infrastructure
Card background image

Smart contract wallet infra built for scale

ERC-4337 Bundler APIs. Gas Manager APIs. Account Abstraction SDK. Up to 35x cheaper than alternatives.

Base Logo
Base
Card background image

Secure, affordable, and developer-centric

Base's cutting-edge Layer 2 solution will empower the next generation of decentralized applications. Available today on Alchemy.

Code preview

Copied
const axios = require('axios'); const apiKey = 'YOUR_API_KEY'; // Replace with your Alchemy API key const url = `https://base-mainnet.g.alchemy.com/v2/${apiKey}`; const payload = { jsonrpc: '2.0', id: 1, method: 'eth_blockNumber', params: [] }; axios.post(url, payload) .then(response => { console.log('Block Number:', response.data.result); }) .catch(error => { console.error(error); });

FAQs

Frequently Asked Questions

  • Embedded Accounts are simple, non-custodial accounts that let developers easily onboard users and transact onchain with familiar web2 user experiences. With Embedded Accounts, developers can leverage email and passkey-based authentication, gas sponsorship, batched transactions, robust account recovery methods, and modular plugins across the most popular blockchains including Ethereum, Optimism, Arbitrum, Polygon, and Base.

  • Yes, Alchemy's Light Account and Modular Account are audited by Spearbit and Quanstamp. Audits for each account can be found on their respective Github repositories (linked above).

  • The fastest way to start building with account abstraction is using Embedded Accounts and following our brand new Quick Start guide.