Function: chainEnvPrefix()
function chainEnvPrefix(name): string;
Defined in: packages/overcast-core/src/chain-env.ts:41
A chain's env prefix: its name in upper case, with everything that cannot appear
in a shell variable folded to _. So solana-sandbox reads SOLANA_SANDBOX_*
and base reads BASE_*.
There is deliberately no cross-chain fallback — no shared RPC_URL, no
shared operator key. Two deployments of one protocol are two endpoints and two
wallets, and a scheme where one could answer for the other would silently
point a chain at the wrong node.
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
string