Giter VIP home page Giter VIP logo

node's Introduction

Node

GitHub Workflow Status Go Report Card License: Apache-2.0 Lines Of Code Version

Application implementing the minimum clique of AssetMantle modules enabling interNFT definition, issuance, ownership transfer and decentralized exchange.

Hardware Requirements

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

NOTE: SSDs have limited TBW before non-catastrophic data errors. Running a full node requires a TB+ writes per day, causing rapid deterioration of SSDs over HDDs of comparable quality.

Operating System

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

Installation Steps

Prerequisite: go1.14+ required. ref Prerequisite: git. ref Optional requirement: GNU make. ref

  • Clone git repository
git clone https://github.com/AssetMantle/node.git
  • Checkout release tag
git fetch --tags
git checkout [vX.X.X]
  • Install
cd assetMantle
make all

Generate keys

assetClient keys add [key_name]

or

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

Connect to a chain and start node

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

Initialize a new chain and start node

  • Initialize: assetNode init [node_name] --chain-id [chain_name]
  • Add key for genesis account assetClient keys add [genesis_key_name]
  • Add genesis account assetNode add-genesis-account [genesis_key_name] 10000000000000000000stake
  • Create a validator at genesis assetNode gentx --name [genesis_key_name] --amount 10000000stake
  • Collect genesis transactions assetNode collect-gentxs
  • Start node assetNode start
  • To start api server assetClient rest-server

Reset chain

rm -rf ~/.assetNode

Shutdown node

killall assetNode

Check version

assetNode version

Containeirzed environment

Make sure you have latest docker version, Docker for mac can be slow. Recommend using linux

Start node and client

# port 26657 and 1317 are exposed
make docker-compose

clean

make docker-clean

Contributing

If you want to contribute to AssetMantle Modules, please read the instructions in CONTRIBUTING.md.

Discord Twitter Reddit YouTube

Contributors


node's People

Contributors

deepanshutr avatar puneet2019 avatar vision2point0 avatar manojkumar4444 avatar iamsarvagyaa avatar persistencesujith avatar dependabot[bot] avatar unnati914 avatar assetmantleadmin avatar pratikbin avatar sujith-surendran avatar anmol1696 avatar bahdotsh avatar persistenceadmin 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.