Update
This commit is contained in:
parent
d0d604bca0
commit
1fbb827e78
3 changed files with 28 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
data/*
|
||||
data/*
|
||||
node_modules/*
|
||||
*.json
|
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
start:
|
||||
geth --rpc --rpcaddr "localhost" --rpcport "8545" --datadir="./data" --rpccorsdomain "*" --rpcapi "eth,net,web3" --nodiscover
|
||||
|
||||
new:
|
||||
geth account new --datadir ./data
|
||||
|
||||
init:
|
||||
geth -datadir ./data init ./genesis.json
|
||||
|
||||
console:
|
||||
geth --datadir ./data attach ipc:./data /geth.ipc
|
14
genesis.json.dist
Normal file
14
genesis.json.dist
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"config": {
|
||||
"chainId": 15,
|
||||
"homesteadBlock": 0,
|
||||
"eip155Block": 0,
|
||||
"eip158Block": 0
|
||||
},
|
||||
"difficulty": "0x20",
|
||||
"gasLimit": "0x2100000",
|
||||
"alloc": {
|
||||
"7a69b359e86893efa3d9732e4c65ced51567edd0":
|
||||
{ "balance": "0x1337000000000000000000" }
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue