genesis

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

README

Genesis Accounts

  1. Generate multiple BLS Keys:
# Using psc cli
./psc keys generate-bls-keys --shard-count=1 --shard=0 --count=25 --write-passphrase=true --passphrase

# Or using docker
docker run -it posichain/psc keys generate-bls-keys --shard-count=1 --shard=0 --count=25 --write-passphrase=true --passphrase
  1. Generate Golang compatible accounts list
python keys.py -json-file=localnet-node-accounts.json -out=accounts-generated-go.txt

Documentation

Index

Constants

View Source
const Signature = "https://posichain.org 2022.06.06 $POSI"

Variables

DeployedContractAddress is the deployed contract address of the staking smart contract in beacon chain.

View Source
var DevnetFoundationalAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0xC90c19Bb0498070136aB0dE7866592CDeE375Ceb", BLSPublicKey: "8274b0ad76ad77a1ebf19365cfe64564781ad988d276c1bd056f4b836e90dbd9bc30303432f2109721ede934ffbafb14"},
	{Index: "1", ShardID: 1, Address: "0xFcF6664d04b339650B5acC7fb140758788899f75", BLSPublicKey: "8cb7325a2f2d9532a657a3404de9c5c5eaa2c45e1b1e4e72a2fe2051d48ec3525d7146cbf79b3f72f9faccffcc0da105"},
	{Index: "2", ShardID: 0, Address: "0x4655b4ce5842c20127c5d0EA36FA1d3cb7786d13", BLSPublicKey: "683dee10231b0b40323373d903b799c2eaadd7b2bba5ce09b3bcddf8153bdd93edc40b8b75dbed762bfae4f16fdd4c8c"},
	{Index: "3", ShardID: 1, Address: "0xb2eADEe811387055aFe38A61BeFe5a76ad612785", BLSPublicKey: "5f42f1ac23adf59dc6d535d0f422967cf79f5b95f2489de7a127c20e44b9d659e60eed2b19a7bf6fcb229b4f1018a60f"},
}

DevnetFoundationalAccounts are the accounts for the initial foundational nodes for devnet.

View Source
var DevnetOperatedAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0x7F868BD9C67e3C83C6FEAB22ba029f69ed3E15d4", BLSPublicKey: "f47b6d2b91eb37a5c0b35520803b86901a086367506e423f1651464191cc95b67b95470b8bc41ea4ad57ead0739fc180"},
	{Index: "1", ShardID: 1, Address: "0xDC9ed4a0FBaF250E080fa02B850D66763AdF7e37", BLSPublicKey: "8fe989abe5334b53f85419d3e41225d615e60a5b536d280415e125df4f7f4136040d434c20b67a2848c2c24e5b06f38f"},
	{Index: "2", ShardID: 0, Address: "0xA616522dF16bc7aBb38C6CB99f2dA2919C48665C", BLSPublicKey: "25b597c52cfc071fd00b626844cb45c6e8a0252bd73841be21dbcb9623e136a3644d4a218dc5a6f76f7052e3569f0308"},
	{Index: "3", ShardID: 1, Address: "0x8DCAD03eadf7039d44BE8b669D70Ce6c16Ef6f66", BLSPublicKey: "77c865f73d76fc4554b63f0a0d0e34a6a1272d02578044a6e14f2e55bbc6dde1ef7ac0046f81c21752f91bb823e8e819"},
}

DevnetOperatedAccounts are the accounts for the initial genesis nodes hosted by Posichain for devnet.

View Source
var FoundationalNodeAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0xD3Ee1d798eCea22Fde4D29590eFF0c77bA7e6b9e", BLSPublicKey: "4d11df60dce88f921697749650664a0c2e018706c621bf1b4a393bea0cc78b92a67c24ed09aa29543a3e1942d0563a09"},
	{Index: "1", ShardID: 0, Address: "0xb065c1a5BC1B3c1b1dF8781D369cffc534B65731", BLSPublicKey: "99ce30bd1935a4df8a4785e7174016d96630ee27723e1fc19afffdb82e8305d0e6eeaae06244ab0e57daecb2131d7b07"},
	{Index: "2", ShardID: 0, Address: "0x589577117AE579D977c9f63Cac1828e20D4e24da", BLSPublicKey: "6289f9062caacbd9bdcbe94bb4b3a40e738fefaedda056537d46b3d4566fb78ba8992b4a8fefc6103dcf1c2f82db4804"},
	{Index: "3", ShardID: 0, Address: "0x7fd592690ec6A7300289B059ee8711f4f9BBfD8a", BLSPublicKey: "9f2b94fafed1c29fb29b2aac17809f1159ea2c1345ce006b11019f7dbce86c8df0dad77093dfc7c7918d0b21785c238b"},
	{Index: "4", ShardID: 0, Address: "0x3AFC88b94f5F9850B4F04d64349Ade1A31eF3d3F", BLSPublicKey: "8b33ffb00ec89410a1081e36c0fb2c2e948c48aead8b21daf74f63ac4c79e75b7df9e50615dd72f6abfd7683b0fd1711"},
}

FoundationalNodeAccounts are the accounts for the foundational nodes at genesis.

View Source
var GenesisBeaconAccountPriKey = BeaconAccountPriKey()

GenesisBeaconAccountPriKey is the private key of genesis beacon account.

View Source
var GenesisBeaconAccountPublicKey = GenesisBeaconAccountPriKey.PublicKey

GenesisBeaconAccountPublicKey is the private key of genesis beacon account.

View Source
var LocalFnAccounts = []DeployAccount{
	{Index: " 0 ", Address: "0xed1ebE4Fd1f73f86388F231997859ca42c07DA5d", BLSPublicKey: "52ecce5f64db21cbe374c9268188f5d2cdd5bec1a3112276a350349860e35fb81f8cfe447a311e0550d961cf25cb988d"},
	{Index: " 1 ", Address: "0xE1217E2a4861DD5D50983DaD32474Bbfd6A7333F", BLSPublicKey: "a547a9bf6fdde4f4934cde21473748861a3cc0fe8bbb5e57225a29f483b05b72531f002f8187675743d819c955a86100"},
	{Index: " 2 ", Address: "0x7c41E0668B551f4f902cFaec05B5Bdca68b124CE", BLSPublicKey: "678ec9670899bf6af85b877058bea4fc1301a5a3a376987e826e3ca150b80e3eaadffedad0fedfa111576fa76ded980c"},
	{Index: " 3 ", Address: "0x514650ca30B3c79f693e14220115434236D44aEB", BLSPublicKey: "63f479f249c59f0486fda8caa2ffb247209489dae009dfde6144ff38c370230963d360dffd318cfb26c213320e89a512"},
}

LocalFnAccounts are the accounts for the initial FN used for local test.

View Source
var LocalFnAccountsV1 = []DeployAccount{
	{Index: " 0 ", Address: "0xed1ebE4Fd1f73f86388F231997859ca42c07DA5d", BLSPublicKey: "52ecce5f64db21cbe374c9268188f5d2cdd5bec1a3112276a350349860e35fb81f8cfe447a311e0550d961cf25cb988d"},
	{Index: " 1 ", Address: "0xE1217E2a4861DD5D50983DaD32474Bbfd6A7333F", BLSPublicKey: "a547a9bf6fdde4f4934cde21473748861a3cc0fe8bbb5e57225a29f483b05b72531f002f8187675743d819c955a86100"},
	{Index: " 2 ", Address: "0x7c41E0668B551f4f902cFaec05B5Bdca68b124CE", BLSPublicKey: "678ec9670899bf6af85b877058bea4fc1301a5a3a376987e826e3ca150b80e3eaadffedad0fedfa111576fa76ded980c"},
	{Index: " 3 ", Address: "0x514650ca30B3c79f693e14220115434236D44aEB", BLSPublicKey: "63f479f249c59f0486fda8caa2ffb247209489dae009dfde6144ff38c370230963d360dffd318cfb26c213320e89a512"},
	{Index: " 4 ", Address: "0x6a87346f3Ba9958d08D09484A2b7fDBbE42b0df6", BLSPublicKey: "16513c487a6bb76f37219f3c2927a4f281f9dd3fd6ed2e3a64e500de6545cf391dd973cc228d24f9bd01efe94912e714"},
	{Index: " 5 ", Address: "0xd50e29a5c9aBf21613d9AEB001EC44252B7aCde0", BLSPublicKey: "576d3c48294e00d6be4a22b07b66a870ddee03052fe48a5abbd180222e5d5a1f8946a78d55b025de21635fd743bbad90"},
}

