Examples - Wallet Provider Go SDK

Go SDK Documentation Server

Version: v0.0.0 | Build Time: 2026-02-06_14:26:19

Examples

Examples are available in the examples/ directory:

Basic Usage Example

package main

import (
    "log"
    sdk "github.com/silence-laboratories/wallet-provider-go-sdk"
)

func main() {
    // Get SDK version
    version := sdk.GetVersion()
    log.Printf("Using SDK version: %s", version)

    // Setup client configuration
    config := &sdk.NetworkClientConfig{
        APIKey: "your-api-key",
        // Add your network nodes here
    }

    // Create client
    client, err := sdk.NewNetworkClient(config)
    if err != nil {
        log.Fatal("Failed to create client:", err)
    }

    // Use client for operations...
}