The configuration parameters of the Solana implementation of the GatewayProvider. For a full integration guide on integrating the Gateway Provider the parent section, Gateway Provider.
An object representing the user's wallet. This may be
The user wallet's public key
A function that asks the user's wallet to sign a transaction.
A Solana connection to any Solana network. The recommended commitment level is 'processed'
The Solana network to use, i.e.
In the default mode of operation, the transaction required to issue or refresh the Civic Pass will not be broadcast by Civic, only signed by Civic. The user will responsible for broadcasting the transaction incl. any fees. This flow is handled transparently by the Gateway Provider, which also communicates any fees to the user via the Civic Pass modal.
Some Gatekeeper Networks support an alternative mode, i.e. having the Civic backend (i.e. Gatekeeper) broadcast the transaction. If the gatekeeper network you are using supports this, you can set the
trueto turn it on.
Civic will send the transaction to the blockchain on behalf of the user. Defaults to
true | false
If the custom
handleTransactionfunction is provided it is the responsibility of the integrator to
- either sign and send the transaction or
- just send the transaction based on the signatures requirement of the transaction.
The integrator also has the option to extend the transaction before it is signed and sent, in order to minimise the number of separate transactions that the user is required to approve.
An optional callback function that will invoked with a partially signed transaction for the user to sign and send to the blockchain. (not available when