Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TokenURL = "https://auth.genesysgo.net/auth/realms/RPCs/protocol/openid-connect/token" MainNetBeta = rpc.Cluster{ Name: rpc.MainNetBeta.Name, RPC: "https://only1.genesysgo.net", WS: "ws://only1.genesysgo.net", } DevNet = rpc.Cluster{ Name: rpc.DevNet.Name, RPC: "https://psytrbhymqlkfrhudd.dev.genesysgo.net:8899", WS: "ws://psytrbhymqlkfrhudd.dev.genesysgo.net:8899", } ErrInvalidToken = errors.New("invalid token") )
Functions ¶
func GetToken ¶
RFC2617 authToken - clientID:clientSecret encoded in base64 Please use the following instruction in order to generate a new token: https://genesysgo.medium.com/a-primer-to-genesysgo-network-auth-a3c678a9dc2a
func NewRPCClient ¶
RFC2617 authToken - clientID:clientSecret encoded in base64 Please use the following instruction in order to generate a new token: https://genesysgo.medium.com/a-primer-to-genesysgo-network-auth-a3c678a9dc2a
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.