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

Wc 2 #3045

Merged
merged 24 commits into from
Nov 8, 2024
Merged

Wc 2 #3045

merged 24 commits into from
Nov 8, 2024

Conversation

hui-an-yang
Copy link
Collaborator

Thank you for your contribution to Taquito.

Before submitting this PR, please make sure:

  • Your code builds cleanly without any errors or warnings
  • You have run the linter against the changes
  • You have added unit tests (if relevant/appropriate)
  • You have added integration tests (if relevant/appropriate)
  • All public methods or types have TypeDoc coverage with a complete description, and ideally an @example
  • You have added or updated corresponding documentation
  • If relevant, you have written a first draft summary describing the change for inclusion in Release Notes.

In this PR, please also make sure:

  • You have linked this PR to the issue by putting closes #TICKETNUMBER in the description box (when applicable)
  • You have added a concise description on your changes

Release Note Draft Snippet

If relevant, please write a summary of your change that will be suitable for
inclusion in the Release Notes for the next Taquito release.

Copy link

github-actions bot commented Sep 12, 2024

A new deploy preview is available on Cloudflare Pages at https://e146b661.taquito-test-dapp.pages.dev

Copy link

github-actions bot commented Sep 12, 2024

New packages have been deployed to the preview repository at https://npm.preview.tezostaquito.io/.

Published packages:

npm i @taquito/utils@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/http-utils@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/rpc@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/tzip12@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/contracts-library@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/tzip16@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/timelock@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/wallet-connect@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/signer@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/beacon-wallet@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/michelson-encoder@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/remote-signer@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/core@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/ledger-signer@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/michel-codec@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/local-forging@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/sapling@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/
npm i @taquito/taquito@20.1.0-769c2a9-- --registry https://npm.preview.tezostaquito.io/

Copy link

cloudflare-workers-and-pages bot commented Sep 12, 2024

Deploying taquito with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3397c63
Status: ✅  Deploy successful!
Preview URL: https://ceef620a.taquito.pages.dev
Branch Preview URL: https://wc-2.taquito.pages.dev

View logs

this.getSession();
throw new ActiveAccountUnspecified();
}
return this.getSession().self.publicKey;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@hui-an-yang
When looking at the session returned by Kukai session.self.publicKey is not the Tezos public key of the active account:
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thank you will updated the logic

roxaneletourneau and others added 3 commits November 1, 2024 12:16
Added support to sign payload in the test-dapp using wallet connect, fix getPk and sign in the
wallet connect package
feat(wallet connect): sign payload using wc in test-dapp
Copy link
Collaborator

@roxaneletourneau roxaneletourneau left a comment

Choose a reason for hiding this comment

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

Looks good to me !

fee?: string;
}

export interface TransferParams
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wondering if it would make sense to move those types so we can use them in beacon package too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@roxaneletourneau Thank you, that'll be a great idea but it seems @airgap/beacon-types has their own type PartialTezosOperation and our walletAPI has type WalletParamsWithKind.
This also made me realize that even in walletconnect package supports all contractAPI operations but walletAPI doesn't support them that their use will be limited.
I'll merge this PR for now and start a new pr to support all contractAPI ops in walletAPI and consolidate the types

@hui-an-yang hui-an-yang merged commit 1188bbc into master Nov 8, 2024
9 checks passed
@hui-an-yang hui-an-yang deleted the wc-2 branch November 8, 2024 00:09
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.

Support wallet connect 2 in the Taquito test dapp Implement a wallet provider for wallet connect 2
2 participants