angular-sol-wallets v0.0.22
Angular Sol Wallets
Library for Web Wallets on Solana Blockchain
DESCRIPTION
overview of all features:
1- Install the library
You may have to add the global variable in prolyfills.ts file
And add the following allowedCommonJsDependencies in the angular.json build options file to disable warnings
2- import the module
3- use SolWalletsService in a component
Example in the appComponent: the functions in the component are called buy a click event in the html template
4- options / parameters
Autoconnect: Set autoconnect as true on WalletsService make the last wallet used by the client automatically re-connected (this avoid the user to have to choose again a wallet when making actions with service) Example of usage in the App constructor :
SetEnabledWallets: Choose the wallets you want to use. By default all the wallets are enabled.
5- customize
You can customize the style of the popup, like so:
6- production
sol-wallet use devnet Cluster by default In production you can use the mainnet-beta like this exemple in the appComponent:
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago