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

Sepolia testnet in the SDK #745

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Sepolia testnet in the SDK #745

merged 1 commit into from
Nov 14, 2023

Conversation

lukasz-zimnoch
Copy link
Member

Refs: threshold-network/solidity-contracts#150

We are slowly moving to our new Sepolia testnet. Contracts are already deployed there. It is a good time to add Sepolia testnet support to the SDK.

Artifacts were taken from the following npm packages:

  • @keep-network/tbtc-v2@sepolia
  • @keep-network/ecdsa@sepolia

We are slowly moving to our new Sepolia testnet. Contracts are already
deployed there. It is a good time to add Sepolia testnet support to the
SDK.
@lukasz-zimnoch lukasz-zimnoch self-assigned this Nov 14, 2023
@lukasz-zimnoch lukasz-zimnoch added the 🔌 typescript TypeScript library label Nov 14, 2023
@lukasz-zimnoch lukasz-zimnoch added this to the typescript/v2.3.0 milestone Nov 14, 2023
Copy link
Contributor

@michalsmiarowski michalsmiarowski left a comment

Choose a reason for hiding this comment

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

LGTM! 🔥

Comment on lines +77 to +80
/**
* Initializes the tBTC v2 SDK entrypoint for Ethereum Sepolia and Bitcoin testnet.
* The initialized instance uses default Electrum servers to interact
* with Bitcoin testnet
Copy link
Contributor

@michalsmiarowski michalsmiarowski Nov 14, 2023

Choose a reason for hiding this comment

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

Non-blocking, but the way we wrap those comments looks odd. The first line does not break at 80 characters and the second line breaks too early 🤔 I've got a margin set in my IDE at 80 characters and you can see it clearer on the image below:

image

I think the ideal scenario would be to keep the margin for comments at 80 characters, just like it is for the code:

Either
image
or
image

The same thing is happening for initializeEthereum and initializeGoerli functions docs.

Just pointing that out. I'm not gonna block the merge because of that 😅

@michalsmiarowski michalsmiarowski merged commit d29ee31 into main Nov 14, 2023
38 checks passed
@michalsmiarowski michalsmiarowski deleted the sepolia-sdk branch November 14, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 typescript TypeScript library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants