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

ExportKindDocumented on
WorkspaceclassWorkspace
WorkspaceConfigtypeWorkspace Config
OpenOptionstypeOpening a Workspace
AccountclassAccounts
AccountOrgTypetypeAccounts
AccountCollectiontypeAccounts
WalletCollectiontypeAccounts
newMnemonicfunctionMnemonics
WalletclassWallets
AddressclassAddresses
EvmSignerclassAddresses
SvmSignerclassAddresses
AssetclassAssets
AssetInitObjecttypeAssets
AssetBalancetypeAssets
AssetCollectiontypeAssets
NetworkclassNetworks
NetworkInittypeNetworks
NetworkCollectiontypeNetworks

Transactions

ExportKindDocumented on
EvmTransactionclassEVM Transactions
SvmTransactionclassSVM Transactions
EvmTxTypeconst + typeEVM Transactions
TransactiontypeTransactions
SimulationResulttypeTransactions
TransactionStatustypeTransaction Tracker
TransactionTrackertypeTransaction Tracker
TransactionStateChangetypeTransaction Tracker
TransactionReceipttypeTransaction Tracker
EvmTxBuildParamstypeEVM Transactions
EvmRawTxtypeRaw Transactions
SvmTxBuildParamstypeSVM Transactions
AssetReftypeTransfers
TransferRequesttypeTransfers
TransferPayloadtypeTransfers

Branded primitives and utility types

ExportKindDocumented on
SlugtypeBranded Types
EvmAddresstypeBranded Types
SvmAddresstypeBranded Types
ChainIdtypeBranded Types
AssetIdtypeBranded Types
ChainVMtypeBranded Types
VmTokentypeBranded Types
NetworkLiketypeBranded Types
SettlingtypeBranded Types

Errors

ExportKindDocumented on
WativeErrorclassErrors
WativeErrorCodetypeErrors
WativeErrorOptstypeErrors

Storage providers

ExportKindDocumented on
ProviderclassProvider Base
RecordclassProvider Base
RecordInittypeProvider Base
RecordTypetypeProvider Base
ContainerStatetypeProvider Base
IdbProviderclassIndexedDB Provider
IdbProviderOptionstypeIndexedDB Provider
IdbDestroyOptionstypeIndexedDB Provider
StorageDurabilitytypeIndexedDB Provider
StorageQuotatypeIndexedDB Provider
DbProviderclassDatabase Provider
ContainerProviderclassContainer Provider
ContainerEntrytypeContainer Provider
FileProviderclassStorage Providers

Encryption primitives

For custom Provider authors. See Encryption and Key Derivation.

ExportKindDocumented on
CipherclassEncryption
AesGcmCipherclassEncryption
AesGcmCipherOptionstypeEncryption
Argon2KdfclassKey Derivation
Argon2KdfOptionstypeKey Derivation
argon2BackendInfofunctionKey Derivation
Argon2BackendInfotypeKey Derivation

Password policy

ExportKindDocumented on
PasswordPolicyclassPassword Policy
PasswordScoreconst + typePassword Policy
PasswordWeaknesstypePassword Policy
PasswordWeaknessCodetypePassword Policy
PasswordCheckResulttypePassword Policy
PasswordPolicyOptionstypePassword Policy
PasswordCheckContexttypePassword Policy

Logging

ExportKindDocumented on
LoggerclassLogging
ConsoleSinkclassLogging
LogLeveltypeLogging
LogRecordtypeLogging
LogSinktypeLogging
LoggerConfigtypeLogging
SinkConfigtypeLogging

Chain helpers

Also re-exported under the wative-core/artifacts/* subpaths (see below).

ExportKindDocumented on
ContractclassContract
AbiItemtypeContract
ProgramclassProgram
SvmInstructiontypeProgram

Custom-chain extension

Subclass ChainDialect and register its vm token to teach the library a new chain.

ExportKindDocumented on
ChainDialectclassCustom Chains
CurveNametypeCustom Chains
RecoveredSecpSigtypeCustom Chains
ChainCtxtypeChain Context
DigestSignertypeChain Context
MessageEncodingtypeChain Context
registerDialectfunctionRegister a Dialect

Built-in registry and RPC cache

ExportKindDocumented on
BUILTIN_NETWORKSconstBuilt-in Networks
NetworkConfigtypeBuilt-in Networks
BUILTIN_ASSETSconstBuilt-in Assets
AssetInittypeBuilt-in Assets
closeAllRpcClientsfunctionRPC 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.

ExportKindDocumented on
HybridProviderclassNode Providers
HybridProviderV3classNode Providers
FileSinkclassLogging
FileSinkOptionstypeLogging
resolveDefaultWorkspacePathfunctionOpening a Workspace

wative-core/artifacts/evm

Ready-made Contract instances loaded from bundled ABI JSON. See Contract.

ExportKindDocumented on
ERC20const (Contract)Contract

wative-core/artifacts/svm

Ready-made Program instances and the well-known program-id constants. See Program.

ExportKindDocumented on
TokenProgramconst (Program)Program
Token2022Programconst (Program)Program
TOKEN_PROGRAM_IDconstProgram
TOKEN_2022_PROGRAM_IDconstProgram
ASSOCIATED_TOKEN_PROGRAM_IDconstProgram
NATIVE_SOL_MINTconstProgram
splTokenEncodeInstructionfunctionProgram
SplTokenArgstypeProgram
SplTokenAccountSettypeProgram

Importing by subpath

pnpm add wative-core
npm i wative-core
imports.ts
import { 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";

Last updated on