Overview
Asset libraries used within the Exodus applications.
Assets
An asset consists of several packages:
Name | Description |
---|---|
<asset>-api | Transaction and fee monitors, RPC with the blockchain node, other networking code. |
<asset>-lib | Internal asset utils, such as for cryptography, address encoding/decoding, etc. These are NOT necessarily exported under the same names and same interfaces for every asset. The cardinal rules for this package are that there must NOT be any networking code and that it should have as few dependencies as possible. |
<asset>-meta | Constants like name, displayName, ticker, currency, colors, icons. |
<asset>-plugin | This is the ONLY PACKAGE that makes public interface guarantees. It exports a createAsset factory function for a wallet to instantiate and inject with an assetClientInterface, which returns a uniform asset interface that hides asset specifics. |
Shield
Umbrella packages and utilities.
Web3
Packages used for interacting with smart contracts and dapps.
Last updated on