Class Wallet

java.lang.Object
com.nftworlds.wallet.objects.Wallet

public class Wallet extends Object
  • Constructor Details

    • Wallet

      public Wallet(UUID associatedPlayer, String address)
  • Method Details

    • getWRLDBalance

      public double getWRLDBalance(Network network)
      Get the wallet's WRLD balance
    • requestWRLD

      public <T> void requestWRLD(double amount, Network network, String reason, T payload)
      Send a request for a WRLD transaction from this wallet
      Parameters:
      amount -
      network -
      reason -
      payload -
    • payWRLD

      public void payWRLD(double amount, Network network, String reason)
      Deposit WRLD into this wallet
      Parameters:
      amount -
      network -
      reason -
    • createPlayerPayment

      public void createPlayerPayment(NFTPlayer to, double amount, Network network, String reason)
      Create a peer to peer payment link for player
      Parameters:
      to -
      amount -
      network -
      reason -