Klaytn RPC endpoint
From Chainlink Community Wiki
Revision as of 17:37, 23 November 2022 by Devtrace (talk | contribs) (Created page with "left|thumb == This is a general guide on deploying an Klaytn RPC endpoint for your Chainlink Node(s). == [https://docs.klaytn.foundation/installation-guide Official Klaytn Docs are available here] {{:Box-round|title=NOTE|This document assumes base operating system is Debian 11}} == Klaytn RPC Endpoints: == * Websocket ** <code>ws://<your_ip_address>:8552</code> * HTTP ** <code>http://<your_ip_address>:8551</code> ==Optional: Download S...")
This is a general guide on deploying an Klaytn RPC endpoint for your Chainlink Node(s).
Official Klaytn Docs are available here
NOTE
This document assumes base operating system is Debian 11
Klaytn RPC Endpoints:
- Websocket
ws://<your_ip_address>:8552
- HTTP
http://<your_ip_address>:8551
Optional: Download Snapshot
Once downloaded, you will want to uncompress the tarball in the directory you set as your `DATA_DIR` in your `ken-linux-amd64/conf/kend.conf` configuration file.
In this example, it would be /home/<username>/kend/data
Download ken tarball
Create Klaytn Node Service
sudo nano /etc/systemd/system/klaytn-node.service
[Unit] Description=Klaytn Full Node After=network.target auditd.service Wants=network.target [Service] Type=simple User=<username> WorkingDirectory=~/kend TimeoutStartSec=0 TimeoutStopSec=120 ExecStart=/home/<username>/ken-linux-amd64/bin/kend start Restart=always RestartSec=10s [Install] WantedBy=multi-user.target RequiredBy=swarm.service Alias=klaytn-node.service