Filliquid
Filliquid.ioTwitterGithubTelegramMediumYoutube
EN
EN
  • 🐷Welcome to Filliquid Docs
  • 🔵About FILLIQUID
  • 🧐How it works
    • Design Architecture
    • Staking and Redemption by FIL Token Holders
    • Borrowing and Repayment by Storage Providers (SPs)
    • Transaction Fees
    • Risk Management Mechanisms
  • 🔮Staking User Guide
    • Staking Yield Allocation
    • Benefits for Token Holders
    • FILLiquid Reward Mechanism -FIT
    • How to Stake Filecoin
      • Preparing Wallet
      • Connect Wallet
      • Stake Filecoin
      • Withdraw Filecoin
    • How to Utilize FIT
      • Stake FIT to Earn FIG
      • Stake FIG to Earn FIL
    • More Instructions
      • Understand Filecoin (FIL) Wallet Address
      • Fees (Protocol Revenue)
      • FIL/FIT Exchange Rate Mechanism
  • Storage Provider GUIDE
    • Borrowing Interest Rate
    • Borrowing Filecoin
      • Binding and Unbinding For Borrowers
      • How to Bind a Miner in FILLiquid
      • Borrowing FIL For Storage Providers
      • Repayment of Loan
      • Precautions Notes
    • Liquidation Mechanism
    • Family Miners
    • Debt Farming for SP
  • ⚡ECONOMICS
    • FIT Token
    • 🐽FIG Token
      • Voting Power
    • Contract Address (CA)
    • Audits
    • 👨‍💻Bug Bounty Program – 500,000 FIG Tokens in Rewards
  • 🆘Trouble shooting
    • 🙋FAQ
      • FIL Staking QnA
      • Farming QnA (FIT Staking)
      • Dividend QnA (FIG Staking)
  • 🗺️Roadmap
    • Roadmap
  • ⁉️Understanding Filecoin Ecosystem
    • What is Filecoin
    • What is Storage Provider
    • Background
    • Introduction
    • What is FILLiquid
Powered by GitBook
On this page
  • Overview
  • Prerequisite
  • Let's go
  • Step 1
  • Step 2
  • Step 3
  • Exiting the Miner Family
  • How to complete the signature?
  1. Storage Provider GUIDE
  2. Borrowing Filecoin

How to Bind a Miner in FILLiquid

PreviousBinding and Unbinding For BorrowersNextBorrowing FIL For Storage Providers

Last updated 8 months ago

Overview

Before borrowing from Filliquid, it is necessary to transfer the beneficiary of the Miner to the Filliquid contract() and bind the Miner to the designated F4 wallet address as the Family.Then, the F4 address can perform the necessary operations on the protocol, such as borrowing, repayment, and unbinding for the Miner.Transferring the beneficiary of the Miner to the contract is a pledge operation, so the tokens held by the Miner cannot be withdrawn to any address other than the contract, which can effectively prevent the loss of funds and damage to the user's interests.

Note: After changing the beneficiary address to the Filliquid contract, please refrain from directly using the Owner to perform a withdraw operation. Once a withdraw operation occurs, the involved tokens cannot be retrieved, so it's crucial to avoid accidental withdrawals as much as possible.

Prerequisite

Binding the F4 address requires the specified signature of the Miner's Owner, thus ensuring the security of the operation process.

Before binding a Miner, users need a basic understanding of Filecoin's consensus mechanism and the ability to operate corresponding tools, including—but not limited to—changing Miner beneficiaries, information signing, etc.

Additionally, due to Filecoin's restrictions, a Miner with an Owner that is a multi-signature address is not supported. The Owner address must be an F3 address and cannot be an F1 or F4 address.

Let's go

The following introduces the detailed process of binding Miner. Assuming that the user already owns a Miner and its Owner address, and the current Owner and Beneficiary addresses are consistent:

Enter the Filliquid dApp interface ( ), click Connect Wallet, and bind the wallet.

Next, click the Borrow tab, scroll down to the My Family tab, and click "Add Miner."

Step 1

In the "Miner Address" input field, enter the miner address you want to bind (an address starting with f0), then click "Next."

Step 2

Here, two binding methods will be displayed. Method 1 involves the miner completing the beneficiary transfer themselves. Method 2 involves authorizing Filliquid to complete the beneficiary transfer on behalf of the miner owner. Below, both methods are described separately.

Method 1: Use the miner management tool to perform the operation yourself (recommended).

When modifying the Beneficiary, you need to provide three parameters: NewBeneficiary, Quota, and Expiration. These represent the new beneficiary address, the amount of the beneficiary, and the block height of expiration, respectively. You must fill in these values according to the table below; otherwise, the binding will fail.

NewBeneficiary

Quota

99999999999999999999999999999999999999999999999999000000000000000000

Expiration

9223372036854776000

Lotus

#lotus-miner shell
lotus-miner actor propose-change-beneficiary --overwrite-pending-change --really-do-it f03157492 99999999999999999999999999999999999999999999999999000000000000000000 9223372036854776000 

#lotus-shed shell
lotus-shed actor propose-change-beneficiary --really-do-it --overwrite-pending-change [beneficiaryAddress quota expiration minerID]

Venus

damocles-manager util sealer actor --miner f0137621 propose-change-beneficiary  f03157492 99999999999999999999999999999999999999999999999999000000000000000000  9223372036854776000 

By using the above command, you can submit the beneficiary change proposal. Once the transaction is confirmed on the blockchain, you can click "Next" to proceed to Step 3.

Method 2: Authorize Filliquid to complete the beneficiary transfer on behalf of the Owner.

Before proceeding, make sure the Owner address holds a sufficient amount of tokens, otherwise, the operation will fail. This step may take some time, so please be patient while waiting for the transaction to be confirmed on the blockchain.

In the interface, copy the Keys, and use the Owner address with a miner or other tool to sign this string. Then, paste the result into the input field and click "Next." How to complete the signature?

Step 3

In the interface, copy the Keys and use a miner or other tool to sign the string with the Owner address. Then, paste the result into the input field and click "Next." How to complete the signature?

This step will activate the wallet.

Taking metamask as an example, please click confirm to continue.

Before this step, please ensure that the wallet address holds a certain number of tokens, otherwise the execution will fail. This step will take some time, so please be patient and wait for the transaction to be confirmed on the chain.

Once the execution is successful, click OK.

The binding is now complete.

Exiting the Miner Family

In addition, users can also exit the Family if conditions permit. For this to occur, the miner must have zero debt, the bound Family has no bad debts, and the ratio of the remaining miner's debt to balance after exiting the Family is less than 50%, etc.

Go to the Filliquid dApp interface, click the Borrow tab , scroll down to the My Family tab, and click Unbind.

On the next page, click "Next."

In the following interface, copy the Keys, sign the string with the Owner address through a miner or other tool, copy the result to the text box, and click Next.

Before this step, please make sure that the Owner's address holds a certain token. Otherwise, the execution will fail. This step will take some time; please be patient and wait for the transaction to be on the chain.

Click Confirm in the following interface.

This step will activate the wallet.

How to complete the signature?

Try the corresponding command based on your miner type. The signature needs to be completed using the miner Owner's private key.

Lotus

lotus wallet sign [Owner wallet address] [Keys]

Venus

venus-wallet sign [Owner wallet address] [Keys]

f03157492
f03157492
http://dapp.filliquid.io