Registry /
networking / stafiprotocol-go-substrate-rpc-client
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.
gosubstrate
✓ github.com/stafiprotocol/go-substrate-rpc-client
Connects to a Substrate node via WebSocket RPC.
package main
import (
"fmt"
"github.com/stafiprotocol/go-substrate-rpc-client/client"
)
func main() {
c, err := client.Connect("wss://rpc.polkadot.io")
if err != nil {
panic(err)
}
defer c.Close()
fmt.Println("Connected to Substrate node")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.4.7latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.