Choose an environment
environment) property configures which Swing API environment is used.
testnet environment integrates with contracts deployed to testnets. Using this environment is great for local development and testing. You can use all of the features of the widget, without needing to use real funds. Check available routes
production environment integrates with contracts deployed on mainnet. This is the default environment.
environment property to the widget component with the value of either
production. If the
environment property is omitted, the
production environment will be used.