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

feat: ckbtc-js #281

Merged
merged 19 commits into from
Feb 7, 2023
Merged

feat: ckbtc-js #281

merged 19 commits into from
Feb 7, 2023

Conversation

peterpeterparker
Copy link
Member

@peterpeterparker peterpeterparker commented Feb 6, 2023

Motivation

Create a ckBTC-js new library and implement first feature get_btc_address.

To get started it will only interface minter canister related features.

Changes

  • init @dfinity/ckbtc
  • implement get_btc_address

Note

Not related to the PR but noticed "directory": "packages/ledger" information was incorrectly set in package.json of ledger so fixed it.

@peterpeterparker peterpeterparker marked this pull request as ready for review February 6, 2023 14:43
Copy link
Contributor

@lmuntaner lmuntaner left a comment

Choose a reason for hiding this comment

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

LGTM!

Did you create a checklist in the end about what is needed to publish a new library?

@peterpeterparker
Copy link
Member Author

peterpeterparker commented Feb 7, 2023

@lmuntaner did not had the time yet, let me provide a md file in another pr now

@peterpeterparker peterpeterparker merged commit 6adc46b into main Feb 7, 2023
@peterpeterparker peterpeterparker deleted the feat/ckbtc branch February 7, 2023 08:43
peterpeterparker added a commit to dfinity/nns-dapp that referenced this pull request Feb 8, 2023
# Motivation

Init ckBTC "Receive" modal.

# PRs

- [x] dfinity/ic-js#281

# Changes

- uses `@dfinity/ckbtc`
- init new feature "ckBTC receive" (effective modal UI will be implemented in next PRs)
- implement get BTC address
- new feature flag `ENABLE_CKBTC_RECEIVE`
- rename `isStringNonNullishNotEmpty` to `notEmptyString` as discussed with @mstrasinskis
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