Solana
Develop Solana dApps
Example dApp using Solana: https://xdefi-example-dapps.herokuapp.com/multichain/ ( https://github.com/XDeFi-tech/examples-dapps-sdk )
Similarly to the Phantom Provider, XDEFI Wallet provider exposes different methods in
window.solana
or window.xfi.solana
Below are the different functions exposed in the provider
window.solana
window.xfi.solana
.isXDEFI
returns true if the provider is XDEFI.It returns the current PublicKey of the connected account.
Disconnect the wallet.
Add a signature to
@solana/web3.js
Transaction
object;Add a signature for each
@solana/web3.js
Transaction
object passed in parameters;Returns a
signature
and the publicKey
who signed the message
;Last modified 2mo ago