PhantomHelper class
Constructors
- PhantomHelper({required Redirect redirect, required String appUrl, required String? redirectLink, required IReownCore core})
- 
          Initialization of PhantomHelperinstance
Properties
- dappPublicKey → String
- 
  
  no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- walletPublicKey → String
- 
  
  no setter
Methods
- 
  buildConnectionUri({String? cluster}) → Uri 
- Generate an URL to connect to Phantom Wallet
- 
  buildDisconnectUri({Uint8List? nonce}) → Uri 
- Generate an URL to disconnect from Phantom Wallet and destroy the session.
- 
  buildSignAndSendTransactionUri({required String transaction, Uint8List? nonce}) → Uri 
- 
  Generate an URL with given transactionto signAndSend it with Phantom Wallet.
- 
  buildSignMessageUri({required String message, Uint8List? nonce}) → Uri 
- 
  Generates an URL with given nonceto be signed by Phantom Wallet Ifnonceis not passed it will generate one
- 
  buildSignTransactionUri({required String transaction, Uint8List? nonce}) → Uri 
- 
  Generate an URL with given transactionto sign it with Phantom Wallet.
- 
  buildUriSignAllTransactions({required List< String> transactions, Uint8List? nonce}) → Uri
- 
  Generate an URL with given transactionsto sign all with Phantom Wallet.
- 
  decryptPayload(Map< String, String> params) → Future<Map< String, dynamic> >
- 
  Decrypts the datapayload returned by Phantom Wallet
- 
  encryptPayload(Map< String, dynamic> data, Uint8List? nonce) → Uint8List?
- Encrypts the data payload to be sent to Phantom Wallet.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  persistSession() → Future< void> 
- 
  restoreSession() → Future< bool> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  validateSignature(String message, String signature) → bool 
- 
  Verifies the signaturereturned by Phantom Wallet.
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited