FilConfig interface
Filecoin storage configuration.
Signature:
export interface FilConfig
Properties
Property | Type | Description |
---|---|---|
address | string | The wallet address to pay for storage. |
countryCodes | string[] | Preferred locations of minders to store data with. |
dealMinDuration | number | Minimum number of epochs to store the data. |
dealStartOffset | number | How 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. |
excludedMiners | string[] | Miners to exclude from storage deals. |
fastRetrieval | boolean | Whether or not to enable fast retrieval feature. |
maxPrice | number | The max price to pay for storage in units of attoFIL per GiB per epoch. |
renew? | FilRenew | (Optional) Storage renew configuration. |
replicationFactor | number | How many miners to store the data with. |
trustedMiners | string[] | Miners to prefer for deal making. |