RemarkableTools.Mx.WebWallet 1.1.1

dotnet add package RemarkableTools.Mx.WebWallet --version 1.1.1
NuGet\Install-Package RemarkableTools.Mx.WebWallet -Version 1.1.1
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="RemarkableTools.Mx.WebWallet" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RemarkableTools.Mx.WebWallet --version 1.1.1
#r "nuget: RemarkableTools.Mx.WebWallet, 1.1.1"
#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.
// Install RemarkableTools.Mx.WebWallet as a Cake Addin
#addin nuget:?package=RemarkableTools.Mx.WebWallet&version=1.1.1

// Install RemarkableTools.Mx.WebWallet as a Cake Tool
#tool nuget:?package=RemarkableTools.Mx.WebWallet&version=1.1.1

Web Wallet documentation

About SDK

The library is used to connect to MultiversX Web Wallet and sign transactions.

How to install?

The content is delivered via nuget package:

RemarkableTools.Mx.WebWallet Package

Quick start guide

  1. Define the network provider which can be MainNet/DevNet/TestNet
IApiProvider provider = new ApiProvider(new ApiNetworkConfiguration(Network.DevNet));
  1. Define the Web Wallet
IWebWallet IWebWallet = new WebWallet(provider.NetworkConfiguration);
  1. Create transaction to sign
var networkConfig = await NetworkConfig.GetFromNetwork(provider);
var account = Account.From(await provider.GetAccount("USER_ACCOUNT_ADDRESS"));
var receiverAddress = Address.FromBech32("RECEIVER_ADDRESS");
var transactionRequest = EGLDTransactionRequest.EGLDTransfer(
        networkConfig,
        account,
        receiverAddress,
        ESDTAmount.EGLD("1"));
var transactionToSignUrl = IWebWallet.CreateTransactionToSignUrl(transactionRequest, "https://website.com");
  1. Navigate to transactionToSignUrl and sign the transaction<br /> *callback website address after signing transaction is https://website.com and is followed by some arguments ?TRANSACTION_ARGUMENTS

  2. Get the transaction from URL (https://website.com?TRANSACTION_ARGUMENTS)

WalletTransactionStatus status;
var transaction = IWebWallet.GetTransactionsFromUrl("https://website.com?TRANSACTION_ARGUMENTS", out status);
switch(status)
{
    case WalletTransactionStatus.TransactionsSigned:
        var response = await provider.SendTransactions(transaction);
        Console.WriteLine(response.TxHash);
        break;
    case WalletTransactionStatus.Cancelled:
        Console.WriteLine("Transaction was canceled");
        break;
    case WalletTransactionStatus.Unknown:
        Console.WriteLine("Some error occured");
        break;
}
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
1.1.1 238 10/23/2023
1.1.0 114 8/10/2023
1.0.0 172 1/16/2023

.NET SDK Release