angular-sol-wallets
v0.0.22
Published
<em> <p> news on 0.0.22 <ul> <li style="color:darkgreen">fix: use provider as static</li> </ul> </em> </p> <p> <br> This library was generated with <a href= "https://github.com/angular/angular-cli">Angular CLI</a> version 12.1.0. </p>
Maintainers
Readme
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:
