ripplenetwork

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2021 License: MIT Imports: 1 Imported by: 0

README

Ripple Network

Build Status Go Report Card Docs License

This package provides a list of public Rippled servers.

Servers

Hostname Description JSON-RPC Port
s1.ripple.com Mainnet Public Cluster 51234
xrpl.ws Mainnet Full History Cluster
s2.ripple.com Mainnet Full History Cluster 51234
s.altnet.rippletest.net Testnet Public Cluster 51234
s.devnet.rippletest.net Devnet Public Cluster 51234

Testing

JSON RPC

Test with the following:

$ curl -H 'Content-Type: application/json' -d '{"method":"server_info"}' https://s1.ripple.com:51234/

$ curl -H 'Content-Type: application/json' -d '{"method":"server_info"}' https://s2.ripple.com:51234/

$ curl -H 'Content-Type: application/json' -d '{"method":"server_info"}' https://s.altnet.rippletest.net:51234/ --insecure

$ curl -H 'Content-Type: application/json' -d '{"method":"server_info"}' https://s.devnet.rippletest.net:51234/ --insecure

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonRpcUrl

func GetJsonRpcUrl() string

func GetMainnetFullHistoryJsonRpcUrl

func GetMainnetFullHistoryJsonRpcUrl() string

func GetMainnetPublicJsonRpcUrl

func GetMainnetPublicJsonRpcUrl() string

func ServersJsonRpc

func ServersJsonRpc() openapi3.Servers

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL