VOOZH about

URL: https://www.nuget.org/packages/CardanoSharp.Blazor.Components/

⇱ NuGet Gallery | CardanoSharp.Blazor.Components 8.1.2




CardanoSharp.Blazor.Components 8.1.2

dotnet add package CardanoSharp.Blazor.Components --version 8.1.2
 
 
NuGet\Install-Package CardanoSharp.Blazor.Components -Version 8.1.2
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CardanoSharp.Blazor.Components" Version="8.1.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CardanoSharp.Blazor.Components" Version="8.1.2" />
 
Directory.Packages.props
<PackageReference Include="CardanoSharp.Blazor.Components" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CardanoSharp.Blazor.Components --version 8.1.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CardanoSharp.Blazor.Components, 8.1.2"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CardanoSharp.Blazor.Components@8.1.2
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CardanoSharp.Blazor.Components&version=8.1.2
 
Install as a Cake Addin
#tool nuget:?package=CardanoSharp.Blazor.Components&version=8.1.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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:

  1. Header ["Choose Your Wallet"] - Text to display above the wallet options
  2. AutoCloseOnConnect [false] - Whether to close the wallet choice popup after connecting to a wallet
  3. AutoCloseOnDisconnect [false] - Whether to close the wallet choice popup after disconnecting from a wallet
  4. Layout [Card] - Either List or Card
  5. 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;
@using CardanoSharp.Blazor.Components.Models;
@using CardanoSharp.Blazor.Components.Enums;

<WalletConnector
 @ref="myWebWallets" 
 Header="Please choose a wallet"
 AutoCloseOnConnect="false"
 AutoCloseOnDisconnect="true"
 Layout="WalletConnectorLayout.List" 
 SupportedExtensions="
 @(new List<WalletExtension>()
 {
 new WalletExtension() { 
 Key = "eternl", 
 Name = "Eternl", 
 Icon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAG........", 
 Url = "https://eternl.io" 
 },
 new WalletExtension() { 
 Key = "gerowallet", 
 Name = "Gero", 
 Icon = "https://gerowallet.io/assets/img/logo2.ico", 
 Url = "https://gerowallet.io" 
 },
 })
 ">
</WalletConnector>

@code { 
 if (myWebWallets != null && myWebWallets.Initialized)
 {
 if (myWebWallets.Connected)
 {
 var result = await myWebWallets.GetBalance();
 }
 }
}
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 360 12/3/2024
8.1.1 217 12/3/2024
8.1.0 407 7/10/2024
8.0.7 244 7/10/2024
8.0.6 398 6/6/2024
8.0.5 236 6/6/2024
8.0.4 256 6/6/2024
8.0.3 303 5/30/2024
8.0.2 340 4/18/2024
8.0.1 861 1/8/2024
8.0.0 310 12/28/2023
3.3.10 523 10/13/2023
3.3.9 809 5/4/2023
3.3.8 376 4/14/2023
3.3.7 880 3/28/2023
3.3.6 378 3/28/2023
3.3.5 383 3/28/2023
3.3.4 397 3/27/2023
3.3.3 397 3/27/2023
3.3.2 414 3/23/2023
Loading failed