Skip to content

aionick/OfflineTransactionSigner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offline Transaction Signer

A tool for signing an Aion transaction offline.

Build

ant

You can find the jar file to embed in your project in the newly created dist directory.

Example Usage

byte[] signedTransaction = new SignedTransactionBuilder()
    .privateKey(...)
    .destination(...)
    .senderNonce(...)
    .data(...)
    .energyLimit(...)
    .energyPrice(...)
    .buildSignedTransaction();

These signed bytes can be sent to the blockchain via the RPC sendRawTransaction method.

Credit

The majority of this code was taken from another Aion offline signing tool by arajasek, available at this github repository. The primary difference between the two tools is that arajasek's tool both creates the signed transaction and sends it to a node, whereas this tool only creates the transaction itself and nothing more.

About

A tool for signing an Aion transaction offline.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages