import (
gateway "github.com/GatewayLabs/gateway-go-sdk/client"
)
// JWT-based authentication
client := gateway.NewSDK(gateway.SDKConfig{
ApiKey: "your-jwt-token",
})
// Wallet-based authentication (Ethereum)
client := gateway.NewSDK(gateway.SDKConfig{
WalletDetails: gateway.WalletDetails{
PrivateKey: "your-private-key",
WalletType: gateway.Ethereum,
},
})
// Custom API URL (for development)
client := gateway.NewSDK(gateway.SDKConfig{
ApiKey: "your-jwt-token",
URL: "https://dev.api.gateway.tech",
})