Skip to content

✨ Add Solflare deeplink wallet implementation#192

Merged
GabrielePicco merged 1 commit intomainfrom
feat/add-solflare-wallet
Nov 7, 2023
Merged

✨ Add Solflare deeplink wallet implementation#192
GabrielePicco merged 1 commit intomainfrom
feat/add-solflare-wallet

Conversation

@GabrielePicco
Copy link
Copy Markdown
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