Git Product home page Git Product logo

kalpatech-team / persistencecore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from persistenceone/persistencecore

0.0 0.0 0.0 1.52 MB

Project implementing an application for the Persistence Core chain that all the other chains in the ecosystem connect to as a raised and open moderator for interoperability, shared security, and as a gateway to other ecosystems and chains.

Home Page: https://persistence.one/

License: Apache License 2.0

Makefile 6.41% Go 90.05% Shell 3.54%

persistencecore's Introduction

persistenceCore

LoC

This project implements an application for the Persistence Core chain that all the other chains in the ecosystem connect to as a raised and open moderator for interoperability, shared security, and as a gateway to other ecosystems and chains.

Talk to us!

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
git fetch --tags
git checkout {{vX.X.X}}
  • 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

Connect to a chain and start node

  • Install persistenceCore application
  • Initialize node
persistenceCore init {{NODE_NAME}}
  • Replace ${HOME}/.persistenceCore/config/genesis.json with the genesis file of the chain.
  • Add persistent_peers or seeds in ${HOME}/.persistenceCore/config/config.toml
  • Start node
persistenceCore start

Initialize a new chain and start node

  • Initialize: persistenceCore init [node_name] --chain-id [chain_name]
  • Add key for genesis account persistenceCore keys add [genesis_key_name]
  • Add genesis account persistenceCore add-genesis-account [genesis_key_name] 10000000000000000000stake
  • Create a validator at genesis persistenceCore gentx [genesis_key_name] 10000000stake --chain-id [chain_name]
  • Collect genesis transactions persistenceCore collect-gentxs
  • Start node persistenceCore start
  • To start rest server set enable=true in config/app.toml under [api] and restart the chain

Reset chain

rm -rf ~/.persistenceCore

Shutdown node

killall persistenceCore

Check version

persistenceCore version

Test-nets

Main-net

Coming soon

persistencecore's People

Contributors

avkr003 avatar deepanshutr avatar persistenceadmin avatar persistencesujith avatar puneet2019 avatar sujith-surendran avatar vision2point0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.