Skip to content

Files

Latest commit

 

History

History
 
 

core-1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

core-1

This chain is a main-net

FINAL GENESIS PUBLISHED

FINAL PEERS PUBLISHED

1st main-net for persistenceCore application.

Hardware Requirements

  • Minimal
    • 1 GB RAM
    • 25 GB HDD
    • 1.4 GHz CPU
  • Recommended
    • 2 GB RAM
    • 100 GB HDD
    • 2.0 GHz x2 CPU

Operating System

  • Linux/Windows/MacOS(x86)
  • Recommended
    • Linux(x86_64)

Installation Steps

Prerequisite: go1.15+ required. ref

Prerequisite: git. ref

Optional requirement: GNU make. ref

  • Clone git repository
git clone https://github.com/persistenceOne/persistenceCore.git
  • Checkout release tag
cd persistenceCore
git fetch --tags
git checkout v0.1.1
  • Install
make all
  • Verify version
persistenceCore version

The current version is b0aec61

Generate keys

persistenceCore keys add [key_name]

or

persistenceCore keys add [key_name] --recover to regenerate keys with your BIP39 mnemonic

Validator setup

Before genesis: CLOSED please refer to section Post Genesis

  • Install persistence core application
  • Initialize node
persistenceCore init {{NODE_NAME}} --chain-id core-1
persistenceCore add-genesis-account {{KEY_NAME}} 1000000000uxprt
persistenceCore gentx {{KEY_NAME}} 1000000000uxprt \
--chain-id core-1 \
--moniker="{{VALIDATOR_NAME}}" \
--commission-max-change-rate=0.01 \
--commission-max-rate=1.0 \
--commission-rate=0.07 \
--details="XXXXXXXX" \
--security-contact="XXXXXXXX" \
--website="XXXXXXXX"
  • Copy the contents of ${HOME}/.persistenceCore/config/gentx/gentx-XXXXXXXX.json.
  • Fork the repository
  • Create a file gentx-{{VALIDATOR_NAME}}.json under the core-1/gentxs folder in the forked repo, paste the copied text into the file. Find reference file gentx-examplexxxxxxxx.json in the same folder.
  • Run persistenceCore tendermint show-node-id and copy your nodeID.
  • Run ifconfig or curl ipinfo.io/ip and copy your publicly reachable IP address.
  • Create a file peers-{{VALIDATOR_NAME}}.json under the core-1/peers folder in the forked repo, paste the copied text from the last two steps into the file. Find reference file peers-examplexxxxxxxx.json in the same folder.
  • Create a Pull Request to the master branch of the repository

NOTE: the Pull Request will be merged by the maintainers to confirm the inclusion of the validator at the genesis. The final genesis file will be published under the file core-1/final_genesis.json.

  • Replace the contents of your ${HOME}/.persistenceCore/config/genesis.json with that of core-1/final_genesis.json.
  • Add persistent_peers or seeds in ${HOME}/.persistenceCore/config/config.toml from core-1/final_peers.json.
  • Start node
persistenceCore start

Post genesis

  • Install persistence core application
  • Initialize node
persistenceCore init {{NODE_NAME}}
  • Replace the contents of your ${HOME}/.persistenceCore/config/genesis.json with that of core-1/final_genesis.json from the master branch of repository.
  • Add persistent_peers or seeds in ${HOME}/.persistenceCore/config/config.toml from core-1/final_peers.json from the master branch of repository.
  • Start node
persistenceCore start
  • Acquire $XPRT by sending a message to the community telegram.
  • Run persistenceCore tendermint show-validator and copy your consensus public key.
  • Send a create-validator transaction, with --pubkey value as the key copied in the last step
persistenceCore tx staking create-validator \
--from {{KEY_NAME}} \
--amount XXXXXXXXuxprt \
--pubkey persistencevalconspubXXXXXXXX \
--chain-id core-1 \
--moniker="{{VALIDATOR_NAME}}" \
--commission-max-change-rate=0.01 \
--commission-max-rate=1.0 \
--commission-max-rate=1.0 \
--commission-rate=0.07 \
--min-self-delegation="1" \
--details="XXXXXXXX" \
--security-contact="XXXXXXXX" \
--website="XXXXXXXX"

Version

This chain is currently running on persistenceCore v0.1.1 Commit Hash: b0aec611d0b9570f257b31df15cb32b4f4d316d0

Note: If your node is running on an older version of the application, please update it to this version at the earliest to avoid being exposed to security vulnerabilities /defects.

Binary

The binary can be downloaded from here.

Explorer

The explorer for this chain will hosted here after the chain goes live.

Wallet

The wallet application for this chain is hosted here.

Genesis Time

The genesis transactions sent before 1200HRS UTC 30th March 2021 will be used to publish the final_genesis.json at 1300HRS UTC 30th March 2021. The genesis will start immediately after as soon as a quorum is reached.