Registry / networking / centrifuge-go-substrate-rpc-client

centrifuge-go-substrate-rpc-client

JSON →
library2.0.0+incompatiblegogounverified

Go Substrate RPC Client (gsrpc) provides APIs and types for interacting with Polkadot and Substrate-based blockchain nodes via RPC.

go get github.com/centrifuge/go-substrate-rpc-client
INSTALL
IMPORT
SIG · CENTRIFUGE-GO-SUBS
C
centrifuge-go-substrate-rpc-client
networkinggov2.0.0+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gsrpc
github.com/centrifuge/go-substrate-rpc-client

Connect to a Substrate node via WebSocket

package main import ( "fmt" gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4" ) func main() { api, err := gsrpc.NewSubstrateAPI("wss://rpc.polkadot.io") if err != nil { panic(err) } fmt.Println(api.Client.URL) }
Debug
Known issues
breakingMajor version updates may introduce breaking changes; check migration guides.
fix
Use the correct import path for your version (e.g., /v4 for v4.x).
affects: >=2.0.0
Upgrade
Version history
2.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Amazon
1
Resources
centrifuge-go-substrate-rpc-client — go get centrifuge-go-substrate-rpc-client · libregistry