Convert to ONE addresses

$ grep -Eo '0x[0-9a-fA-F]{40}' internal/genesis/newnodes.go | while IFS= read -r address; do bin/wallet format --address="${address}"; done
account address in Bech32: one1pevmwe74uax00v57lxlv8kjvgqkn2lrv843nt9
account address in Base16 (deprecated): 0x0e59b767D5E74cf7B29Ef9bEc3dA4c402d357C6C
account address in Bech32: one1p74d4qwzq0r5etrcv7r004pggaaqf0uu273jdl
account address in Base16 (deprecated): 0x0fAAda81c203C74CAc786786f7D428477a04bF9c
account address in Bech32: one1plfz300maxksezvwng87utn0kq04jmcd4jx4c8
account address in Base16 (deprecated): 0x0fd228bdFbe9ad0c898e9A0Fee2E6FB01f596F0d
account address in Bech32: one1zgllsvfn8cnx95qvvz3vgmm3jcsy2phf4wj7hm
account address in Base16 (deprecated): 0x123FF831333e2662D00c60A2C46f7196204506e9
account address in Bech32: one1zfq8w55g6rhfw4vr52nsygqx2ww6mv658l4r5y
account address in Base16 (deprecated): 0x1240775288d0EE975583A2A7022006539dADb354
account address in Bech32: one1zfacedclk7pn3k00lermk5wzatfej5mct4hh5r
account address in Base16 (deprecated): 0x127b8Cb71Fb78338d9EFFe47bB51c2EAd3995378
account address in Bech32: one1zsdsurc9wwdhk7zx2n5h86dez3j8824ef59clr
account address in Base16 (deprecated): 0x141B0e0f05739B7B784654E973e9b9146473aAb9
account address in Bech32: one1zjfwh58vl42tfss3kd7g3yd6xjfu2ggqsg2ecs
account address in Base16 (deprecated): 0x1492ebD0EcfD54B4c211b37C8891bA3493c52100
account address in Bech32: one1z5c2q3vjl8pm7p4vvpz9yhcgjdld8rkmu9uwdh
account address in Base16 (deprecated): 0x1530A04592F9C3bF06aC6044525f08937ED38edB
account address in Bech32: one1u24h3m8ny5yyfpv40vjen4fme72ye09gn5mr9q
account address in Base16 (deprecated): 0xE2ab78ecf325084485957B2599d53Bcf944Cbca8
pull/1277/head
Eugene Kim 5 years ago
parent 67186f5304
commit bdcb67ed30
  1. 20
      internal/genesis/newnodes.go

