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

Solana Integration: Connect and sign with phantom #42

Merged
merged 4 commits into from
Nov 15, 2022

Conversation

leirbag95
Copy link
Contributor

It is now possible to connect and sign message to solana network through the Phantom wallet.

The interaction with solana is done directly from a public rpc https://solana-api.projectserum.com

The address of the SPL used to calculate the balance of an account is the following:

3UCMiSnkcnkPE1pgQ5ggPCBv6dXgVUy16TmMUe1WpG9x

To know more about solana/web3js

https://solana-labs.github.io/solana-web3.js/

To know more about connection and interaction with Phantom:

https://docs.phantom.app/

User path is the same, to connect you will now have the possibility to select Phantom on the solana network.

connect

Your Aleph balance will be displayed as follows
balance of aleph

To sign messages, same scenario as with Metamask or another wallet, a Phantom popup will appear and will ask you to sign the message
sign message

@BjrInt
Copy link
Member

BjrInt commented Nov 5, 2022

Somehow version 0.5.1 was published 6 months ago (https://www.npmjs.com/package/aleph-js/v/0.5.1), even though repository was unchanged.
This lead to an unexpected error with NPM.

Can you update your version to 0.5.3 ?

@leirbag95
Copy link
Contributor Author

Somehow version 0.5.1 was published 6 months ago (https://www.npmjs.com/package/aleph-js/v/0.5.1), even though repository was unchanged. This lead to an unexpected error with NPM.

Can you update your version to 0.5.3 ?

Updated ✅

@hoh hoh merged commit 8b9f41f into aleph-im:main Nov 15, 2022
@hoh
Copy link
Member

hoh commented Nov 15, 2022

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.

4 participants