Skip to content

v1.0.0

Compare
Choose a tag to compare
@GuohaoMa GuohaoMa released this 02 Nov 19:16
d91a1a8

Table of Contents

Improvements

  • Change customized configuration from config.go file to envionment variables, which stored in .env.

Bug Fixes

  • Fixed bugs on file with special characters in file name.
  • Fixed bugs of creating bucket in defferent operation systems and browsers.

Config Explanation

[.env]
  • SWAN_ADDRESS : The address of filswan platform, default as https://api.filswan.com.
  • FS3_VOLUME_ADDRESS : The address of FS3 VOLUME, default as ~/minio-data. If changed, the FS3 server start command has to be changed accordingly.
  • FS3_WALLET_ADDRESS : A wallet address is a must for sending deals to miner.
  • CAR_FILE_SIZE : A fixed car file size in bytes need to be predefined before generating car files for trunk via variable CarFileSize, such as 8589934592 for 8Gb as default.
  • IPFS_API_ADDRESS : An available ipfs address with port need to be set up. For example, https://MyIpfsUrl:Port.
  • IPFS_GATEWAY : An available ipfs address with port need to be set up for file downloading. For example, https://MyIpfsGatewayUrl:Port.
  • SWAN_TOKEN : A valid swan token is required for posting task on swan platform. It can be received after creating an account on Filswan. Check Filswan APIs for more details on how to get authorization token.

You can reference .env.example and readme on how to config it.