HiveXPH SDKhivexph-sdk
NPM
Developer toolkit for Hive Custom JSON and Hive Engine transactions.

hive.configs / hive.accounts

Configuration Manager

The SDK does not manage staging, production or testing. You define your own configuration structure and read it back verbatim from hive.configs. The reserved accounts key maps developer-defined aliases to real Hive accounts, directly or through environment variables — keys are resolved lazily on the backend and never stored, logged or displayed.

Declare configuration

Account aliases

Configuration is declarative and immutable: this rebuilds a HiveClient with the declaration above. There is no runtime switching — one client, one configuration.

hive.configs

Exactly the object you passed to the client, frozen. SDK runtime options such as endpoint are not part of it.

{}

Environment references

An alias declares either account or accountEnv, and optionally key or keyEnv. Nothing is read until an operation needs it: the injectable EnvironmentResolver is only consulted at resolution time, on the server. In this browser playground no private key exists or can be resolved — signing keys belong to backend processes only.

{
  "resolvedAliases": []
}

Issuer payload preview

Builds the signed-transaction payload without any network call or signing. from is an account alias resolved through the configuration.