Skip to content

Conversation

@tfrg
Copy link
Contributor

@tfrg tfrg commented Dec 31, 2024

What type of PR is this?

  • feature

What this PR does:

  • Set up the provider's network data.
  • Implement onChangeNetwork().
  • Implement addNetwork().
  • Implements switchNetwork().
  • Implements setNetwork().

Copy link
Member

@jinoosss jinoosss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check out some of the comments.

Comment on lines 134 to 137
const connected = this.connectProvider();
if (!connected) {
return makeResponseMessage(WalletResponseFailureType.NOT_CONNECTED);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need connect?
What do you think?

Copy link
Member

@jinoosss jinoosss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
I left one minor comment.

@jinoosss jinoosss merged commit 0555995 into onbloc:main Jan 10, 2025
3 checks passed
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