Creates a new AinWalletSigner object. It initializes the Ain Wallet object using the global variable 'window'.
Private
ainetworkThe Ain Wallet object.
This method is not implemented yet.
Optional
isDryrun: booleanSigns and sends a transaction to the network.
The transaction input object.
The return value of the blockchain API.
This method is not implemented yet.
Signs a message using an account. If an address is not given, the default account of the Ain Wallet is used.
The message to sign.
Optional
address: stringThe address of the account.
The signature.
A class of Signer interface for AIN Wallet chrome extension (https://chrome.google.com/webstore/detail/ain-wallet/hbdheoebpgogdkagfojahleegjfkhkpl).