Closed LoganGoh closed 6 years ago
Thanks for contributing some ideas. As those are not code level issues but protocol level discussions, you need to open new issues after reviewing existing ones in the protocol github https://github.com/stellar/stellar-protocol/issues
I am going to add this clarification to the issue template as the existence of this other location is hard to find.
Note that there are different levels of protocol: not everything needs to be done at the stellar-core layer.
Thank you for the clarification. I have resubmitted my feature request in the stellar-protocol github. Can I ask you who is the person currently leading the effort for SDEX and can I get his/her contact info? Possibly the feature requests I am asking for have already been thought about by others and if possible I would like to collaborate with existing stellar devs so that I can understand the stellar codebase better before I submit a SEP.
On Tue, Jan 30, 2018 at 3:12 AM, MonsieurNicolas notifications@github.com wrote:
Thanks for contributing some ideas. As those are not code level issues but protocol level discussions, you need to open new issues after reviewing existing ones in the protocol github https://github.com/stellar/stellar-protocol/issues
I am going to add this clarification to the issue template as the existence of this other location is hard to find.
Note that there are different levels of protocol: not everything needs to be done at the stellar-core layer.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stellar/stellar-core/issues/1516#issuecomment-361353389, or mute the thread https://github.com/notifications/unsubscribe-auth/AiNDJnHYFrfrFV6EQlRLzNtMJIS83vfXks5tPhgzgaJpZM4RvPIJ .
Issue type
feature request
My startup is trying to build licensed securities as smart contracts on Stellar. We have a working proof-of-concept for an asset-backed-loan on the Stellar test net. However before we can move to the livenet there are a number of features not currently available that we need to figure out a way to provide.
In the recent Stellar 2018 roadmap post it was mentioned that one of the top priorities is SDEX and getting more financial instruments like the ones I am trying to build onto stellar. During the process of building our POC I found that there are a number of features currently missing that prevent Stellar from fully being used for this purpose.
I'm willing to help contribute to the development of these features but I've only been working with the Stellar api a few weeks so I would really appreciate some guidance so that I can contribute in a way that is in harmony with the current spirit of the stellar codebase.
I see a lot of potential in stellar with trustlines, the ability for anybody to issue an asset, and pathfinding. Stellar can be much more than just a cryptocurrency. With the changes I am requesting Stellar will be able to support a much wider ranger of financial instruments and I am hoping I can get some assistance and advice in how to implement them.
Things I am looking for:
More granularity with the security thresholds. For example I can set different thresholds for different operations, but all payments count under the same operation. So I can't for example authorise an employee to be able to sign transactions up to a total of 10k usd per month, and if he wants to go above that he needs another sig. Or another usecase would be to authorise the employee to make any transaction that exchanges btc for usd, but if he wants to transfer usd out of the account he needs to get another sig. I know some of this functionality can be approximated by using multiple accounts. But I think this is not a great solution, as for non developers it is very hard for them to keep track of all these accounts, especially if you are trying to sell a security on stellar and every time you transfer a security you transfer 4-5 accounts at the same time and the amounts in those accounts are all changing programatically over time.. it is not ideal.
Right now you can make an offer that exchanges one asset for another asset, but you cannot make an offer for a transaction that contains multiple operations. Jed talks about one way to implement securities in his blog (http://jedmccaleb.com/blog/bonds-on-stellar/) and in this blog he talks about "signing and making public a transaction" but not submitting it yet. AFAIK there isn't really a marketplace for transactions yet? Maybe that is already on the roadmap for SDEX? The ability to make an offer for a transaction instead of just a basic token swap would be very useful for many types of financial instruments. This part doesn't necessarily have to be on chain but I think it would be nice for SDEX to be able to provide this functionality.
Right now you have to specify the amounts that are to be transferred in the transaction at the time that the transaction is created and signed, not at the time that the transaction is submitted. So for example if I want to sell a bond that contains eth-backed tokens as collateral, and it's supposed to make monthly repayments of usd based on the exchange rate between eth and usd at the time of the payment, there isn't really a way to do that. Another example use case is if I have a financial instrument that is supposed to pay out based on a floating rate based on some index.
Also while there is some conditional logic that is possible by creating multiple transactions with the same sequence number, currently whichever transaction gets submitted first is the one that gets accepted. It would be nice to be able to specify more conditional logic on what allows a transaction to be submitted other than the time bounds. An example would be a transaction that can only be submitted if the eth/usd exchange rate goes below a certain threshold.