steemit / steem-ruby

Steem-ruby is the official Ruby library for the Steem blockchain
MIT License
9 stars 15 forks source link

AppBase, broadcast operations #18

Closed inertia186 closed 2 years ago

inertia186 commented 5 years ago

As an application developer, I would like to enable AppBase for Broadcast at runtime, so that I can switch to this style if NetworkBroadcastApi ever officially becomes not-a-work-in-progress.

The steem-ruby design philosophy was to target AppBase by default. For everything but NetworkBroadcastApi, this has held true. But for now, CondenserApi is default for broadcast, which works fine.

This change will allow serialization with either API, even at runtime.