bsc
bsc copied to clipboard
Windows node setup / configuration documentation
Some recent commits by guagualvcha suggest that at least a handful of people are running BSC nodes on Windows, but I didn't have much luck finding setup/configuration documentation.
Is there such documentation? If not, where/how should I contribute such documentation if I figure it out myself and want to share the learnings and tips?
+1 .. I need this also, currently struggle try to build it from source for Windows
Here is how I was able to get version 1.1.2 up and running!
--- In Admin Powershell ---
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install git
choco install golang
choco install mingw
restart Powershell to re-load PATH
git clone https://github.com/binance-chain/bsc
cd bsc
go run build/ci.go install ./cmd/geth
copy geth.exe from ./build/bin/ to your run area
---- in your run area ----
download and unzip https://github.com/binance-chain/bsc/releases/download/v1.1.2/mainnet.zip
geth.exe --datadir node init genesis.json
edit your config.toml as you like (I do 500 - 2000 maxPeers)
geth.exe --config ./config.toml --datadir ./node --cache 18000 --rpc.allow-unprotected-txs --txlookuplimit 0 --ws console
Handy docs for console commands once you get running: https://www.quicknode.com/docs/binance-smart-chain
We are on it and soon we will publish it. Please proceed to join our Discord channel for more discussion at https://discord.com/invite/binancesmartchain