Solana Integration: Connect and sign with phantom #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Your Aleph balance will be displayed as follows

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