Skip to content

Commit

Permalink
Fixes (#26)
Browse files Browse the repository at this point in the history
* aura: genesis + init-script

* aura genesis
  • Loading branch information
holiman authored and twpostm committed Sep 8, 2018
1 parent 1f6086d commit e177f52
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
49 changes: 49 additions & 0 deletions aura.genesis
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"config": {
"chainId": 6283,
"homesteadBlock": 0,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"aura":{
"period" : 4,
"epoch" : 500,
"authorities":[
"0x0082a7bf6aaadab094061747872243059c3c6a07",
"0x00faa37564140c1a5e96095f05466b9f73441e44"],
"difficulty" : 131072
}
},
"nonce": "0x0",
"timestamp": "0x0",
"extraData": "",
"gasLimit": "6000000",
"difficulty": "0x20000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"0000000000000000000000000000000000000001": {
"balance": "0x1"
},
"0000000000000000000000000000000000000002": {
"balance": "0x1"
},
"0000000000000000000000000000000000000003": {
"balance": "0x1"
},
"0000000000000000000000000000000000000004": {
"balance": "0x1"
},
"0x009fcc115ad9ef38288a82a014dea30f63a84383": {
"balance": "0x100000000000000000000000000000000000000000000000000",
"nonce": "0"
},
"0x0015c90d0e12186bc51c9d51aff4d3fb6e984291": {
"balance": "0x100000000000000000000000000000000000000000000000000",
"nonce": "0"
}
},
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
4 changes: 4 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
make geth && rm -rf /tmp/foo2 &&
build/bin/geth --datadir /tmp/foo2 init aura.genesis &&
build/bin/geth --datadir /tmp/foo2 --nodiscover --maxpeers 0 console

0 comments on commit e177f52

Please sign in to comment.