📁
filecoin.loans
  • Introduction
  • Protocol
    • Lend FIL - ERC20 Tokens as Collateral
    • Lend ERC20 Tokens - FIL as Collateral
  • Develop
    • Requirements
    • Quickstart Guide
      • Setting up the Hardhat node
      • Running the server
      • Running the app
      • Setting up Metamask
  • Reference guide
    • Filecoin Loans Contracts
      • Interfaces
        • IBLAKE2b
        • IERC20
        • IPriceAggregator
      • Contracts
        • ERC20CollateralLock
        • ERC20Loans
    • API Reference
      • operation
        • FIL - ERC20 loan operations
        • ERC20 - FIL loan operations
      • loanAssets
      • protocolContracts
      • orders
      • loan
      • loans
      • notification
      • activity
  • Tools
    • filecoin-js-signer
      • API Reference
        • FilecoinSigner
          • msig
          • paych
          • tx
          • wallet
        • FilecoinClient
          • msig
          • paych
          • tx
          • wallet
      • Develop Guide
      • Credits and references
Powered by GitBook
On this page
  • Constructor
  • Usage
  • Properties

Was this helpful?

  1. Tools
  2. filecoin-js-signer
  3. API Reference

FilecoinClient

Filecoin RPC client

PreviouswalletNextmsig

Last updated 3 years ago

Was this helpful?

Constructor

Parameter

Type

Description

rpcUrl

string

Lotus RPC url

token

string

Lotus auth token

Usage

import { FilecoinClient } from '@blitslabs/filecoin-js-signer'

const client = new FilecoinClient(process.env.LOTUS_URL, process.env.LOTUS_TOKEN)

Properties

msig
paych
tx
wallet