Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

feat[DOCS] : add useAutoConnect documentations#91

Open
Oladayo-Ahmod wants to merge 2 commits intoScaffold-Stark:mainfrom
Oladayo-Ahmod:useAutoConnect-docs
Open

feat[DOCS] : add useAutoConnect documentations#91
Oladayo-Ahmod wants to merge 2 commits intoScaffold-Stark:mainfrom
Oladayo-Ahmod:useAutoConnect-docs

Conversation

@Oladayo-Ahmod
Copy link
Contributor

Add useAutoConnect documentations

Types of change

  • Bug
  • Enhancement

Comments (optional)

Comment on lines +49 to +55

### **Configuration**
Ensure the following keys are defined in your `scaffold.config`:
- `walletAutoConnect`: A boolean flag to enable or disable auto-connect by setting it to `true` or `false`.
- `autoConnectTTL`: Time-to-live (in milliseconds) for auto-connect.

---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be on the top

Comment on lines +57 to +60
### **Best Practices**
- Use this hook at the application root to manage wallet connections seamlessly.

---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont really need this.

@metalboyrick
Copy link
Collaborator

HI, thanks for the hard work. just informing you that this hook is not really meant to be used by the users, its for the maintainers' convenience in implementation of autoconnect hooks. But it's alright to have some docs, thus we're are going to keep this PR open.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants