Create Custom Endpoint Cosmos

circle-info

Prepare Domain and Subdomain

Install Packagee

sudo apt autoremove nodejs -y
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install nginx certbot python3-certbot-nginx nodejs git yarn -y 

Prepare set Custom API and RPC

** example (change .planqd)
nano $HOME/.planqd/config/app.toml
  • on API Configuration change false to enable

  • and save on your notepad API local 0.0.0.0:1417

  • and save on your notepad RPC local 127.0.0.0:14657

SET VARIABLE

CREATE CONFIG

Config For API

Config For RPC

Config Test

Outputt if test ok

circle-check

Install Certificate SSL

Done

*** For GRPC settings it is the same as above

Last updated