Supported are:
- Ethereum ens domains - https://ens.domains/
- Heat email alias - https://www.heatledger.com/heat-ledger-blockchain-platform/
(with more planned)
There are two plugin interfaces here, forward and reverse resolve.
Plugin Input
Please see
heat-server-common/src/constants.ts
for type definitions
/**
* Resolve alias
*/
interface {
/**
* Enum of blockchain identifiers
*/
blockchain: Blockchains;
/**
* Enum of asset or token types
*/
assetType: AssetTypes;
/**
* Alias
*/
alias: string;
}
/**
* Reverse resolve alias
*/
interface {
/**
* Enum of blockchain identifiers
*/
blockchain: Blockchains;
/**
* Enum of asset or token types
*/
assetType: AssetTypes;
/**
* Address or public key
*/
addrXpub: string;
}
Plugin Output
/**
* Resolve alias
*/
interface {
addrXpub: string;
isPermanent: boolean;
}
/**
* Reverse resolve alias
*/
interface {
alias: string;
isPermanent: boolean;
}