LocalFnAccountsV1 are the accounts for the initial FN used for local test.

View Source
var LocalFnAccountsV2 = []DeployAccount{
	{Index: " 0 ", Address: "0xed1ebE4Fd1f73f86388F231997859ca42c07DA5d", BLSPublicKey: "52ecce5f64db21cbe374c9268188f5d2cdd5bec1a3112276a350349860e35fb81f8cfe447a311e0550d961cf25cb988d"},
	{Index: " 1 ", Address: "0xE1217E2a4861DD5D50983DaD32474Bbfd6A7333F", BLSPublicKey: "a547a9bf6fdde4f4934cde21473748861a3cc0fe8bbb5e57225a29f483b05b72531f002f8187675743d819c955a86100"},
	{Index: " 2 ", Address: "0x7c41E0668B551f4f902cFaec05B5Bdca68b124CE", BLSPublicKey: "678ec9670899bf6af85b877058bea4fc1301a5a3a376987e826e3ca150b80e3eaadffedad0fedfa111576fa76ded980c"},
	{Index: " 3 ", Address: "0x514650ca30B3c79f693e14220115434236D44aEB", BLSPublicKey: "63f479f249c59f0486fda8caa2ffb247209489dae009dfde6144ff38c370230963d360dffd318cfb26c213320e89a512"},
	{Index: " 4 ", Address: "0x6a87346f3Ba9958d08D09484A2b7fDBbE42b0df6", BLSPublicKey: "16513c487a6bb76f37219f3c2927a4f281f9dd3fd6ed2e3a64e500de6545cf391dd973cc228d24f9bd01efe94912e714"},
	{Index: " 5 ", Address: "0xd50e29a5c9aBf21613d9AEB001EC44252B7aCde0", BLSPublicKey: "576d3c48294e00d6be4a22b07b66a870ddee03052fe48a5abbd180222e5d5a1f8946a78d55b025de21635fd743bbad90"},
	{Index: " 6 ", Address: "0x45ec28A47785b3eceeDE287Cc5753B957B45BeDB", BLSPublicKey: "eca09c1808b729ca56f1b5a6a287c6e1c3ae09e29ccf7efa35453471fcab07d9f73cee249e2b91f5ee44eb9618be3904"},
	{Index: " 7 ", Address: "0x6fa4998f441f4D319308ee764b2EDbBefB2B84F6", BLSPublicKey: "f47238daef97d60deedbde5302d05dea5de67608f11f406576e363661f7dcbc4a1385948549b31a6c70f6fde8a391486"},
	{Index: " 8 ", Address: "0x1D44424803e7D258D3B5F160807c3dF1ec2F0BF8", BLSPublicKey: "fc4b9c535ee91f015efff3f32fbb9d32cdd9bfc8a837bb3eee89b8fff653c7af2050a4e147ebe5c7233dc2d5df06ee0a"},
	{Index: " 9 ", Address: "0x0FaEB536B6f9D99F74f233bd5D1133355D349961", BLSPublicKey: "ca86e551ee42adaaa6477322d7db869d3e203c00d7b86c82ebee629ad79cb6d57b8f3db28336778ec2180e56a8e07296"},
}

LocalFnAccountsV2 are the accounts for the initial FN used for local test.

