Search…
⌃K

Configuration

  • port: Default 8888, web api port for extension in future
  • release: Default true, when work in release mode: set this to true, otherwise to false

[lotus]

  • client_api_url: Url of lotus client web api, such as: http://[ip]:[port]/rpc/v0, generally the [port] is 1234. See Lotus API
  • market_api_url: Url of lotus market web api, such as: http://[ip]:[port]/rpc/v0, generally the [port] is 2345. When market and miner are not separate, it is also the url of miner web api. See Lotus API
  • market_access_token: Access token of lotus market web api. When market and miner are not separate, it is also the access token of miner access token. See Obtaining Tokens

[aria2]

  • aria2_download_dir: Directory where offline deal files will be downloaded for importing
  • aria2_host: Aria2 server address
  • aria2_port: Aria2 server port
  • aria2_secret: Must be the same value as rpc-secret in aria2.conf
  • aria2_auto_delete_car_file: After the deal becomes Active or Error, the CAR file will be deleted automatically, default: false
  • aria2_max_downloading_tasks: Aria2 max downloading tasks, default: 10

[main]

  • api_url: Swan API address. For Swan production, it is https://go-swan-server.filswan.com
  • ‼️miner_fid: Your Filecoin MinerID, this miner must be added to the Swan Storage providers list by Swan Platform -> "My Profile" -> "As Storage Provider" -> "Manage" -> "Add" .
  • import_interval: 600 seconds or 10 minutes. Importing interval between each deal.
  • scan_interval: 600 seconds or 10 minutes. Time interval to scan all the ongoing deals and update status on Swan platform.
  • api_key: Your api key. Acquire from Swan Platform -> "My Profile"->"Developer Settings". You can also check the Guide.
  • access_token: Your access token. Acquire from Swan Platform -> "My Profile"->"Developer Settings". You can also check the Guide.
  • api_heartbeat_interval: 300 seconds or 5 minutes. Time interval to send heartbeat.

[bid]

  • bid_mode: 0: manual, 1: auto
  • expected_sealing_time: Default: 1920 epoch or 16 hours. The time expected for sealing deals. Deals starting too soon will be rejected.
  • start_epoch: Default: 2880 epoch or 24 hours. Relative value to current epoch
  • auto_bid_deal_per_day: auto-bid deal limit per day for your miner defined above

License

Apache
Last modified 1mo ago