Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > FilConfig

FilConfig interface

Filecoin storage configuration.

Signature:

export interface FilConfig 

Properties

PropertyTypeDescription
addressstringThe wallet address to pay for storage.
countryCodesstring[]Preferred locations of minders to store data with.
dealMinDurationnumberMinimum number of epochs to store the data.
dealStartOffsetnumberHow many epochs in the future impose a deadline to new deals being active on-chain. This value might influence if miners accept deals, since they should seal fast enough to satisfy this constraint.
excludedMinersstring[]Miners to exclude from storage deals.
fastRetrievalbooleanWhether or not to enable fast retrieval feature.
maxPricenumberThe max price to pay for storage in units of attoFIL per GiB per epoch.
renew?FilRenew(Optional) Storage renew configuration.
replicationFactornumberHow many miners to store the data with.
trustedMinersstring[]Miners to prefer for deal making.
  • FilConfig interface
  • Properties
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio