A couple of years ago Jed wrote about the possibility of using Stellar to issue Bonds (http://jedmccaleb.com/blog/bonds-on-stellar/). The example is clear, however I would like to know what is the best way to trade bonds using the Stellar Distributed Exchange. I currently see two options:
Follow the approach written in Jed's article and trade accounts as assets in the Stellar Distributed Exchange. That would require to figure out how to make an offer for a Stellar account. This approach is simpler since the issuer would only need to make the periodic payments to a single account.
Issue tokens (in the standard way) representing bonds. These bonds could be easily trade in the Stellar Distributed Exchange. But this would require the bond issuer to first find out all the accounts that hold the bond tokens, and then distribute the period payments to those accounts based on the amount of tokens that a particular account holds.
I am fan of option 1, and would appreciate any light on how this could be implemented.
If not, how could I use horizon to figure out all the accounts that hold a particular asset issued by a specific issuer/anchor?