Auto-Boosts
Last updated
Was this helpful?
Last updated
Was this helpful?
Learn about Auto-Boosts, a feature enabling the automatic issuance of credentials (Boosts) to users immediately upon their consent to a specific contract. This section details their configuration within contracts and the automated issuance process.
Auto-boosts are credentials automatically issued when a user consents to a contract. This feature allows contract creators to automatically reward users who consent to their contracts.
Auto-boosts are configured when creating a contract:
Key requirements:
The contract creator must have permission to issue the boost
The boost must be published (not a draft)
The specified signing authority must exist for the contract creator
Each auto-boost can use a different signing authority
Auto-boosts are processed during:
Initial consent via consentToContract()
Re-consent via reconsentTerms()
Terms update via updateTerms()
For each auto-boost, the system:
Gets the signing authority information from the relationship
Gets the contract owner's signing authority
Prepares the boost credential with the consenter's information
Issues the credential using the contract owner's signing authority
Records a "write" transaction
Sends the boost to the consenter
If a signing authority doesn't exist, that specific auto-boost will be skipped.