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

      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
                              • lizhi
                                lizhi last edited by

                                nice , I finish a transaction with shapeshift’s API.

                                I post a request ,then get a json data from API.

                                QString jsonData="{\"withdrawal\":\"17GZr6RaDfUt2HXRVkmJgVhXKdkej1VMb9\",\"pair\":\"ftc_btc\",\"returnAddress\":\"71whQbi6pq2aCSvMvcTKCcTZDfAbUvf2Se\"}";
                                

                                After I send 3 FTC to shapeshift, I receive my bitcoin .:)

                                {"status":"complete","address":"6ukBJuHg9s7T1wzeJctvy1pAZ2i2Fv7WfN","withdraw":"17GZr6RaDfUt2HXRVkmJgVhXKdkej1VMb9","incomingCoin":3,"incomingType":"FTC","outgoingCoin":"0.00017887","outgoingType":"BTC","transaction":"bdc60131a810f950c15895a54582854f8ce5068a61763b85fbd7885f5af54dd1"}
                                

                                shape3.png

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest last edited by

                                  Hello everyone!

                                  We found this thread and wanted to let you know that ShapeShift is happy to support this project in any way possible.

                                  One of our lead devs will watch this thread and will be available for questions and contribution. Once this plugin is finished, we’ll be happy to promote it throughout Bitcoinland and get you guys some publicity.

                                  We think it’s an awesome idea, so please stay in contact and let us know what we can do to help. Also, feel free to email us at mail at shapeshift.io

                                  Cheers!

                                  Beorn & the ShapeShift team

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

                                    Thanks! That’s above and beyond.

                                    Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                      Oh wow!

                                      Couldn’t ask for more ahy!

                                      This is going to be very interesting. Can’t wait to see what we can come up with for everyone.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tmuir12 Regular Member last edited by

                                        Once all sorted will this be a plugin?

                                        SO you download and get your wallet running and then yiu can download and install the module if you so desire?

                                        Also should you no longer want the module it needs to be made easy to remove too.

                                        Its a bit above my coding skill, but should we develop a standard on how to install and where to install that all modules adapt to make it easier to allow future modules to be added?

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

                                          …should we develop a standard on how to install and where to install that all modules adapt to make it easier to allow future modules to be added?

                                          +1.

                                          Very well much yes. That is the core idea of the modules system. It is so we can grow the abilities of the wallet/network without having the users downloads been bigger than necessary.

                                          It needs to be well documented as well to encourage 3rd party developers.

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

                                            Tonight,I impliment shapeshift. I develope a plugin for feathercoin core wallet. Wallet use their api, able to complete the transaction.

                                            I found that the normal trading is no problem in today’s test, but “Fixed Amount Transaction” can not work. shapeshift return deposit.

                                            A Normal Transaction :success

                                            shape6.png

                                            shape7.png

                                            A Fixed Amount Transaction: failed

                                            Receive Data from API:

                                            {"success":{"pair":"ftc_btc","withdrawal":"17GZr6RaDfUt2HXRVkmJgVhXKdkej1VMb9","withdrawalAmount":"0.0003","deposit":"72qWqXhgDTXy9dY92QQwGXL9LSfb4sDRXD","depositAmount":"7.97130331","expiration":1416056746850,"quotedRate":"0.00005018","returnAddress":"71whQbi6pq2aCSvMvcTKCcTZDfAbUvf2Se"}}
                                            

                                            shape5.png

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