{"version":"1.0","type":"rich","title":"hello-remote-threads.go","description":"This example demonstrates how to connect to Textile’s remote Hub API and create a new thread database using the Go Threads client. It generates a random Ed25519 identity for the user, authenticates with an API key and secret, then requests a user token before instantiating a thread ID and calling `NewDB`. The code uses `github.com/textileio/go-threads/api/client`, `thread.NewLibp2pIdentity`, and `common.CreateAPISigContext` to handle secure communication via gRPC with TLS credentials.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-81186757fe7abc08e0bef6f45c553faa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}