fhEVM
WebsiteLibrariesProduct & ServicesDevelopersSupport
0.6
0.6
  • Welcome to fhEVM
  • White paper
  • Getting Started
    • Overview
    • Quick Start
      • Remix
        • 1. Setting up Remix
        • 2. Connect your wallet to Remix
        • 3. Deploying ConfidentialERC20
        • 4. Interacting with the contract
      • Hardhat
        • Prerequisites
        • 1. Setting up Hardhat
        • 2. Writing contracts
        • 3. Testing in mocked mode
        • 4. Deploying the contract
        • 5. Interacting with the contract
  • Tutorials
    • See all tutorials
  • Smart contract
    • Key features
    • Configuration
    • FhEVM contracts
    • Supported types
    • Operations on encrypted types
    • Access Control List
      • ACL examples
    • Encrypted Inputs
    • Decryption
      • Decryption
      • Decryption in depth
      • Re-encryption
    • If sentences
    • Branching in FHE
    • AsEbool, asEuintXX, asEaddress and asEbytesXX operations
    • Generate random numbers
    • Error handling
    • Gas estimation
    • Debug decrypt
    • Using Foundry
  • Frontend
    • Setup
    • Build a web application
    • Using React.js
    • Using Next.js
    • Using Vue.js
    • Using Node or Typescript
    • Using the CLI
    • Common webpack errors
  • Explanations
    • Architectural overview
    • FHE on blockchain
    • fhEVM components
    • Encryption, decryption, re-encryption, and computation
  • References
    • Table of all addresses
    • Smart contracts - fhEVM API
    • Frontend - fhevmjs lib
    • Repositories
  • Developer
    • Contributing
    • Development roadmap
    • Release note
    • Feature request
    • Bug report
    • Status
Powered by GitBook

Libraries

  • TFHE-rs
  • Concrete
  • Concrete ML
  • fhEVM

Developers

  • Blog
  • Documentation
  • Github
  • FHE resources

Company

  • About
  • Introduction to FHE
  • Media
  • Careers
On this page
  • Prerequisites
  • Step 1. Setting up Sepolia testnet
  • Step 2. Connecting to Zama Plugin
  • Step 3. Connecting wallet to Remix

Was this helpful?

Export as PDF
  1. Getting Started
  2. Quick Start
  3. Remix

2. Connect your wallet to Remix

Previous1. Setting up RemixNext3. Deploying ConfidentialERC20

Last updated 4 months ago

Was this helpful?

In this guide, you'll learn how to connect your wallet and the Zama Plugin in Remix IDE to interact with fhEVM smart contracts.

Prerequisites

Before starting, ensure you have the following:

  • MetaMask or another Ethereum-compatible wallet installed.

  • Zama Plugin installed in Remix IDE ()

Note thate when using Remix to connect a wallet, issues may arise if multiple wallet extensions are installed (e.g., MetaMask, Phantom). This is a known issue of Remix that can affect wallet connection functionality. If you encounter errors, consider keeping only MetaMask as the active wallet extension, removing other wallet extensions, and refreshing Remix cookies and try to reconnect.

Step 1. Setting up Sepolia testnet

If you're using Metamask, the Sepolia testnet should be pre-configured. Follow the steps to set it up:

  1. Open MetaMask.

  2. Click the network dropdown at the top left corner, and select Sepolia Test Network.

  3. Ensure you have Sepolia ETH available. If you don’t have enough ETH, use a Sepolia faucet to request free SepoliaETH for testing:

If Sepolia isn’t visible:

  1. Go to Settings > Advanced.

  2. Toggle Show test networks to ON.

If Sepolia isn’t pre-configured in your wallet, add it manually:

  1. Open your wallet’s network settings.

  2. Click Add Network or Add Network Manually.

  3. Enter the following details:

    • Network Name: Sepolia

    • RPC URL: (provided by your node provider, e.g., Alchemy or Infura)

    • Chain ID: 11155111

    • Currency Symbol: SepoliaETH

    • Block Explorer URL: https://sepolia.etherscan.io

Step 2. Connecting to Zama Plugin

Zama Plugin provides the Zama Coprocessor - Sepolia configuration that ensures Remix and the wallet are properly set up to interact with fhEVM smart contracts.

To complete the configuration:

  1. Open the Zama Plugin in Remix from the side pannel.

  2. Click Connect your wallet.

  3. Confirm the connection in MetaMask.

  4. In the Zama Plugin, select Zama Coprocessor - Sepolia.

  5. Click Use this configuration to finalize the setup.

Once successful, you should see the green text in the terminal indicating that the configuration is ready.

Step 3. Connecting wallet to Remix

Follow the steps to connect your wallet to Remix:

  1. Open Remix and navigate to Deploy & run transactions.

  2. Under Environment, select Injected Provider - MetaMask.

  3. MetaMask will prompt a connection request. Click Connect to proceed.

  4. Choose your wallet address in Account.


Now that your wallet is connected and your SepoliaETH balance is ready, you can proceed to deploy the ConfidentialERC20Mintable contract!

See Setting up Remix
Alchemy Faucet
QuickNode Faucet