Skip to content

Conversation

@johnwhitton
Copy link
Collaborator

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.

signers[i] = signer.connect(provider)
}
} else {
signers[0] = new ethers.Wallet(networkConfig.key, networkConfig.provider)
Copy link
Owner

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

Copy link
Collaborator Author

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 🙏

Copy link
Owner

@polymorpher polymorpher left a 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

@johnwhitton
Copy link
Collaborator Author

Closing this as we will merge under #14 and track items under #13

@johnwhitton johnwhitton closed this Sep 4, 2022
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.

3 participants