For production setups it is important to run your own full node. Running your own full node has several advantages over relying on a public full node.
The most important advantage is security. You rely on the full node to provide you with correct data. When using a public full node, you rely on a third party: there is no 100% guarantee that the information returned is correct.
Another important aspect when hosting a full node is availability. Public full nodes typically do not come with a Service Level Agreement (SLA) and might go down for maintenance or are simply too slow. With your own full node infrastructure, you can ensure that there is always enough capacity to serve your needs and your customers.
Connect to the Network
Replace the WebSocket address of your script or application with