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

✨ Add Solflare deeplink wallet implementation #192

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

GabrielePicco
Copy link
Collaborator

@GabrielePicco GabrielePicco commented Nov 7, 2023

Add Solflare deeplink wallet implementation

Status Type ⚠️ Core Change Issue
Ready Feature No -

Description

Add Solflare deeplink wallet implementation, following the specs at https://docs.solflare.com/solflare/technical/deeplinks

Example

SolflareWallet Inject in web3:

var walletAdapter = new SolflareDeepLink(
    new SolflareWalletOptions(), 
    Web3.Instance.rpcCluster, 
    Web3.Instance.customRpc, 
    Web3.Instance.webSocketsRpc,
    true
);

// Execute the login
var account = await walletAdapter.Login();

// Set the Wallet instance in Web3
Web3.Instance.WalletBase = walletAdapter;

@GabrielePicco GabrielePicco merged commit 270b610 into main Nov 7, 2023
@GabrielePicco GabrielePicco deleted the feat/add-solflare-wallet branch November 7, 2023 21:58
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.

1 participant