Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wallet Extension Integration #28

Merged
merged 5 commits into from
Sep 11, 2022

Conversation

h0ngcha0
Copy link
Member

@h0ngcha0 h0ngcha0 commented Sep 6, 2022

  • Picked Muchen's work for extension wallet integration
  • Fixed some UI issues by updating the extension wallet

@Lbqds
Copy link
Member

Lbqds commented Sep 7, 2022

The test failed because of this: bufbuild/buf#1380, we need to update the buf to the latest version, I made a fix in this PR.

@h0ngcha0
Copy link
Member Author

h0ngcha0 commented Sep 7, 2022

Member

Thanks for the fix! <3

@h0ngcha0 h0ngcha0 force-pushed the integrate-with-wallet-extension-hc branch from 06209d0 to d076daa Compare September 7, 2022 06:32
@h0ngcha0 h0ngcha0 changed the base branch from add-alephium-to-wormhole to fix-buf-build September 7, 2022 06:33
Copy link
Member

@polarker polarker left a comment

Choose a reason for hiding this comment

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

LGTM

return undefined
const tokenAddress = toAlphContractAddress(tokenId)
try {
const group = await provider.addresses.getAddressesAddressGroup(tokenAddress)
Copy link
Member

Choose a reason for hiding this comment

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

There should be an utility function for this in web3.

} catch (error) {
console.log("failed to get alephium token info, error: " + error)
return undefined
}
Copy link
Member

Choose a reason for hiding this comment

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

This function is for testing purpose only right?

later we will read such information from a public repo token-list.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it's only for testing now, wormhole also has a repo for this: https://github.com/certusone/wormhole-networks.

@Lbqds Lbqds merged commit 9fc47dd into fix-buf-build Sep 11, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants