Skip to content

Commit 4bf64a3

Browse files
* Adding binance smart chain private network genesis
1 parent 9dbfb08 commit 4bf64a3

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed

devnet/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# BSC Private Network Setup
2+
3+
This directory contains instructions and genesis private Binance Smart Chain testnet equivalent.
4+
5+
## Preparation
6+
7+
1. Create genesis
8+
````shell
9+
./bsc/build/bin/geth init --datadir node1 devnet/genesis.json
10+
````
11+
2. Start signer node
12+
````shell
13+
./bsc/build/bin/geth --datadir node1 --syncmode 'full' --port 30312 --rpc --rpcaddr 'localhost' --rpccorsdomain "*" --rpcport 8545 --ws --wsport 8546 --rpcapi 'personal,eth,net,web3,txpool,miner' --networkid 97 --gasprice '1' --unlock '0x48948297C3236ec3eA6c95f4eEc22fDb18255E55' --password pass.txt --mine --allow-insecure-unlock
14+
````
15+

0 commit comments

Comments
 (0)