Skip to content

Files

Latest commit

Maxxlab
Max
and
Jul 26, 2023
7725813 · Jul 26, 2023

History

History

test-core-1

test-core-1

This chain is a test-net GENESIS PUBLISHED PEERS PUBLISHED

1st testnet 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.19.3+ required. ref

Prerequisite: git. ref

Optional requirement: GNU make. ref

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

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: NOW CLOSED

  • Install persistence core application
  • Initialize node
persistenceCore init {{NODE_NAME}} --chain-id test-core-1
persistenceCore add-genesis-account {{KEY_NAME}} 100000000000000uxprt
persistenceCore gentx {{KEY_NAME}} 10000000uxprt \
--chain-id test-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 test-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 test-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 test-core-1/final_genesis.json.

  • Replace the contents of your ${HOME}/.persistenceCore/config/genesis.json with that of test-core-1/final_genesis.json.
  • Add persistent_peers or seeds in ${HOME}/.persistenceCore/config/config.toml from test-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 test-core-1/final_genesis.json from the master branch of repository.
  • Add persistent_peers or seeds in ${HOME}/.persistenceCore/config/config.toml from test-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
persistenceCore tx staking create-validator \
--from {{KEY_NAME}} \
--amount XXXXXXXXuxprt \
--pubkey persistencevalconspubXXXXXXXX
--chain-id test-core-1 \
--moniker="{{VALIDATOR_NAME}}" \
--commission-max-change-rate=0.01 \
--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.3 Commit Hash: a555ac81cd3ab856d2d5305414e8a00d24d2043c

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 is hosted here

Wallet

The wallet application for this chain is hosted here

Genesis Time

The genesis transactions sent before 1200HRS UTC 15th March 2021 will be used to publish the final_genesis.json at 1300HRS UTC 15th March 2021.