GLIF Docs
V2 English
V2 English
  • Introduction
    • Quick Guide
    • GLIF Overview
    • Protocol Users
  • For Liquidity Providers
    • Benefits for token holders
    • GLIF Reward Mechanism - iFIL
    • Exit - Withdraw FIL
    • Asset Security
    • Risks
  • For Storage Providers
    • Benefits for Storage Providers
    • SP Liquidation Values
    • Borrowing Limits & DTL
    • Uses of Borrowed FIL
    • Liquidations
    • Borrowing Cost
    • Manage Miner Actors with Agents
    • Guarantor Model
  • Developer Resources
    • GLIF SDK
    • GLIF CLI
    • Deployed Contracts
  • TROUBLESHOOTING
    • FAQ
      • FAQ for Liquidity Providers
        • About GLIF
        • Deposit FIL
        • Withdraw FIL
        • Risk
        • Wallet Connection
        • GLIF Points
        • Miscellaneous
      • FAQ for Storage Providers
        • Borrow and Withdraw FIL
        • Key Financial Ratio
        • Payment
        • Liquidation
        • Agents
        • Transaction Issue
    • TUTORIALS
      • For Token Holders
        • Wallets
          • How to find your corresponding 0x/f410 wallet address
          • How to obtain a Ledger wallet as the intermediary wallet
          • How to obtain a burner wallet as the intermediary wallet
          • How to obtain a FilSnap wallet as the intermediary wallet
          • How to connect your wallet to Filecoin Mainnet
          • How to transfer FIL from a 0x address to an f1 address
          • How to create a multisig wallet on GLIF
        • Using the Pool
          • Deposit FIL into GLIF to earn rewards
          • How to deposit Filecoin from a hardware wallet with GLIF
          • How to deposit FIL to GLIF using multisig wallet
          • Withdraw FIL from GLIF
          • How to withdraw FIL from GLIF using a multisig wallet
        • Transfer FIL to/from exchanges
          • Transfer FIL between exchange and GLIF
          • Binance
            • Transfer FIL from Binance to GLIF
            • Transfer FIL from GLIF to Binance
          • MEXC
            • Transfer FIL from MEXC to GLIF
            • Transfer FIL from GLIF to MEXC
      • For Storage Providers
        • GLIF Agent Website Tutorial Part I— Preparation Setup
        • GLIF Agent Website Tutorial Part II — Create your Agent
        • GLIF Agent Website Tutorial Part III — Add Your Miner
        • How to withdraw FIL from the agent to an exchange at GLIF
      • How to Claim $GLF Airdrop
    • Glossary
    • Contact Us
  • Governance
    • Governance
    • Delegation
    • Proposals (GIPs)
    • Voting Process
Powered by GitBook
On this page
  • GLIF Agents — The Basics
  • Multisig wallets
  • GLIF Agent Multisig Owner Wallet Configuration
  • Prepare to Create an Agent
  • Next steps
  • Join our community!
  1. TROUBLESHOOTING
  2. TUTORIALS
  3. For Storage Providers

GLIF Agent Website Tutorial Part I— Preparation Setup

Understand the main components of GLIF Agents, and get prepared to create an Agent on the GLIF website

PreviousFor Storage ProvidersNextGLIF Agent Website Tutorial Part II — Create your Agent

Last updated 4 months ago

In Part I of the GLIF Agent Setup Tutorial, we’re covering two topics:

  1. Understand the different components of GLIF Agents and the basics of how they work.

  2. Prepare to create an Agent on the GLIF website.

If you already understand the basics and you’re ready to get started creating your Agent on the website, you can skip Part I and go directly to .

GLIF Agents — The Basics

  1. Agent — An Agent is a smart contract that borrows FIL from GLIF. You will deploy, own, and operate your Agent smart contract yourself (covered in of the tutorial). In order to borrow FIL, your Agent needs collateral, which it gets by taking ownership of your Filecoin miner(s). A more detailed description of Agents can be found .

  2. Agent owner wallet — The Agent’s owner wallet is the wallet that controls your Agent. Whoever is in control of your Agent’s owner wallet can operate your Agent. It is very important to keep the Agent’s owner wallet secure, which GLIF will help you do automatically.

When creating an Agent on the GLIF website, your Agent owner wallet will be a Filecoin multisig wallet with at least 2 signers, though 3 signers are recommended. This is the most secure type of wallet you can use to own your Agent.

Multisig wallets

A multisig wallet is a smart contract wallet with multiple signing parties (“signers”) attached to it. Multisigs enforce a minimum number of signers to approve a specific proposal before executing the transaction. Multisig wallets have a proposal/approval flow where:

  • One of the multisig signers submits a proposal to execute a transaction

  • The other multisig signers must approve the proposal

  • Once the minimum number of signatures have approved the proposal, the transaction executes

GLIF Agent Multisig Owner Wallet Configuration

Multisig wallets on Filecoin are generally very flexible in their configuration, however, GLIF recommends a specific, more secure configuration with 3 signers:

  1. Signer 2 — “the approver” — is a Filecoin Ledger wallet or another FilSnap Wallet or burner wallet

  2. Signer 3 — “backup” — is another (different) Filecoin ledger wallet or another FilSnap Wallet or another burner wallet

The GLIF Agent Multisig Owner Wallet is recommended to have a signing threshold of 2 — meaning, 2 signatures are required in order to execute a transaction. In other words:

  1. Signer 1 (“the proposer”) proposes a transaction to the Agent Multisig Owner Wallet to perform some action (like borrow FIL from GLIF)

  2. Signer 2 (“the approver”) approves the transaction proposed in step 1

  3. The transaction executes successfully

If you lose any of your signer keys (either Ledger devices or the Filecoin Snap wallet) then you can easily replace it with a new one! This is why Multisig wallets are a more secure way to own your Agent.

Prepare to Create an Agent

In order to prepare for Agent creation, you’ll need 3 addresses:

  1. FILSnap Wallet Address 1

  2. FILSnap Wallet Address 2 OR Ledger Address 1 OR Burner Wallet Address 1

  3. FILSnap Wallet Address 3 OR Ledger Address 2 OR Burner Wallet Address 2

For added security, it’s recommended that you use two separate Ledger devices, but it is OK to start with 1 Ledger Device and then switch to use 2 separate Ledger devices soon after.

If you do not want to use your Ledger, you can set up another FilSnap address or burner wallet address as your second or third address. It could work, but using a Ledger is recommended to enhance security.

Next steps

Once you have 3 Filecoin wallet addresses:

  1. FILSnap wallet address

  2. 2 Ledger wallet addresses or burner wallet addresses

Join our community!

Signer 1 — “the proposer” — is a Filecoin Snap wallet, also called “FILSnap wallet” (more tutorial on this )

For details on obtaining a , , or wallet address, please refer to the tutorial by clicking the link.

Then you are ready to move on to of this tutorial.

Feel free to join our and or follow us on for the latest updates.

If you encounter any difficulties, please feel free to contact us through our .

Part II
Part II
here
here
FilSnap
Burner
Ledger
Part II
Discord
Telegram
X
Discord support ticket