This guide covers how to use a mobile node and Hostel on your laptop to mint location proofs (”Presence Claims”) on the FOAM network. Soon, a mobile-only experience will be supported.

1️⃣ Add FOAM Network to MetaMask (One Time)

One time event only. Before you mint Presence Claims for the first time, you will need to add the FOAM OP dev network to your crypto wallet (recommend MetaMask or Coinbase Wallet) you plan to use to mint Presence Claims. If you have already done this, you can skip it.

  1. Open crypto wallet (highly recommend mobile-wallet, required to mint PCs on mobile).
  2. Click the network dropdown, then the Add network button.
  3. On mobile, select Custom networks. On laptop, select the Add a network manually.
  4. Add the network info below:
    1. Network name: FOAM L2 Devnet
    2. New RPC URL: https://devnet-l2.foam.space/rpc
    3. Chain ID: 901
    4. Currency symbol: ETH
    5. Block explorer URL: https://devnet-l2.foam.space
  5. Click Save or Add, and then switch to the FOAM Devnet in your MetaMask wallet.

2️⃣ Connect Wallet & Sync Mobile Node (One Time)

One time event only. Sign in to Hostel with your wallet and pair (”sync”) mobile node. You must use Hostel on a computer (not mobile) for this initial config step. If you have already done this, skip it.

🅰️ Connect Wallet

Connect wallet to desktop Hostel. Play at same time as video to right.

Connect wallet to desktop Hostel. Play at same time as video to right.

Mobile wallet connection

Mobile wallet connection

  1. Navigate to Hostel on your computer (not mobile) and sign in using the Web3 sign-in option.

    ⚠️ If you face any issues, clear your browser cache and cookies or use Incognito Mode, and try again.

  2. Select whether to connect with a browser wallet or WalletConnect.

    ⚠️ We highly recommend using WalletConnect so you can mint easily on-the-go with a mobile wallet, so the following steps focus on that flow.

  3. Scan the QR code with your phone camera and go through the steps specified in your mobile wallet to connect it to the app. You will need to connect to the app, and then sign a message.

🅱️ Sync Mobile Node

Sync Mobile Node using desktop Hostel.

Sync Mobile Node using desktop Hostel.