View Source
var LocalHarmonyAccounts = []DeployAccount{
	{Index: " 0 ", Address: "0x0B585F8DaEfBC68a311FbD4cB20d9174aD174016", BLSPublicKey: "65f55eb3052f9e9f632b2923be594ba77c55543f5c58ee1454b9cfd658d25e06373b0f7d42a19c84768139ea294f6204"},
	{Index: " 1 ", Address: "0xDEB6ffFE20F7e4d0236bBa974979A9CEa0b25b98", BLSPublicKey: "40379eed79ed82bebfb4310894fd33b6a3f8413a78dc4d43b98d0adc9ef69f3285df05eaab9f2ce5f7227f8cb920e809"},
	{Index: " 2 ", Address: "0x52789F18A342Da8023CC401e5D2b14A6B710FBA9", BLSPublicKey: "02c8ff0b88f313717bc3a627d2f8bb172ba3ad3bb9ba3ecb8eed4b7c878653d3d4faf769876c528b73f343967f74a917"},
	{Index: " 3 ", Address: "0xD020dA766b2b0b590E072ec7c11b4AbFb36c24DB", BLSPublicKey: "ee2474f93cba9241562efc7475ac2721ab0899edf8f7f115a656c0c1f9ef8203add678064878d174bb478fa2e6630502"},
	{Index: " 4 ", Address: "0x0a7D4bBD75eECaF11F8c891Ed47269006bf91dc3", BLSPublicKey: "e751ec995defe4931273aaebcb2cd14bf37e629c554a57d3f334c37881a34a6188a93e76113c55ef3481da23b7d7ab09"},
	{Index: " 5 ", Address: "0xCc16a41b0CEB36b98B1EdDDbE8a05d6EE2636194", BLSPublicKey: "776f3b8704f4e1092a302a60e84f81e476c212d6f458092b696df420ea19ff84a6179e8e23d090b9297dc041600bc100"},
	{Index: " 6 ", Address: "0x806171f95C5a74371a19e8a312c9e5Cb4E1D24f6", BLSPublicKey: "2d61379e44a772e5757e27ee2b3874254f56073e6bd226eb8b160371cc3c18b8c4977bd3dcb71fd57dc62bf0e143fd08"},
	{Index: " 7 ", Address: "0xeBCD16e8c1D8f493bA04E99a56474122D81A9c58", BLSPublicKey: "c4e4708b6cf2a2ceeb59981677e9821eebafc5cf483fb5364a28fa604cc0ce69beeed40f3f03815c9e196fdaec5f1097"},
	{Index: " 8 ", Address: "0x6a87346f3Ba9958d08D09484A2b7fDBbE42b0df6", BLSPublicKey: "86dc2fdc2ceec18f6923b99fd86a68405c132e1005cf1df72dca75db0adfaeb53d201d66af37916d61f079f34f21fb96"},
	{Index: " 9 ", Address: "0xd50e29a5c9aBf21613d9AEB001EC44252B7aCde0", BLSPublicKey: "49d15743b36334399f9985feb0753430a2b287b2d68b84495bbb15381854cbf01bca9d1d9f4c9c8f18509b2bfa6bd40f"},
}

LocalHarmonyAccounts are the accounts for the initial genesis nodes used for local test.

View Source
var LocalHarmonyAccountsV1 = []DeployAccount{
	{Index: " 0 ", Address: "0x0B585F8DaEfBC68a311FbD4cB20d9174aD174016", BLSPublicKey: "65f55eb3052f9e9f632b2923be594ba77c55543f5c58ee1454b9cfd658d25e06373b0f7d42a19c84768139ea294f6204"},
	{Index: " 1 ", Address: "0xDEB6ffFE20F7e4d0236bBa974979A9CEa0b25b98", BLSPublicKey: "40379eed79ed82bebfb4310894fd33b6a3f8413a78dc4d43b98d0adc9ef69f3285df05eaab9f2ce5f7227f8cb920e809"},
	{Index: " 2 ", Address: "0x52789F18A342Da8023CC401e5D2b14A6B710FBA9", BLSPublicKey: "02c8ff0b88f313717bc3a627d2f8bb172ba3ad3bb9ba3ecb8eed4b7c878653d3d4faf769876c528b73f343967f74a917"},
	{Index: " 3 ", Address: "0xD020dA766b2b0b590E072ec7c11b4AbFb36c24DB", BLSPublicKey: "ee2474f93cba9241562efc7475ac2721ab0899edf8f7f115a656c0c1f9ef8203add678064878d174bb478fa2e6630502"},
	{Index: " 4 ", Address: "0x0a7D4bBD75eECaF11F8c891Ed47269006bf91dc3", BLSPublicKey: "e751ec995defe4931273aaebcb2cd14bf37e629c554a57d3f334c37881a34a6188a93e76113c55ef3481da23b7d7ab09"},
	{Index: " 5 ", Address: "0xCc16a41b0CEB36b98B1EdDDbE8a05d6EE2636194", BLSPublicKey: "776f3b8704f4e1092a302a60e84f81e476c212d6f458092b696df420ea19ff84a6179e8e23d090b9297dc041600bc100"},
	{Index: " 6 ", Address: "0x806171f95C5a74371a19e8a312c9e5Cb4E1D24f6", BLSPublicKey: "2d61379e44a772e5757e27ee2b3874254f56073e6bd226eb8b160371cc3c18b8c4977bd3dcb71fd57dc62bf0e143fd08"},
	{Index: " 7 ", Address: "0xeBCD16e8c1D8f493bA04E99a56474122D81A9c58", BLSPublicKey: "c4e4708b6cf2a2ceeb59981677e9821eebafc5cf483fb5364a28fa604cc0ce69beeed40f3f03815c9e196fdaec5f1097"},
	{Index: " 8 ", Address: "0x6a87346f3Ba9958d08D09484A2b7fDBbE42b0df6", BLSPublicKey: "86dc2fdc2ceec18f6923b99fd86a68405c132e1005cf1df72dca75db0adfaeb53d201d66af37916d61f079f34f21fb96"},
	{Index: " 9 ", Address: "0xd50e29a5c9aBf21613d9AEB001EC44252B7aCde0", BLSPublicKey: "49d15743b36334399f9985feb0753430a2b287b2d68b84495bbb15381854cbf01bca9d1d9f4c9c8f18509b2bfa6bd40f"},
}

LocalHarmonyAccountsV1 are the accounts for the initial genesis nodes used for local test.

View Source
var LocalHarmonyAccountsV2 = []DeployAccount{
	{Index: " 0 ", Address: "0x0B585F8DaEfBC68a311FbD4cB20d9174aD174016", BLSPublicKey: "65f55eb3052f9e9f632b2923be594ba77c55543f5c58ee1454b9cfd658d25e06373b0f7d42a19c84768139ea294f6204"},
	{Index: " 1 ", Address: "0xDEB6ffFE20F7e4d0236bBa974979A9CEa0b25b98", BLSPublicKey: "40379eed79ed82bebfb4310894fd33b6a3f8413a78dc4d43b98d0adc9ef69f3285df05eaab9f2ce5f7227f8cb920e809"},
	{Index: " 2 ", Address: "0x52789F18A342Da8023CC401e5D2b14A6B710FBA9", BLSPublicKey: "02c8ff0b88f313717bc3a627d2f8bb172ba3ad3bb9ba3ecb8eed4b7c878653d3d4faf769876c528b73f343967f74a917"},
	{Index: " 3 ", Address: "0xD020dA766b2b0b590E072ec7c11b4AbFb36c24DB", BLSPublicKey: "ee2474f93cba9241562efc7475ac2721ab0899edf8f7f115a656c0c1f9ef8203add678064878d174bb478fa2e6630502"},
	{Index: " 4 ", Address: "0x0a7D4bBD75eECaF11F8c891Ed47269006bf91dc3", BLSPublicKey: "e751ec995defe4931273aaebcb2cd14bf37e629c554a57d3f334c37881a34a6188a93e76113c55ef3481da23b7d7ab09"},
	{Index: " 5 ", Address: "0xCc16a41b0CEB36b98B1EdDDbE8a05d6EE2636194", BLSPublicKey: "776f3b8704f4e1092a302a60e84f81e476c212d6f458092b696df420ea19ff84a6179e8e23d090b9297dc041600bc100"},
	{Index: " 6 ", Address: "0x806171f95C5a74371a19e8a312c9e5Cb4E1D24f6", BLSPublicKey: "2d61379e44a772e5757e27ee2b3874254f56073e6bd226eb8b160371cc3c18b8c4977bd3dcb71fd57dc62bf0e143fd08"},
	{Index: " 7 ", Address: "0xeBCD16e8c1D8f493bA04E99a56474122D81A9c58", BLSPublicKey: "c4e4708b6cf2a2ceeb59981677e9821eebafc5cf483fb5364a28fa604cc0ce69beeed40f3f03815c9e196fdaec5f1097"},
	{Index: " 8 ", Address: "0x6a87346f3Ba9958d08D09484A2b7fDBbE42b0df6", BLSPublicKey: "86dc2fdc2ceec18f6923b99fd86a68405c132e1005cf1df72dca75db0adfaeb53d201d66af37916d61f079f34f21fb96"},
	{Index: " 9 ", Address: "0xd50e29a5c9aBf21613d9AEB001EC44252B7aCde0", BLSPublicKey: "49d15743b36334399f9985feb0753430a2b287b2d68b84495bbb15381854cbf01bca9d1d9f4c9c8f18509b2bfa6bd40f"},
	{Index: " 10 ", Address: "0x13E88a505Dd804971410ac5538C504C376464227", BLSPublicKey: "95117937cd8c09acd2dfae847d74041a67834ea88662a7cbed1e170350bc329e53db151e5a0ef3e712e35287ae954818"},
	{Index: " 11 ", Address: "0xFC85322E449AB45E899014bf80303896AF2D9D4a", BLSPublicKey: "68ae289d73332872ec8d04ac256ca0f5453c88ad392730c5741b6055bc3ec3d086ab03637713a29f459177aaa8340615"},
}

LocalHarmonyAccountsV2 are the accounts for the initial genesis nodes used for local test.

View Source
var MainnetOperatedAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0xeeB78A385fD2FC06667eC31D0453F781F4559a6E", BLSPublicKey: "ea9422911bd063002bf9dc0dd5044a9845b9c1b78e3b51ddb74b175216e854cc106d6eccf2147a97dc4fa0532a918993"},
	{Index: "1", ShardID: 0, Address: "0x1712c1bA69979e323EBe05b6f5efacc428048B04", BLSPublicKey: "132b1fd6ef3f9fa89c9f97cc0b1ec2dbfdf0b0c4881ace8041601ca709ddcbb310a0559c35269717b6a955a217e29016"},
	{Index: "2", ShardID: 0, Address: "0xFF7A0192aA194793cc82FD7Aac89A948F7eFF306", BLSPublicKey: "1498d3ea9224e412adc2796b670842e114645be53e87b6eebe8681692b7fbe08867d99fa63f7b7100d3f97d256cc6d82"},
	{Index: "3", ShardID: 0, Address: "0x8C0e6D7E19d669c8677b574B46f4EB267998b1E1", BLSPublicKey: "9f9d9321bf6a7bc2466c03fb13c3b267b11124479460b9e4f89c080b5ca0155a71116829219bb29fc275c935d79f3810"},
	{Index: "4", ShardID: 0, Address: "0x29c8C60582855A445a2991c67BB9CecD5926C37B", BLSPublicKey: "eb7e46f286be5abe5a66e7b412f7af3cf810423e35828d3bb81facba114b5fceb5cd2d7fdc96a18ea4e2af163c4b3394"},
	{Index: "5", ShardID: 0, Address: "0x76F467968BA78418293f0be1f089660193d093B9", BLSPublicKey: "49576aae7ed6e19979b72aad2e037862ebfb9b6f6b92add4ac52c4596678c106e08735ff3faf5bdb0e02b6b73b75c113"},
	{Index: "6", ShardID: 0, Address: "0x075DB4810E90125aE891388a302A846Fb9785666", BLSPublicKey: "aaf62cb05af545d555e55fa7e807a655488ae8345043c88ff0b55cc45ea1227ea231f900146ecf28279adb567fdaa390"},
	{Index: "7", ShardID: 0, Address: "0xF6455e836ec1a4401bdeF4B72EeaC3cFe8B36E32", BLSPublicKey: "1f1a5faf4f6d094824bf0595b91f1197085751d9b112da059f2530b04956dbc4fc61c1118b27dc9cfc5752b4cf809194"},
	{Index: "8", ShardID: 0, Address: "0x54b011fe067878473CF3BE9579dD8F87751c38bF", BLSPublicKey: "2daaddfbb0151d089d1e8cb4b4f775b4c0b0d97e412dd3bc291530ee7e93c0b7f5e9963f1781961ed58b63fa8b302a0f"},
	{Index: "9", ShardID: 0, Address: "0x3153592560FC4Dff1a81B480AE263aB437db7C57", BLSPublicKey: "8d55b280682d2f4f10b062f801dd74d48278d9d730582412132721b51b7c5822fee6dea2db0fbbcb7e2a97779255e188"},
	{Index: "10", ShardID: 0, Address: "0xfc5D4879eb1C8d4Cd1F483d3F51D35EC9982Bf93", BLSPublicKey: "36a7b6cda8272e02d319510b0ff209f641212ea4a612b1e35cfdff8ac96ef2c04d28c7cb07cb274d18b554290eab8001"},
	{Index: "11", ShardID: 0, Address: "0x053CA6C1cc1E8534764AF9Fe6107E71C9D65fFeD", BLSPublicKey: "ad0587335afcbd5259bf5df35982774d02c8d7f0887412216cadbe89d63dbda57b14ff320b8035181b3c21dec72fcf10"},
	{Index: "12", ShardID: 0, Address: "0x0e408e5103524664a9caf4e47A8Cf991247ef7f5", BLSPublicKey: "9090f022145c1bb4081ef1ebc3a0adbf750fdcdb33dd9cde84eeeba54a8e83717e5d59b1b9043206151af2edad4d4f08"},
	{Index: "13", ShardID: 0, Address: "0x4f53DEc6E2eB7F2EEc0E82A8DC4a139E935099d8", BLSPublicKey: "c01439ae760b9fd7ef23682140c7e9d18cd5f1f17ccab7a8e62f5d0dd51e2b5fac6a83aca4d180196be0b3e4d47ee886"},
	{Index: "14", ShardID: 0, Address: "0xaDa0Ec782612EB0e8c5f4DA3ffA60B6aec8b9C4b", BLSPublicKey: "371d1b3f8c9b1a3d4333e45d01bc063ca954c6b32517c7976a09b03c01e0e0118dfd098727d3a9a34d34a735d4f9ef05"},
	{Index: "15", ShardID: 0, Address: "0x57AF44C6069203664C6Ba169742a25e700604467", BLSPublicKey: "8d818ee2f37c76d5597ea9fd3018958ba9e2ee1dbda40cab33185e5cd3c9c497863f355b6b81dc874fa0a8eaba895c11"},
}

