Download binary or build from source code (better option). Make sure that it is included into $PATH variable.
wget https://github.com/obada-foundation/fullcore/releases/download/latest/fullcored_latest_linux_amd64 -O /usr/bin/fullcored
chmod +x /usr/bin/fullcored
git clone https://github.com/obada-foundation/fullcore
cd fullcore/cmd/fullcored
go build .
cp fullcored /usr/bin/fullcored
Add variables to your .bashrc
file or create variables in a shell session.
NODE_NAME=val-wdpi
ACCOUNT_NAME=val-wdpi
For consistency we use the same name just for identifying validator account. Please use prefix val, like val-thinkdynamic
or val-tradeloop
.
fullcored init $NODE_NAME --chain-id obada-testnet
Where "obada-testnet" OBADA chain ID, we are still running testnet, please do not change this value.
fullcored keys --keyring-backend test --keyring-dir ~/.fullcore/keys add $ACCOUNT_NAME
wget https://raw.githubusercontent.com/obada-foundation/testnet/main/testnets/testnet-2/genesis.json -O ~/.fullcore/config/genesis.json
ADDRESS=$(fullcored keys --keyring-backend test --keyring-dir ~/.fullcore/keys show $ACCOUNT_NAME --address)
# Show account address
echo $ADDRESS
fullcored add-genesis-account $ADDRESS 1000000000000000000rohi
After this step, copy your local genesis file from ~/.fullcore/config/genesis.json
and send to [email protected]
with title "Genesis account: YOUR ORG NAME"
and wait for further instructions.
4 vCPU
cores (ARM64 or x64)- Minimum
8GB
of RAM - Storage space required to persist blockchain state and snapshots (
512GB+
recommended) - Minimum
32GB+
of the free storage space available at all times (make sure that you have configured thresholds) - Disposable cloud instance or VM
- Ubuntu
22.04 LTS
installed on the host instance or VM - Stable internet connection with minimum
10 Mbps
Up/Dn speed - Static IP address or dynamic DNS
- Access to router or otherwise your local network configuration
Installation script assumes that you use Ubuntu 20.04 for Node. The deployment script can be executed from any machine that can run docker, shell and makefiles. Please check this video if you need more information about the installation details.
sudo apt install docker.io make -y
If you don't have a Debian based distribution, you need to find a way to install such dependencies on your own.
sudo usermod -aG docker $USER
After execution of this command you need to reboot your provision server.
git clone https://github.com/obada-foundation/testnet
cd testnet
make certificates
After the success certificate generation, add ./ssh/obada_node_ssh_key.pub to the server that you want to install the Node. Below you can find instructions how to add a key for most popular cloud/hosting providers:
- DigitalOcean
- AWS EC2
- You can also do this manually by looking into this tutorial
make configure
make deploy
The deployment may take some time and in case of success installation, you should see a message like:
ok: [46.101.115.172] => {
"msg": "The Node installation was completed. If you want your Node to be included into persistent peers of the network, please send [email protected]:26656 to [email protected]"
}
Port | Purpose |
---|---|
26656 | Used for p2p network synchronization. Must be always open. |
26657 | Consensus (Tendermint) RPC endpoint. Should be closed for not trusted connections. |
1317 | Node REST server. Should be closed for not trusted connections. |
9090 | Node gRPC server. Should be closed for not trusted connections. |