Full Export Index
Every public export of wative-core in one table — classes, functions, constants and types from the package root and its /node and /artifacts subpaths — each linked to the page that documents it.
Every symbol the package exposes, grouped by the import specifier it comes from and by the section it belongs to. Kind distinguishes a runtime value (class, function, const) from a compile-time-only type; const + type marks an enum-like object that is both. Each row links to the page that documents it in depth.
The package has three public entry points: the root wative-core, the Node-only wative-core/node, and the heavy chain helpers under wative-core/artifacts/*. Import from these specifiers — never from a dist/ path.
wative-core — package root
The isomorphic core. Everything here works unchanged in Node and the browser.
Domain classes and their types
| Export | Kind | Documented on |
|---|---|---|
Workspace | class | Workspace |
WorkspaceConfig | type | Workspace Config |
OpenOptions | type | Opening a Workspace |
Account | class | Accounts |
AccountOrgType | type | Accounts |
AccountCollection | type | Accounts |
WalletCollection | type | Accounts |
newMnemonic | function | Mnemonics |
Wallet | class | Wallets |
Address | class | Addresses |
EvmSigner | class | Addresses |
SvmSigner | class | Addresses |
Asset | class | Assets |
AssetInitObject | type | Assets |
AssetBalance | type | Assets |
AssetCollection | type | Assets |
Network | class | Networks |
NetworkInit | type | Networks |
NetworkCollection | type | Networks |
Transactions
| Export | Kind | Documented on |
|---|---|---|
EvmTransaction | class | EVM Transactions |
SvmTransaction | class | SVM Transactions |
EvmTxType | const + type | EVM Transactions |
Transaction | type | Transactions |
SimulationResult | type | Transactions |
TransactionStatus | type | Transaction Tracker |
TransactionTracker | type | Transaction Tracker |
TransactionStateChange | type | Transaction Tracker |
TransactionReceipt | type | Transaction Tracker |
EvmTxBuildParams | type | EVM Transactions |
EvmRawTx | type | Raw Transactions |
SvmTxBuildParams | type | SVM Transactions |
AssetRef | type | Transfers |
TransferRequest | type | Transfers |
TransferPayload | type | Transfers |
Branded primitives and utility types
| Export | Kind | Documented on |
|---|---|---|
Slug | type | Branded Types |
EvmAddress | type | Branded Types |
SvmAddress | type | Branded Types |
ChainId | type | Branded Types |
AssetId | type | Branded Types |
ChainVM | type | Branded Types |
VmToken | type | Branded Types |
NetworkLike | type | Branded Types |
Settling | type | Branded Types |
Errors
Storage providers
| Export | Kind | Documented on |
|---|---|---|
Provider | class | Provider Base |
Record | class | Provider Base |
RecordInit | type | Provider Base |
RecordType | type | Provider Base |
ContainerState | type | Provider Base |
IdbProvider | class | IndexedDB Provider |
IdbProviderOptions | type | IndexedDB Provider |
IdbDestroyOptions | type | IndexedDB Provider |
StorageDurability | type | IndexedDB Provider |
StorageQuota | type | IndexedDB Provider |
DbProvider | class | Database Provider |
ContainerProvider | class | Container Provider |
ContainerEntry | type | Container Provider |
FileProvider | class | Storage Providers |
The runtime Record class shares its name with TypeScript's built-in Record<K, V> utility type. They live in different namespaces — one is a value, the other a type — so importing the class does not remove the utility type; both stay usable.
Encryption primitives
For custom Provider authors. See Encryption and Key Derivation.
| Export | Kind | Documented on |
|---|---|---|
Cipher | class | Encryption |
AesGcmCipher | class | Encryption |
AesGcmCipherOptions | type | Encryption |
Argon2Kdf | class | Key Derivation |
Argon2KdfOptions | type | Key Derivation |
argon2BackendInfo | function | Key Derivation |
Argon2BackendInfo | type | Key Derivation |
Password policy
| Export | Kind | Documented on |
|---|---|---|
PasswordPolicy | class | Password Policy |
PasswordScore | const + type | Password Policy |
PasswordWeakness | type | Password Policy |
PasswordWeaknessCode | type | Password Policy |
PasswordCheckResult | type | Password Policy |
PasswordPolicyOptions | type | Password Policy |
PasswordCheckContext | type | Password Policy |
Logging
| Export | Kind | Documented on |
|---|---|---|
Logger | class | Logging |
ConsoleSink | class | Logging |
LogLevel | type | Logging |
LogRecord | type | Logging |
LogSink | type | Logging |
LoggerConfig | type | Logging |
SinkConfig | type | Logging |
Chain helpers
Also re-exported under the wative-core/artifacts/* subpaths (see below).
| Export | Kind | Documented on |
|---|---|---|
Contract | class | Contract |
AbiItem | type | Contract |
Program | class | Program |
SvmInstruction | type | Program |
Custom-chain extension
Subclass ChainDialect and register its vm token to teach the library a new chain.
| Export | Kind | Documented on |
|---|---|---|
ChainDialect | class | Custom Chains |
CurveName | type | Custom Chains |
RecoveredSecpSig | type | Custom Chains |
ChainCtx | type | Chain Context |
DigestSigner | type | Chain Context |
MessageEncoding | type | Chain Context |
registerDialect | function | Register a Dialect |
Built-in registry and RPC cache
| Export | Kind | Documented on |
|---|---|---|
BUILTIN_NETWORKS | const | Built-in Networks |
NetworkConfig | type | Built-in Networks |
BUILTIN_ASSETS | const | Built-in Assets |
AssetInit | type | Built-in Assets |
closeAllRpcClients | function | RPC Client Cache |
wative-core/node — Node-only surface
Importing this specifier registers the filesystem backends as a side effect, so Workspace.open() accepts a path (or no argument). It reaches for node:fs and cannot be used in the browser.
| Export | Kind | Documented on |
|---|---|---|
HybridProvider | class | Node Providers |
HybridProviderV3 | class | Node Providers |
FileSink | class | Logging |
FileSinkOptions | type | Logging |
resolveDefaultWorkspacePath | function | Opening a Workspace |
For backward compatibility, the Node resolution of the package root also re-exports HybridProvider, HybridProviderV3, FileSink, and FileSinkOptions — so import { HybridProvider } from "wative-core" still works in Node. That re-export is deprecated; import these from wative-core/node instead. resolveDefaultWorkspacePath is available only from wative-core/node.
wative-core/artifacts/evm
Ready-made Contract instances loaded from bundled ABI JSON. See Contract.
| Export | Kind | Documented on |
|---|---|---|
ERC20 | const (Contract) | Contract |
wative-core/artifacts/svm
Ready-made Program instances and the well-known program-id constants. See Program.
| Export | Kind | Documented on |
|---|---|---|
TokenProgram | const (Program) | Program |
Token2022Program | const (Program) | Program |
TOKEN_PROGRAM_ID | const | Program |
TOKEN_2022_PROGRAM_ID | const | Program |
ASSOCIATED_TOKEN_PROGRAM_ID | const | Program |
NATIVE_SOL_MINT | const | Program |
splTokenEncodeInstruction | function | Program |
SplTokenArgs | type | Program |
SplTokenAccountSet | type | Program |
Importing by subpath
pnpm add wative-corenpm i wative-coreimport { Workspace, Network, Contract } from "wative-core";
import "wative-core/node"; // Node: register filesystem backends
import { HybridProviderV3 } from "wative-core/node";
import { ERC20 } from "wative-core/artifacts/evm";
import { TokenProgram } from "wative-core/artifacts/svm";