aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 8ef1e140f..14ac2ec0f 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -56,7 +56,15 @@ func GenesisBlock(db common.Database) *types.Block {
return genesis
}
+const (
+ TestAccount = "e273f01c99144c438695e10f24926dc1f9fbf62d"
+ TestBalance = "1000000000000000000"
+)
+
var genesisData = []byte(`{
+ "` + TestAccount + `": {"balance": "` + TestBalance + `"},
+ "` + ContractAddrURLhint + `": {"balance": "` + TestBalance + `", "code": "` + ContractCodeURLhint + `" },
+ "` + ContractAddrHashReg + `": {"balance": "` + TestBalance + `", "code": "` + ContractCodeHashReg + `" },
"0000000000000000000000000000000000000001": {"balance": "1"},
"0000000000000000000000000000000000000002": {"balance": "1"},
"0000000000000000000000000000000000000003": {"balance": "1"},