bsc icon indicating copy to clipboard operation
bsc copied to clipboard

Windows node setup / configuration documentation

Open brian-man opened this issue 3 years ago • 3 comments

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?

brian-man avatar Aug 14 '21 07:08 brian-man

+1 .. I need this also, currently struggle try to build it from source for Windows

billyadelphia avatar Aug 17 '21 14:08 billyadelphia

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

newb23 avatar Aug 26 '21 05:08 newb23

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

RumeelHussainbnb avatar Jan 05 '22 11:01 RumeelHussainbnb