Deployment Options
Deployment options are explained in more detail here.
An options object can be passed to a deployment request to set some of the parameters of the deployment flow. In the example in the chapter before, we've set the empty configuration, since all the parameters are optional. Options you can configure are listed below:
arbitraryData
Key-value mapping of any data you want to attach to the deployment request. The data will simply be sent back in the result object upon the successful request completion. Depending on your use-case, you might want to add important info here, related to your existing application parameters.
If the value is not provided, the empty data is sent with the request and received back when the request is processed.
Example value:
screenConfig
Configures the execution screen and sets the text labels that are going to be visible when processing the deployment request on the front-end. If someone else is going to process your deployment request by opening the generated deployment request link, then you can use this data to customize how the deployment screen will look like. You can configure the message shown before the contract is deployed, and the success message shown after the contract was actually deployed.
If the value is not provided, the default action messages will be shown when you redirect the user to our action execution screen.
You can put any text value in these parameters, links, thank you messages, or whatever else might be useful for your case.
callerAddress
The wallet address, which has to be used when deploying the contract. If the user connects with another wallet address, the request will be rejected.
If the value is not provided, the user can log in with any wallet address and continue processing the request.
Example value:
redirectUrl
If the value is not provided, the actionUrl generated by the SDK will be automatically built to redirect the user to our wallet connection screen, and this is the recommended approach.
Example value:
Last updated