@dupe Wonderfull. Please let me know about your searches ?

@istrau2 Well it would sure be interesting to propose such an option. An exchange where you choose your fees ?
I'm curious to see the outcome.
You know I'm really wondering about economic models in Stellar, as the competition/cooperation game will push us toward free service, yet we want to pay the service cost and have a fair remuneration for all the great work done. Although it may sound idealistic, my guess is that generosity would have to play a major role in this setup. And you won't loose anything letting the door opened ?

    PSA: We have just pushed a new version of the portal with a bunch of new features. Most importantly, we now support creating, logging in and signing transactions with a keystore file. A keystore file stores your keypair encrypted with a password of your choice. That way, you only need to remember that password (similar to myetherwallet).

    MisterTicot you can do it from the trading screen. You want an add trust in the asset balances page, is that right?

      PSA - We have published a new version of the portal. The new version includes a lot of usability updates to the wallet page including:

      • Merges are now supported
      • Add a trustline from the "My Assets" page
      • Remove a trustline from the "My Assets" page with a quick remove button
      • Go directly to the trading screen from the "My Assets page"

      Addtionally, due to rising costs we have decided to enable fees:
      The fees are charged in a maker/taker structure. Makers are not charged any fees. We would like to encourage people to add liquidity to the stellar dex. Takers are charged a 0.15% fee.

      Several smaller usability enhancements were also included in the release.

      As always, you can contact us at support@stellarport.io for any questions.

      Isn't prices wrongly calculated?

      I mean, xlm/EUR is around 2.
      Now I understand that for 1 euro you get 2 lumens right?
      So it does makes sense to say xlm/eur is 2 because 2/1=2 isn't it?

      Yet, if I look xlm/USD pair in other exchanges they would give me 0,6. That would means that 1xlm cost 0,6usd. Now 1/0,6!=0,6 right?
      So really to calculate the current price of xlm/USD pair you have to do usd/xlm.

      I don't now if it does actually makes sense to you or if I'm missing something here.

      I mean, yes, just check xlm/BTC on stellarport you get 17900 on trading view you get 0,000057 that's quite an arbitrage opportunity isn't it ? ?

      @MisterTicot Yes, I agree and I disagree. Of course, our representation is different than your standard exchange. However, I think it is clear that our representation is correct (mathematically speaking).

      In other words 17900 xlm/BTC makes sense because it is 17900xlm/1btc.
      More generally, on stellarport, we represent the price as the result of n units of A / m units of B.

      I think the reason your standard exchange does it the other way is because in a standard exchange you cannot invert the trading pair. However, on stellar any asset can be traded against any other asset in any which way.

      For instance on the crypto exchanges you always buy the alts with BTC. So, XLM/BTC means that you are buying XLM with your BTC. This is in contrast to your standard way of expressing prices:

      1$/apple means 1$/1apple, in other words you are buying apples with dollars. The asset you are buying with is on top and the asset you are purchasing is below.

      In some ways, due to its flexibility, trading with stellar is confusing. I guess, the main thing to remember on stellarport is that the price is the mathematically correct one. A/B means that you get units A/ units B.

      6 days later

      Hey ?

      I'm trying to make JavaScript program to sign the XDR of a transaction from Stellar Port locally and send it to the network (or back to you, I'm not sure about the protocol).

      I'm failing to convert the XDR string to an actual transaction object that I can sign.

      Can you give me some help? I've been reading the documentation and searched on the web but couldn't find my way out of this ?

        excellent portal, well done!
        This being said, I'd like to point out some details that bug me:

        Apparently the calculation of the fee for the taker (=0.0015 * xlm_offer) isn't subtracted from the amount displayed in the "To receive xxx" field, where xxx is the name of the asset.
        This leads to 2 problems for the user:
        1/ the UI doesn't display correct information about the trade, before trading
        2/ this way of calculating and collecting fees constitutes a problem in some situations, although all the math behind is correct

        Let's consider a real-life example that illustrates both 1/ and 2/

        Imagine I want to buy 2 units of a custom asset named "atoz" at a price, say, of 1 XLM each.
        Thus, I select the pair XLM <> atoz, type 2 in the "Offer XLM" field…
        The software displays the number 2 in the "To receive atoz" field ⚠
        BUT creating this bid effectively credits the account with 1.997 atoz.
        Proof:
        https://stellar.expert/explorer/tx/6018d6a70bdeb069faf7c1f7455705f7e2d8236048fb5e0dfec150cfcad66c81

        In this example, the value received does not match the value displayed by the software.
        As a end-user, I can feel fooled. This is no minor issue, I think.
        (explained 1/ )
        Another side effect: it is overly difficult to buy precisely 2.0 atoz in a single trade
        Once the fee calculation is understood, what should I type in the "Offer XLM" field to receive exactly 2.0 atoz?
        I challenge you to find the answer without a pen and a paper!
        If that were not enough, the correct answer depends in some cases on wether your algorithm rounds or truncates the fee amount…
        (explained 2/ )

        Possible solutions:
        . allow spending more from the base asset than what's the user typed, in order to collect fees.
        I, for example, don't care at all paying 2.0xxxxxx XLM instead of 2.0XLM to get what I precisely want that is: 2.0 atoz.
        . OR allow both ways of taking the fee into account (and let the user choose what is appropriate for him) like many bitcoin clients did for subtracting transaction fees (in satoshis)

        Keep up the good work! ? thanks a lot

          wkta understood. Let me take this comment back to the others and chew on it a little. I will get back to you.

          @MisterTicot Sorry, I missed the part where you said you were trying to make a program. It should be as simple as:

          new StellarSdk.Transaction(xdr);