Create and return an instantiation of a dragonchain client
The hmac algorithm to use when generating authenticated requests. Defaults to SHA256
AuthKey to explicitly use with this client. Must be set along with authKeyId or it will be ignored
AuthKeyId to explicitly use with this client. Must be set along with authKey or it will be ignored
DragonchainId for this client. Not necessary if DRAGONCHAIN_ID env var is set, or if default is set in config file
Endpoint to explicitly use with this client. Should not have a trailing slash and look something like https://some.url
Whether or not to verify the https certificate for https connections. Defaults to true if not provided
Get the credentials for a dragonchain. First checks environment, then configuration files, then a smart contract location
dragonchainId to get credentials for
Credentials of the dragonchain
Get the default configured dragonchainId from environment/config file
Set the logger that the sdk uses
By default this logger will do nothing, thorwing away all logs
a logger object that implements functions for: log
, info
, warn
, error
, and debug
Type of failure