Function: solanaConfig()
function solanaConfig<N>(config): SolanaConfig<N>;
Defined in: solana-client/src/config.ts:111
Build a complete SolanaConfig from a partial one, filling unset fields
from DEFAULT_SOLANA_CONFIG — including the core / layer / hook program
ids, which default to the canonical deployment when a caller targeting it
omits them. The deployment's domain is read from chain (see
getDomain), not configured.
Type Parameters
| Type Parameter |
|---|
N extends string |
Parameters
| Parameter | Type |
|---|---|
config | InputConfig<SolanaConfig<N>, N> |
Returns
SolanaConfig<N>