memtrip / eos-jvm

EOS libraries for the JVM, designed primarily for Android development.
http://www.memtrip.com
Apache License 2.0
37 stars 19 forks source link

Can't find source of AbiBinaryGenTransactionWriter #1

Closed ttoommbb closed 6 years ago

ttoommbb commented 6 years ago

I tend to convert transaction object into buffer as eosjs did: `rawTx.context_free_actions = arg.context_free_actions; rawTx.actions = arg.actions; rawTx.transaction_extensions = arg.transaction_extensions;

        // Resolve shorthand
        txObject = Transaction.fromObject(rawTx);
        // console.log('txObject', txObject)

        buf = Fcbuffer.toBuffer(Transaction, txObject);`

Before impl by my self I found your project, there's a missing class that I assume it contains the logical I need.

samkirton commented 6 years ago

AbiBinaryGenTransactionWriter is a boilerplate class that is auto generated by the eos-abi-writer module. An AbiBinaryGen*Writer class is generated for an interface that is annotated with @AbiWriter. The README in the eos-abi-writer has further steps you can follow. You can join us on Telegram if you need more help.