WAX Unity Web3 Suite
Cloud Wallet
Cloud Wallet
  • Getting Started
  • Installation
    • WebGL Installation
    • Mobile Installation
    • Desktop Installation
  • Examples
    • Quick Start
    • Login
    • Transact
    • Token Transfer
    • Vote
    • Manage CPU/NET
    • Sell Ram
    • Buy Ram
    • Bid Name
  • API Docs
    • CloudWalletPlugin
    • CloudWalletErrorEvent
    • CloudWalletLoginEvent
    • CloudWalletSignEvent
    • CloudWalletLogoutEvent
    • CloudWalletInitEvent
    • CloudWalletCreateInfoEvent
    • CloudWalletCreateInfoResult
Powered by GitBook
On this page
Edit on GitHub
  1. Examples

Transact

PreviousLoginNextToken Transfer

Last updated 2 years ago

  1. Transacting/Signing Transactions with the Cloud Wallet Plugin is as simple as calling the Sign-Method on initialized CloudWalletPlugin-instance while passing a EosSharp Action Object.

  2. To be able to perform a transaction, a user needs to first. Once a user has been logged in, the Plugin will automatically use the the logged in user to sign transactions.

  3. Once the Sign-Method is called (while a user has previously logged in and a valid Action Object has been passed) the user will automatically be prompted with the typical Wax Cloud Authentication and Signing-Scheme.

  4. If "Auto-Signing" is enabled, transactions will be signed automatically.

  5. Immediately a Transaction-Signing is successful, the OnTransactionSigned-Handler will be called (see the example)

  6. If an error occurs, the OnError-Handler will be called (see the example)

public void Transact(EosSharp.Core.Api.v1.Action action)
{
    _cloudWalletPlugin.Sign(new[] { action });
}
the previously
login
Quick-Start
Quick-Start
Page cover image