Builder
Builder for creating OZSmartAccountConfig with a fluent API.
Example:
val config = OZSmartAccountConfig.builder(
rpcUrl = "https://soroban-testnet.stellar.org",
networkPassphrase = "Test SDF Network ; September 2015",
accountWasmHash = "abc123...",
webauthnVerifierAddress = "CBCD1234..."
)
.sessionExpiryMs(86400000L)
.relayerUrl("https://relayer.example.com")
.storage(myPersistentStorage)
.externalWallet(freighterAdapter)
.build()Constructors
Functions
Builds the OZSmartAccountConfig.
Sets the policies installed on the new wallet's default context rule at deploy time.
Sets the deployer keypair.
Sets the Ed25519 external-signer adapter used by OZSmartAccountKit.externalSigners for the out-of-process Ed25519 signing path.
Sets the external wallet adapter.
Sets the indexer URL.
Sets the maximum context rule ID to scan when iterating rules.
Sets the relayer URL.
Sets the session expiry in milliseconds.
Sets the signature expiration in ledgers.
Sets the storage adapter.
Sets the operation timeout in seconds.
Sets the credential arm of the kit's internal simulations and of the fundWallet source-account conversion.
Sets the credential arm used for delegated external-wallet auth entries.
Sets the WebAuthn provider.