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

Add some functions? #5

Open
zydjohnHotmail opened this issue Mar 20, 2023 · 0 comments
Open

Add some functions? #5

zydjohnHotmail opened this issue Mar 20, 2023 · 0 comments

Comments

@zydjohnHotmail
Copy link

Hello:
I found your repo, which seems to be a good one, I also want to write such a project, but my JavaScript level is not good enough for a lot of things.
Since I have used MetaMask wallet before, I think if I can add 2 functions just as MetaMask wallet to this repo, then it will be good for testing at least.
The 2 functions I want to add are:

  1. Approve
  2. Reject
    You see when user wants to switch network or allow transaction, MetaMask will alwasy ask user's approval, if approved, then send the request or transaction, if not approved, then simply reject the request.
    You can give me a general idea on which JavaScript functions can build such functions, may be I can try to add this myself, so I can learn more JavaScript.
    By the way, can I use this repo for other blockchain, if I know the RPC server address?
    Thanks,
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

No branches or pull requests

1 participant