MainnetOperatedAccounts are the accounts for the initial genesis nodes hosted by Posichain.

View Source
var TestnetFoundationalAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0x3eb46931E23a6949F8aAEA1d7C36B3b4D5e54da2", BLSPublicKey: "b656eccda0ad6be57e8880221bab2179ac9bd00a142978cd7f1e2a0793afa8f95b4597d96a7f50d7d9a16a723637900c"},
}

TestnetFoundationalAccounts are the accounts for the initial foundational nodes for testnet.

View Source
var TestnetOperatedAccounts = []DeployAccount{
	{Index: "0", ShardID: 0, Address: "0x014223E0Cff9E54D21bDC9F1c9A9B04748b22763", BLSPublicKey: "22dc9781ccc8eb929a50d2a297be74e52b8431ece50fa5769c7a2966db94908253c2b4068659b884e645296074e9a780"},
	{Index: "1", ShardID: 0, Address: "0x795e816cbA12B9729Bf908Fc38cB05fFe60328d0", BLSPublicKey: "857c28c2dff132884e2aabe4e56b9e9e112857dfa5fc2e0f06a156720b281d5a2a70157d1c4e4fcdd13e1dd3e8c0d298"},
	{Index: "2", ShardID: 0, Address: "0xC30A48A6347D4290170996e93A6538866aE1B9E2", BLSPublicKey: "e89959cb16a9dae9ca7ea8a357796d29339435153a145b529d98a68015b1121454813e5f1957338838fdcb2e3db5cd06"},
	{Index: "3", ShardID: 0, Address: "0x10A4464216Ac2350A86B6Aa8649F60af003AdcF5", BLSPublicKey: "827d3a1024e34acc9d1f31fdd6cf64ea52197b157377873ae486893554282cfdcf3b1e1520eb7cb6b640f5fdbbf88280"},
}

TestnetOperatedAccounts are the accounts for the initial genesis nodes hosted by Posichain for testnet.

Functions

func BeaconAccountPriKey

func BeaconAccountPriKey() *ecdsa.PrivateKey

BeaconAccountPriKey is the func which generates a constant private key.

Types

type DeployAccount

type DeployAccount struct {
	Index        string // index
	Address      string // account address
	BLSPublicKey string // account public BLS key
	ShardID      uint32 // shardID of the account
}

DeployAccount is the account used in genesis

func (DeployAccount) String

func (d DeployAccount) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL