File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
docs/src/routes/docs/[...3]modules Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,17 @@ type AppMetadata = {
113113 explore? : string
114114 // if your app only supports injected wallets and when no injected wallets detected, recommend the user to install some
115115 recommendedInjectedWallets? : RecommendedInjectedWallets []
116+ // allows for dapps to require users to agree to TOS and privacy policy before connecting a wallet
117+ agreement? : TermsOfServiceAgreementOptions | null
118+ }
119+
120+ type TermsOfServiceAgreementOptions = {
121+ // user aggrees with exact version of terms and privacy policy
122+ version: string
123+ // url that points to the Terms & Conditions of the dapp
124+ termsUrl? : string
125+ // url that points to the Privacy policy of the dapp
126+ privacyUrl? : string
116127}
117128
118129type RecommendedInjectedWallets = {
You can’t perform that action at this time.
0 commit comments