Connecting to a Node
Last updated
Last updated
You can connect to the DEMOS block chain via a RPC node. Here is a list of public DEMOS nodes.
You can connect to a demos RPC node using the sdk as follows:
The demos.connect
method confirms that the RPC URL provided is online. If the method exits without throwing an error, you are now ready to query the blockchain via NodeCalls.