LogoLogo
  • Discover
    • 🌜About Moonwell
    • 👥Contributors
    • 🌐Networks
    • 🔗Quick Links
  • Moonwell Overview
    • 🌙Getting Started
      • Wallet Connection
    • 🤝Lend
      • Supply
      • Withdraw
      • Claiming Rewards
      • Lend FAQ
    • 🤝Borrow
      • How to Borrow
      • Loan Repayment
      • Credit and Liquidations
      • Borrow FAQ
    • 🏦Vaults
      • Interacting with Morpho Vaults
      • Fund Wallet and Deposit
    • 🌐Virtual Accounts
      • Create Virtual Account
      • Accessing Virtual Account
      • FAQ
    • 🦋Isolated Markets
      • Interacting with Isolated Markets
    • 💲USDC Anywhere
      • Supply USDC
      • Borrow USDC
    • 💳Moonwell Card
      • Get Started
      • Load and Spend
      • Auto Load
      • FAQ
    • 💡Smart Wallet
      • Create
      • Connect
      • Getting Started
    • 🌙Tokens
      • WELL Transparency Report
      • WELL Transfer
      • WELL Migration (Base)
      • MFAM Transparency Report
    • 🫂Stake
      • How to Stake
      • How to Unstake
      • Claim Staking Rewards
  • Governance
    • 🗳️Moonwell Governance
      • 🪙Delegate
      • 📜Proposals
      • 🗳️Voting
      • 🔢Parameters
      • ❔FAQ
      • 📜DAO Constitutions
        • Moonwell DAO Constitution
        • Moonwell Apollo DAO Constitution
      • 🗣️Forum
    • 🏛️Moonwell Foundation
      • 🏦Treasury
      • 🔒Security Council
      • 📃Governing Documents
        • Foundation Bylaws
        • Foundation M&A
  • Protocol Information
    • ‼️Protocol Information
    • 📊Asset Risk Parameters
    • 📈Interest Rate Curves
    • ⚖️Reserve Auctions
    • 🛡️Security
    • 🔎Audits
    • 📜Contracts
    • 🖊️Terms of Service
  • Developers
    • 🪙mTokens
      • 📝Contract Interactions
    • 👮‍♀️Comptroller
      • 📝Contract Interactions
      • 🚦Risk Parameters
      • 🛡️Guardian Roles
    • 🏦4626 Vaults
      • 👷‍♂️ERC20 Vault Deployment
        • 🗒️4626 ERC20 Vault Interface
      • 👷‍♀️ETH Vault Deployment
        • 🗒️4626 ETH Vault Interface
        • 📍4626 ETH Router
    • 💻Moonwell SDK
    • 🔨Contribution Guidelines
Powered by GitBook
On this page
  1. Developers
  2. 4626 Vaults

ETH Vault Deployment

Previous4626 ERC20 Vault InterfaceNext4626 ETH Vault Interface

Last updated 9 months ago

To deploy an ETH Vault for your project or use case, follow these steps:

  1. Navigate to the Factory 4626 ETH Contract: Go to the on Basescan.

  2. Connect to Web3: Connect to Web3 using MetaMask or another wallet provider on the Basescan page.

  3. Find the Underlying Token Address: Call the underlying method on the . This will reveal the ERC20 token () that needs to be deposited to mint the mToken.

  4. Ensure Sufficient WETH Balance: Make sure the deploying wallet has a balance of at least 0.0001 WETH.

  5. Enter the mToken Address: In the Factory 4626 ETH contract, enter the mToken address. The address should be 0x628ff693426583D9a7FB391E54366292F509D457. You can double-check this address against the Moonwell WETH address on the page.

  1. Ensure Sufficient Token Balance: Make sure the deploying wallet has a balance of at least 0.0001 WETH.

  2. Approve Token Spending: Approve WETH to be spent by the ETH 4626 factory address. The approved amount should be at least 0.0001.

  3. Specify the Reward Recipient Address: Enter the reward recipient address that will receive the rewards on behalf of the 4626 depositors.

  1. Deploy the Vault: Click Write and confirm the transaction. This initial amount of WETH is used to create an initial mint amount in the vault that is burned. The burn amount helps mitigate share price inflation attacks where an attacker front-runs an initial depositor and increases the share price.

Once the transaction confirms, your new 4626 ETH Vault will have been created and will be ready for use.

🏦
👷‍♀️
Factory 4626 ETH contract page
Moonwell WETH mToken
WETH on Base
Contracts