public final class EthereumLedgerPlugin extends Object implements LedgerPlugin, io.vertigo.core.component.Activeable
| Constructor and Description |
|---|
EthereumLedgerPlugin(io.vertigo.commons.eventbus.EventBusManager eventBusManager,
String urlRpcEthNode,
String myAccountName,
String myPublicAddr,
String defaultDestAccountName,
String defaultDestPublicAddr,
String walletPassword,
String walletPath) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getMyWalletBalance()
Get the current balance of the wallet
|
BigInteger |
getWalletBalance(LedgerAddress ledgerAddress)
Get the current balance of the provided address
|
void |
sendData(String data)
Sent data to the default address on the ledger.
|
void |
start() |
void |
stop() |
public void start()
start in interface io.vertigo.core.component.Activeablepublic void stop()
stop in interface io.vertigo.core.component.Activeablepublic BigInteger getMyWalletBalance()
LedgerPlugingetMyWalletBalance in interface LedgerPluginpublic BigInteger getWalletBalance(LedgerAddress ledgerAddress)
LedgerPlugingetWalletBalance in interface LedgerPluginpublic void sendData(String data)
LedgerPluginsendData in interface LedgerPlugindata - data in clear to storeCopyright © 2019. All rights reserved.