Add to metamask

MetaMask is a popular browser extension that allows users to interact with blockchain applications. This guide shows you how to integrate FIL into MetaMask using the Hyperspace testnet.

This page assumes that you already have MetaMask installed in your browser.

Simple method

The easiest way to add a Filecoin testnet to your MetaMask is by using the pre-configured options at chainlist.org.

  1. Go to chainlist.org.

  2. Enable the Testnets toggle and enter Filecoin into the search bar.

    Search for Filecoin testnets in Chainlist.

  3. Scroll down to find the Filecoin – Hyperspace testnet:

    Find the Hyperspace testnet.

  4. In MetaMask click Next.

    Click next in MetaMask.

  5. Click Connect:

    Click connect in MetaMask.

  6. Click Approve when prompted to Allow this site to add a network:

    Approve the new network in MetaMask

  7. Click Switch network when prompted by MetaMask:

    Switch networks in MetaMask.

  8. Open MetaMask from the browser extensions tab:

    Open MetaMask from the browser extensions tab.

  9. You should see the Filecoin Hyperspace testnet listed at the top:

    MetaMask on the Filecoin Hyperspace testnet.

Manual process

If you can’t or don’t want to use Chainlist, you can add the Hyperspace network to your MetaMask manually.

Prerequisites

Before we get started, you’ll need the following:

Steps

The process for integrating Filecoin into MetaMask is fairly simple but has some very specific variables that you must copy exactly.

  1. Open your browser and open the MetaMask plugin. If you haven’t opened the MetaMask plugin before, you’ll be prompted to create a new wallet. Follow the prompts to create a wallet.

  2. Click the user circle and select Settings:

    Click Settings from within MetaMask

  3. Select Networks.

  4. Click Add a network.

  5. Scroll down and click Add a network manually.

  6. Enter the following information into the fields:

    FieldValue
    Network nameFilecoin Hyperspace testnet
    New RPC URLhttps://api.hyperspace.node.glif.io/rpc/v1
    Chain ID3141
    Currency symboltFIL
  7. Pick one of the following block explorers, and enter the URL into the Block explorer (optional) field:

    • Glif Explorer: https://explorer.glif.io/?network=hyperspace
    • Filscan: https://hyperspace.filscan.io/
  8. Review the values in the fields and click Save.

  9. The Hyperspace testnet should now be shown in your MetaMask window.

  10. Done!