Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve presets and configuration settings #2

Closed
njokuScript opened this issue Nov 26, 2023 · 0 comments · Fixed by #9
Closed

Improve presets and configuration settings #2

njokuScript opened this issue Nov 26, 2023 · 0 comments · Fixed by #9
Assignees
Labels
enhancement New feature or request

Comments

@njokuScript
Copy link
Member

Overview

The current presets lack flexibility and comprehensive coverage for various environments.
This issue proposes an enhancement to the presets and configuration settings to better accommodate different use cases and improve the overall user experience.

Proposed Changes

The proposed changes involve refining and expanding the existing presets in Descent.create({}) to better cater to different scenarios. Additionally, we will introduce improvements to the configuration settings to enhance customization.

Updated Presets:

browser:

  • Use this preset when employing the library in a browser environment.
  • It will attempt to connect using window.ethereum or window.web3.

https:

  • Connect to a JSON-RPC node.
  • Requires the URL to be set in the options.

test:

  • Use a local node (e.g., Ganache) running at http://127.0.0.1:2000/.
  • Sign transactions using node-managed keys.
@njokuScript njokuScript added the enhancement New feature or request label Nov 26, 2023
@njokuScript njokuScript self-assigned this Nov 27, 2023
@njokuScript njokuScript linked a pull request Nov 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant