Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/src/routes/docs/[...3]modules/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,17 @@ type AppMetadata = {
explore?: string
// if your app only supports injected wallets and when no injected wallets detected, recommend the user to install some
recommendedInjectedWallets?: RecommendedInjectedWallets[]
// allows for dapps to require users to agree to TOS and privacy policy before connecting a wallet
agreement?: TermsOfServiceAgreementOptions | null
}

type TermsOfServiceAgreementOptions = {
// user aggrees with exact version of terms and privacy policy
version: string
// url that points to the Terms & Conditions of the dapp
termsUrl?: string
// url that points to the Privacy policy of the dapp
privacyUrl?: string
}

type RecommendedInjectedWallets = {
Expand Down