Control how your wallet interacts with blockchains.
Environment configuration allows variables to be used throughout a FunWallet SDK flow without having to redefine them. Each environment variable has a default value. The following environment variables can be specified:
|Environment Variable||Default Value|
|Base Gas Token|
The environment variable types are defined in the EnvironmentManager interface. Read the API Reference.
The values in the environment config can be overridden on a transaction-by-transaction basis. Overridden environment variables are specified in the options parameter, found at the end of every FunWallet method's parameter list.
Below are the ways the FunWallet SDK allows you to configure your environment: