@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Type Alias EnvironmentConfig

    A configuration for a specific environment. For most purposes simply specifying 'MAINNET' or 'TESTNET' as your Environment is sufficient, but you can also specify a custom configuration if needed.

    Salt

    type EnvironmentConfig = {
        apiUrl: string;
        chainConfig: Chain;
        chainId: SupportedChainId;
        name: EnvironmentName;
        publicClient: ViemPublicClientLike;
        registryAddress: `0x${string}`;
        saltDomain: string;
        websocketUrl: string;
    }
    Index

    Properties

    apiUrl: string

    URI for the API server, including protocol

    https://testnet.salt.space/api
    
    chainConfig: Chain

    Registry contract chain

    arbitrumSepolia
    

    The ID of the orcehstration chain. For testnet, this is 421614 (Arbitrum Sepolia)

    421614
    

    Environment name

    EnvironmentName.Staging
    
    publicClient: ViemPublicClientLike

    Viem RPC client

    const client = createPublicClient({
    chain: arbitrum,
    transport: http(globalThis.process.env.VITE_ARBITRUM_ONE_NODE_URL),
    });
    registryAddress: `0x${string}`

    Salt shard registry contract address

    '0x447603546Ee18245d1640Aaa5150eB3A328256EF'
    
    saltDomain: string

    The FQDN for the client, with no protocol

    testnet.salt.space/api
    
    websocketUrl: string

    The URL for the websocket server, used for account setup and transaction signing

    https://testnet.salt.space/api