Skip to content

feat: more robust createOrderlyKey #6

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alanwu4321
Copy link

@alanwu4321 alanwu4321 commented Oct 15, 2024

I know the source is on Gitlab so this PR is to just quickly showcase my proposal - feel free to edit as you see fit :)

  • Would be nice if the createOrderlyKey function provided by the useAccount hook can expose expiration and scope as parameters. Currently the scope is hardcoded to “trading,read”

  • also in case I am generating multiple keys and don't want to touch the keystore and mutate state
    we can make the mutation of the state and storage optional (return just the key results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants