Package foundation.omni.sendtool
Class OmniLiteSend
java.lang.Object
foundation.omni.sendtool.OmniLiteSend
Create, sign, and send an Omni Simple-Send transaction using a local Bitcoin node. The local
Bitcoin node can be Bitcoin Core or the ConsensusJ SPV Daemon. This tool does not verify Omni
balances before signing or sending, so a transaction may be built for which there are insufficient funds.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
CompletableFuture
<org.bitcoinj.base.Sha256Hash> send
(org.bitcoinj.base.Address fromAddress, org.bitcoinj.base.Address toAddress, CurrencyID currencyId, OmniDivisibleValue amount)
-
Constructor Details
-
OmniLiteSend
public OmniLiteSend()
-
-
Method Details
-
main
- Throws:
IOException
-
send
public CompletableFuture<org.bitcoinj.base.Sha256Hash> send(org.bitcoinj.base.Address fromAddress, org.bitcoinj.base.Address toAddress, CurrencyID currencyId, OmniDivisibleValue amount) throws IOException - Throws:
IOException
-