Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] ShapeShift Implimentation

    Technical Development
    8
    43
    24899
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by wrapper

      Is it possible using API data, to literally implement ShapeShift.io into the Qt…

      I don’t need to explain the advantages here.

      https://www.youtube.com/watch?v=OezDK2O5Dnc

      Welcome to ShapeShift…

      ShapeShift is a new piece of infrastructure in Bitcoinland. It is how digital currency exchange should work. From start to finish you can change currencies in under ten seconds, no account required.

      API Documentation

      ShapeShift is primarily intended to be used as an API.

      For any of the api calls if there is a problem the error message will be returned as the following JSON:

      {error:"Error message"}
      

      Many of the requests require a ‘coin pair’. A coin pair is of the format deposit_withdrawal. Example: ‘btc_ltc’. Valid pairs are any combination of the below listed valid coins.* The list will grow as we add more:

      btc, ltc, ppc, drk, doge

      * If a particular coin goes offline any pairs using it will return a message stating that pair is temporarily unavailable.

      All requests are available via http or https. We recommend using https. http may be phased out in the future.

      M 1 Reply Last reply Reply Quote 1
      • wrapper
        wrapper Moderators last edited by

        The disadvantages I see are,

        1. Not decentralised.

        2. Possible point of weakness.

        3. It is just an exchange, and charges fees.

        4. Don’t know where or who runs it.

        
        Could be wrong tho'
        1 Reply Last reply Reply Quote 0
        • MrWyrm
          MrWyrm administrators last edited by

          It goes back to the plug in thing. If it’s a plug in that people find useful, yay. If we build it into the wallet and it all goes wrong and people lose funds, it’s not yay.

          Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            Plugin ahoy?

            1 Reply Last reply Reply Quote 0
            • MrWyrm
              MrWyrm administrators last edited by

              Arr matey. Hoist the main sail.

              Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

              1 Reply Last reply Reply Quote 0
              • lizhi
                lizhi last edited by

                I think it is great job ,how to start ?

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User last edited by

                  I think it is great job ,how to start ?

                  Well. The core you are working on. Would it be best to wait untill that is ready and build it on that?

                  To be honest I’m not sure how this would work.

                  We would prefer it to be modular. Essentially, it needs to be optional.

                  If we can build the under laying structure for api based modules into the new core (if that’s how this works) we can make this the first module to be developed.

                  I also think this raises the question of having the option of self updating wallets and self updating modules. Or at least the ability to push the updates from within the Qt that way there’s need to manually update wallets etc. Can this be achieved at the same time. Is there a way that software could self update via github?

                  I think that is where we should start.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    The disadvantages I see are,

                    1. Not decentralised.

                    2. Possible point of weakness.

                    3. It is just an exchange, and charges fees.

                    4. Don’t know where or who runs it.

                    
                    Could be wrong tho'
                    
                    

                    In time, there will be a plugin to replace this. Once we figure out a decentralised option, it will be good. But this is to keep us in the game so to speak in the mean time.

                    1 Reply Last reply Reply Quote 0
                    • lizhi
                      lizhi last edited by

                      Yes, I will try to support their API in new core wallet. I need about one week to finish the job.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by

                        http://cointelegraph.com/news/112912/shapeshift-lens-unveils-automated-btc-payments-using-altcoins

                        ShapeShift Lens allows Bitcoin payments to be sent using a range of altcoins, with the conversion handled automatically once payment has been submitted.

                        The free tool is currently available on Google Chrome Webstore, and features a plugin with which users may access the convertor. Once installed, the ShapeShift icon appears next to Bitcoin addresses on any webpage visited with the browser. Clicking activates the Lens, which takes altcoin payments, converts them to Bitcoin and sends them to the desired address.

                        There you go… with shapeshift, you can buy any btc item online with ftc.

                        People wanted ftc to be money? Well, here’s our chance.

                        1 Reply Last reply Reply Quote 0
                        • Wellenreiter
                          Wellenreiter Moderators last edited by

                          …

                          To be honest I’m not sure how this would work.

                          We would prefer it to be modular. Essentially, it needs to be optional.

                          If we can build the under laying structure for api based modules into the new core (if that’s how this works) we can make this the first module to be developed.

                          I also think this raises the question of having the option of self updating wallets and self updating modules. Or at least the ability to push the updates from within the Qt that way there’s need to manually update wallets etc. Can this be achieved at the same time. Is there a way that software could self update via github?

                          I think that is where we should start.

                          How could it work?

                          we could compile the modules into libraries and place them into a known directory.

                          At startup the clients scans for libraries and adds these or better the contained modules to the GUI. A pre-defined function common in all libraries could return the menu-items and other stuff needed.

                          Self updating wallets

                          For Linux pre-compiled binaries I would leave that to the operating system update function. Most Linux distributions have an auto-update function, where the repositories of installed programs are scanned for updates regulary and either automated or user triggered updates are possible. New or changed dependencies - e.g. change db4 -> db5 in the 0.8.x core - are solved automatically

                          Auto-update from Github is close to impossible, as only the source code is available and the user needs to compile the binaries locally

                          Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                          Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                          1 Reply Last reply Reply Quote 0
                          • kris_davison
                            kris_davison last edited by

                            Unless we stored the compiled binaries in a separate github?

                            1 Reply Last reply Reply Quote 0
                            • Wellenreiter
                              Wellenreiter Moderators last edited by

                              Unless we stored the compiled binaries in a separate github?

                              still would not solve the dependencies problem

                              Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                              Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                              1 Reply Last reply Reply Quote 0
                              • kris_davison
                                kris_davison last edited by

                                True

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User last edited by

                                  https://www.youtube.com/watch?v=4z7U4kU4NJA

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User last edited by

                                    How could it work?

                                    we could compile the modules into libraries and place them into a known directory.

                                    At startup the clients scans for libraries and adds these or better the contained modules to the GUI. A pre-defined function common in all libraries could return the menu-items and other stuff needed.

                                    Self updating wallets

                                    For Linux pre-compiled binaries I would leave that to the operating system update function. Most Linux distributions have an auto-update function, where the repositories of installed programs are scanned for updates regulary and either automated or user triggered updates are possible. New or changed dependencies - e.g. change db4 -> db5 in the 0.8.x core - are solved automatically

                                    Auto-update from Github is close to impossible, as only the source code is available and the user needs to compile the binaries locally

                                    Ok then. Sounds like somewhere to start. Shame about the auto updating thing. Maybe best to not worry about that at this given point in time.

                                    But yeah, In regards to the modules, that sounds like a great starting point. There’s a lot to brainstorm first but this will work out.

                                    1 Reply Last reply Reply Quote 0
                                    • lizhi
                                      lizhi last edited by

                                      Today, Shapeshift.io invited us to test. include FTC_BTC and FTC_LTC

                                      Who can test it ?

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User last edited by

                                        Hopefully we will have one of their devs on here soon so they will be able to discuss with us the potentials for SS and also Lens.

                                        Once we can have a solid discussion we will see exactly how we shall go about this, but this is now a current project.

                                        Multisig is well under way, stealth address implementation will begin in about a month or so which at the same time, 2FA should be in development also.

                                        1 Reply Last reply Reply Quote 0
                                        • lizhi
                                          lizhi last edited by

                                          I’m working for the api of shapeshift . But Now I find that their services are not stable.May be busy or error or expired.

                                          shape1.jpg

                                          shape2.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • kris_davison
                                            kris_davison last edited by

                                            It looks like there is a timeout of about 15 seconds or so for the exchange rate. I think there is something on the API where you can check how long is left until the end of this timeframe.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post