Skip to content

Commit

Permalink
Merge pull request #134 from DoraNebula/main
Browse files Browse the repository at this point in the history
.env
  • Loading branch information
bq1024 authored Jun 3, 2022
2 parents 6762bef + 88e61ce commit e9ef93f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ nohup ./build/multi-chain-storage >> ./build/mcs.log & #After installation

## Configuration

### config.toml
### ~/.swan/mcs/config.toml
- **port**: Web api port
- **release**: When work in release mode: set this to true, otherwise to false and enviornment variable GIN_MODE not to release
- **swan_platform_fil_wallet**: The wallet address used to pay on the filecoin network
Expand Down Expand Up @@ -178,7 +178,7 @@ nohup ./build/multi-chain-storage >> ./build/mcs.log & #After installation
- **dao_unlock_interval_block**: Interval block between unlock & last dao signature after reaching dao threshold
- **scan_polygon_block_step**: How many blocks to scan each time, default 1000

### .env
### ~/.swan/mcs/.env
- **privateKeyOnPolygon**: Private key of the wallet used to execute contract methods on the polygon network and pay for gas

## Work Process
Expand Down
4 changes: 2 additions & 2 deletions build_from_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CONF_FILE_DIR_DEST=${HOME}/.swan/mcs
mkdir -p ${CONF_FILE_DIR_DEST}

CONF_FILE_NAMES=(
.env
env
config.toml
)

Expand All @@ -20,7 +20,7 @@ for CONF_FILE_NAME in ${CONF_FILE_NAMES[@]}; do
fi
done


mv ${CONF_FILE_DIR_DEST}/env ${CONF_FILE_DIR_DEST}/.env
cp ./on-chain/contracts/abi/SwanPayment.json $CONF_FILE_DIR_DEST/SwanPayment.json

git submodule update --init --recursive
Expand Down

0 comments on commit e9ef93f

Please sign in to comment.