@ -2,14 +2,14 @@ package genesis
// NewNodeAccounts are the accounts for the new node
var NewNodeAccounts = [...]DeployAccount{
{Index: "0", Address: "0x0e59b767D5E74cf7B29Ef9bEc3dA4c402d357C6C", BlsPublicKey: "92fa832056e71ea833e24a7e877e2f371ca645cf338a4cb93c2ced40d8d6676eaf15dac642f22c238d58fed279f34700"},
{Index: "1", Address: "0x0fAAda81c203C74CAc786786f7D428477a04bF9c", BlsPublicKey: "d1ac9bbf790e347cbe5e6fb9145f5ffd93e335452f94829df6376c6924fbceea4b96ac8c29778e7b06a92e25bd06f892"},
{Index: "2", Address: "0x0fd228bdFbe9ad0c898e9A0Fee2E6FB01f596F0d", BlsPublicKey: "0a4d8c3168072ac82604103b3ca5efd038ae38c6062f303b08a24152b8c58d1ff3b578521f80a386bcfa2ad6c680ba14"},
{Index: "3", Address: "0x123FF831333e2662D00c60A2C46f7196204506e9", BlsPublicKey: "a31b122157b1d6d958a184361299396b3b72a3cdcd20eb5e07e18bc03034fa1a8ddbd2e0f9e3ed68cd412b7b673c0094"},
{Index: "4", Address: "0x1240775288d0EE975583A2A7022006539dADb354", BlsPublicKey: "1aeaebce1a8a8aabb64877491a392f63682b3e2a223d1d3c7c5ef8d5b33e5e700543d5c9d8017c8520e6d7193f496f05"},
{Index: "5", Address: "0x127b8Cb71Fb78338d9EFFe47bB51c2EAd3995378", BlsPublicKey: "3ec3dd79bd1a8e27d0fa927bbf0f425ce564a962389a723924f071fc7802bc5924d848980595cd584e3588a6d3e0a191"},
{Index: "6", Address: "0x141B0e0f05739B7B784654E973e9b9146473aAb9", BlsPublicKey: "f2f085fb9258e47601db4c3b87f9d603b7557b57e1c4e0361f86f42070b45bca09d69276c4717846589b3a99481eed80"},
{Index: "7", Address: "0x1492ebD0EcfD54B4c211b37C8891bA3493c52100", BlsPublicKey: "01c91a20ec490e2e6663a3c5ce04e57b991998f8967453535360de66e14dca797aa5fd270cc6d3dbc31d684d2622af05"},
{Index: "8", Address: "0x1530A04592F9C3bF06aC6044525f08937ED38edB", BlsPublicKey: "fe3f52d068bb83211b3e804a29f27699f9388d2dd0fcbf91353e4dd68da69636046a24fd5912f8dd5e97388577fd388a"},
{Index: "9", Address: "0xE2ab78ecf325084485957B2599d53Bcf944Cbca8", BlsPublicKey: "c02e49e1395c6fbbabf0d619d872f74774d34ddec83553cf7f687da593253d072d5d050b3b4a3005304e504781847999"},
{Index: "0", Address: "one1pevmwe74uax00v57lxlv8kjvgqkn2lrv843nt9", BlsPublicKey: "92fa832056e71ea833e24a7e877e2f371ca645cf338a4cb93c2ced40d8d6676eaf15dac642f22c238d58fed279f34700"},
{Index: "1", Address: "one1p74d4qwzq0r5etrcv7r004pggaaqf0uu273jdl", BlsPublicKey: "d1ac9bbf790e347cbe5e6fb9145f5ffd93e335452f94829df6376c6924fbceea4b96ac8c29778e7b06a92e25bd06f892"},
{Index: "2", Address: "one1plfz300maxksezvwng87utn0kq04jmcd4jx4c8", BlsPublicKey: "0a4d8c3168072ac82604103b3ca5efd038ae38c6062f303b08a24152b8c58d1ff3b578521f80a386bcfa2ad6c680ba14"},
{Index: "3", Address: "one1zgllsvfn8cnx95qvvz3vgmm3jcsy2phf4wj7hm", BlsPublicKey: "a31b122157b1d6d958a184361299396b3b72a3cdcd20eb5e07e18bc03034fa1a8ddbd2e0f9e3ed68cd412b7b673c0094"},
{Index: "4", Address: "one1zfq8w55g6rhfw4vr52nsygqx2ww6mv658l4r5y", BlsPublicKey: "1aeaebce1a8a8aabb64877491a392f63682b3e2a223d1d3c7c5ef8d5b33e5e700543d5c9d8017c8520e6d7193f496f05"},
{Index: "5", Address: "one1zfacedclk7pn3k00lermk5wzatfej5mct4hh5r", BlsPublicKey: "3ec3dd79bd1a8e27d0fa927bbf0f425ce564a962389a723924f071fc7802bc5924d848980595cd584e3588a6d3e0a191"},
{Index: "6", Address: "one1zsdsurc9wwdhk7zx2n5h86dez3j8824ef59clr", BlsPublicKey: "f2f085fb9258e47601db4c3b87f9d603b7557b57e1c4e0361f86f42070b45bca09d69276c4717846589b3a99481eed80"},
{Index: "7", Address: "one1zjfwh58vl42tfss3kd7g3yd6xjfu2ggqsg2ecs", BlsPublicKey: "01c91a20ec490e2e6663a3c5ce04e57b991998f8967453535360de66e14dca797aa5fd270cc6d3dbc31d684d2622af05"},
{Index: "8", Address: "one1z5c2q3vjl8pm7p4vvpz9yhcgjdld8rkmu9uwdh", BlsPublicKey: "fe3f52d068bb83211b3e804a29f27699f9388d2dd0fcbf91353e4dd68da69636046a24fd5912f8dd5e97388577fd388a"},
{Index: "9", Address: "one1u24h3m8ny5yyfpv40vjen4fme72ye09gn5mr9q", BlsPublicKey: "c02e49e1395c6fbbabf0d619d872f74774d34ddec83553cf7f687da593253d072d5d050b3b4a3005304e504781847999"},
}

Loading…
Cancel
Save