bloock
import "github.com/bloock/bloock-sdk-go/v2"
Package bloock provides a centralized configuration for the Bloock SDK library.
For information about Bloock SDK in Go, see https://bloock.com.
Index
- Variables
- func SetContractAddress(network integrity.Network, contractAddress string)
- func SetProvider(network integrity.Network, provider string)
Variables
ApiHost {#ApiHost}ApiHost is a string variable representing the host URL used for API communication with the Bloock SDK.
var ApiHost string
ApiKey {#ApiKey}ApiKey is a string variable representing the API key used for authentication with the Bloock SDK. Create one [here]. [here]: https://dashboard.bloock.com/login
var ApiKey string
IdentityApiHost {#IdentityApiHost}IdentityApiHost is a string variable representing the host URL used for Identity Managed API. Required to be set for identity-related features of the Bloock SDK.
var IdentityApiHost string = ""
NetworkConfig {#NetworkConfig}NetworkConfig is a map variable that holds network configurations associated with specific network IDs in the Bloock SDK.
var NetworkConfig map[int32]*proto.NetworkConfig = make(map[int32]*proto.NetworkConfig)
SetContractAddress
func SetContractAddress
func SetContractAddress(network integrity.Network, contractAddress string)
SetContractAddress sets the contract address for the specified network in the Bloock SDK configuration.
SetProvider
func SetProvider
func SetProvider(network integrity.Network, provider string)
SetProvider sets the HTTP provider for the specified network in the Bloock SDK configuration.
Generated by gomarkdoc