CardanoSharp.Blazor.Components
1.0.0
See the version list below for details.
dotnet add package CardanoSharp.Blazor.Components --version 1.0.0
NuGet\Install-Package CardanoSharp.Blazor.Components -Version 1.0.0
<PackageReference Include="CardanoSharp.Blazor.Components" Version="1.0.0" />
<PackageVersion Include="CardanoSharp.Blazor.Components" Version="1.0.0" />
<PackageReference Include="CardanoSharp.Blazor.Components" />
paket add CardanoSharp.Blazor.Components --version 1.0.0
#r "nuget: CardanoSharp.Blazor.Components, 1.0.0"
#:package CardanoSharp.Blazor.Components@1.0.0
#addin nuget:?package=CardanoSharp.Blazor.Components&version=1.0.0
#tool nuget:?package=CardanoSharp.Blazor.Components&version=1.0.0
cardanosharp-blazor
CardanoSharp.Blazor is a component library for C# devs to easily get started with developing dApps for Cardano.
WalletConnector
The wallet connector will give users the option of connecting to any of a preset list of known wallets.
Parameters
WalletConnector has the follow parameters that can be set as required:
- Header ["Choose Your Wallet"] - Text to display above the wallet options
- AutoCloseOnConnect [false] - Whether to close the wallet choice popup after connecting to a wallet
- AutoCloseOnDisconnect [false] - Whether to close the wallet choice popup after disconnecting from a wallet
- Layout [Card] - Either List or Card
- SupportedExtensions [Eternl,Gero,Nami] - If you want to override the current known list of wallet browser extensions, and their applicable attributes (name, icon etc)
Usage
@using CardanoSharp.Blazor.Components;<br/> @using CardanoSharp.Blazor.Components.Models;<br/> @using CardanoSharp.Blazor.Components.Enums;<br/> <br/> <WalletConnector<br/> @ref="myWebWallets" <br/> Header="Please choose a wallet"<br/> AutoCloseOnConnect="false"<br/> AutoCloseOnDisconnect="true"<br/> Layout="WalletConnectorLayout.List" <br/> SupportedExtensions="<br/> @(new List<WalletExtension>()<br/> {<br/> new WalletExtension() { <br/> Key = "eternl", <br/> Name = "Eternl", <br/> Icon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAG........",<br/> Url = "https://eternl.io"<br/> },<br/> new WalletExtension() { <br/> Key = "gerowallet", <br/> Name = "Gero", <br/> Icon = "https://gerowallet.io/assets/img/logo2.ico", <br/> Url = "https://gerowallet.io" <br/> },<br/> })<br/> "><br/> </WalletConnector>
@code { <br/> if (myWebWallets != null && myWebWallets.Initialized)<br/> {<br/> if (myWebWallets.Connected)<br/> {<br/> var result = await myWebWallets.GetBalance();<br/> }<br/> }<br/> }<br/>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- CardanoSharp.Wallet (>= 2.5.0)
- CardanoSharp.Wallet.New (>= 1.0.0)
- Microsoft.AspNetCore.Components.Web (>= 6.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
8.1.2 | 234 | 12/3/2024 |
8.1.1 | 141 | 12/3/2024 |
8.1.0 | 310 | 7/10/2024 |
8.0.7 | 134 | 7/10/2024 |
8.0.6 | 287 | 6/6/2024 |
8.0.5 | 133 | 6/6/2024 |
8.0.4 | 138 | 6/6/2024 |
8.0.3 | 217 | 5/30/2024 |
8.0.2 | 209 | 4/18/2024 |
8.0.1 | 764 | 1/8/2024 |
8.0.0 | 203 | 12/28/2023 |
3.3.10 | 468 | 10/13/2023 |
3.3.9 | 713 | 5/4/2023 |
3.3.8 | 282 | 4/14/2023 |
3.3.7 | 800 | 3/28/2023 |
3.3.6 | 288 | 3/28/2023 |
3.3.5 | 301 | 3/28/2023 |
3.3.4 | 309 | 3/27/2023 |
3.3.3 | 309 | 3/27/2023 |
3.3.2 | 315 | 3/23/2023 |
3.3.1 | 313 | 3/22/2023 |
3.3.0 | 338 | 3/14/2023 |
3.2.2 | 338 | 3/8/2023 |
3.2.1 | 310 | 3/8/2023 |
3.2.0 | 445 | 2/20/2023 |
3.0.4 | 481 | 2/10/2023 |
3.0.3 | 373 | 1/26/2023 |
3.0.2 | 673 | 1/16/2023 |
3.0.1 | 761 | 11/25/2022 |
3.0.0 | 402 | 11/23/2022 |
2.0.2 | 603 | 10/25/2022 |
2.0.1 | 457 | 10/25/2022 |
2.0.0 | 497 | 10/18/2022 |
1.3.0 | 505 | 10/18/2022 |
1.2.2 | 511 | 10/14/2022 |
1.2.1 | 700 | 8/25/2022 |
1.2.0 | 745 | 8/23/2022 |
1.1.0 | 503 | 8/11/2022 |
1.0.9 | 567 | 8/9/2022 |
1.0.8 | 519 | 8/8/2022 |
1.0.7 | 513 | 8/3/2022 |
1.0.6 | 861 | 6/25/2022 |
1.0.5 | 588 | 6/21/2022 |
1.0.4 | 544 | 6/8/2022 |
1.0.3 | 522 | 6/6/2022 |
1.0.2 | 545 | 6/6/2022 |
1.0.1 | 514 | 6/6/2022 |
1.0.0 | 516 | 6/5/2022 |