Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

445 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexqloud Chain

Seed Nodes

This dns mapping can be used to replace with the actual IP address of the seed node. The seed node is used to bootstrap the network and is used by the new nodes to connect to the network. You can set this values in the environment variables while deploying the node.

  • Testing Seed Node - dev-node.nexqloud.net
  • Staging Seed Node - stage-node.nexqloud.net

Deployment

  • Clone the repository and switch to the upgrade branch
git clone https://github.com/nexqloud/nexqloud-chain.git
git switch upgrade
  • Build the docker image
docker build -t nexqloud-chain .
  • Set the environment variables
export MONIKER="node1" # The name of the node as it will appear in the network
export SEED_NODE_IP="" # The IP address of the seed node
export HOME = "/root" # The home directory of the container required to mount the volume
  • Run the docker container
docker run -d --name nexqloud-chain -e MONIKER -e SEED_NODE_IP nexqloud-chain
  • To have persistent data, you can mount a volume to the container which must map with the ~/.nxqd directory
docker run -d --name nexqloud-chain -e MONIKER -e SEED_NODE_IP -v /path/to/local/directory:/root/.nxqd nexqloud-chain

Development

sudo systemctl stop chain && git reset --hard && git pull && rm -rf go.sum && make clean && make && sudo cp build/nxqd /usr/local/bin/ && sudo systemctl start chain
peer node
git reset --hard && git pull && rm -rf go.sum && make clean && make && sudo cp build/nxqd /usr/local/bin/

replace the chain service 
cd ~
sudo cp seed_chain.service /etc/systemd/system/chain.service

or 

sudo cp peer_chain.service /etc/systemd/system/chain.service

If there is validator creation problem it might be becasue the grpc is disbaled please enter this command to enable it

sed -i 's/enable = false/enable = true/' /home/ec2-user/.nxqd/config/app.toml or sed -i 's/enable = false/enable = true/' /home/ec2-user/.nxqd/config/config.toml

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages