-
Notifications
You must be signed in to change notification settings - Fork 3
Miniwallet enhancements (including miniserver and smart contract changes) #8
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
Conversation
…eedback from PR 7
| signers[i] = signer.connect(provider) | ||
| } | ||
| } else { | ||
| signers[0] = new ethers.Wallet(networkConfig.key, networkConfig.provider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
signers has length 0 by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what the ask here is
My thought is we need to set signers[0] when using a privateKey.
@polymorpher can you clarify 🙏
polymorpher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Just need some minor simplifications
This PR addresses issues
It is forked from PR #7 Initial version of miniwallet server
It incorporates all the changes in #7 and as such #7 can be closed and work can be progressed under this PR.
Alternatively we can merge #7 first and then this PR.
Enabling the miniserver enhancements to be merged independently from the Smart Contract enhancements.