this is fantom archive
This commit is contained in:
@@ -16,23 +16,27 @@ if [ ! -f "$FANTOM_HOME/mainnet.g" ];
|
||||
then
|
||||
cd $FANTOM_HOME
|
||||
echo "downloading launch genesis file"
|
||||
wget --quiet https://opera.fantom.network/mainnet.g
|
||||
wget --quiet https://download.fantom.network/mainnet-5577-full-mpt.g
|
||||
fi
|
||||
|
||||
opera \
|
||||
--genesis=/datadir/mainnet.g \
|
||||
--genesis=/datadir/mainnet-5577-full-mpt.g \
|
||||
--port=5050 \
|
||||
--maxpeers=200 \
|
||||
--datadir=/datadir \
|
||||
--http \
|
||||
--http.addr=0.0.0.0 \
|
||||
--http.port=18545 \
|
||||
--http.api=ftm,eth,debug,admin,web3,personal,net,txpool,sfc \
|
||||
# --http.api=ftm,eth,debug,admin,web3,personal,net,txpool,sfc \
|
||||
--http.corsdomain="*" \
|
||||
--http.vhosts="*" \
|
||||
--ws \
|
||||
--ws.addr=0.0.0.0 \
|
||||
--ws.port=18546 \
|
||||
--ws.api=ftm,eth,debug,admin,web3,personal,net,txpool,sfc \
|
||||
# --ws.api=ftm,eth,debug,admin,web3,personal,net,txpool,sfc \
|
||||
--ws.origins="*" \
|
||||
--nousb
|
||||
--nousb \
|
||||
# --db.migration.mode reformat \
|
||||
--db.preset pbl-1 \
|
||||
--tracenode \
|
||||
--http.api=eth,web3,net,ftm,trace
|
||||
|
||||
Reference in New Issue
Block a user