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

    [ANN] Feathercoin API.....

    Projects
    5
    13
    7681
    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.
    • U
      UKMark last edited by

      [quote name=“Markus11” post=“24013” timestamp=“1375380892”]
      Exzellent work, dont forget about your android app - you could implement a ftc/usd ticker
      [/quote]

      I know, I probably will eventually, but so many other things are taking priority :(

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

        To much to do for 1 person … maybe you could need some help?

        1 Reply Last reply Reply Quote 0
        • K
          Kevlar Spammer last edited by

          It’s missing something…

          Oh that’s it! SEND! I want to POST a raw transaction to the network please.

          I can bundle it in JSON form if you like:
          {“tx”:“Base64 encoded transaction goes here”}

          1 Reply Last reply Reply Quote 0
          • U
            UKMark last edited by

            [quote name=“Kevlar” post=“24087” timestamp=“1375420069”]
            It’s missing something…

            Oh that’s it! SEND! I want to POST a raw transaction to the network please.

            I can bundle it in JSON form if you like:
            {“tx”:“Base64 encoded transaction goes here”}
            [/quote]

            Feel free to add want you want to the API Kevlar. 8)

            1 Reply Last reply Reply Quote 0
            • K
              Kevlar Spammer last edited by

              [quote name=“UKMark” post=“24147” timestamp=“1375453935”]
              [quote author=Kevlar link=topic=3056.msg24087#msg24087 date=1375420069]
              It’s missing something…

              Oh that’s it! SEND! I want to POST a raw transaction to the network please.

              I can bundle it in JSON form if you like:
              {“tx”:“Base64 encoded transaction goes here”}
              [/quote]

              Feel free to add want you want to the API Kevlar. 8)
              [/quote]

              Ok. Got a Github repo? I’ll fork it and send you a pull request.

              1 Reply Last reply Reply Quote 0
              • U
                UKMark last edited by

                [quote name=“Kevlar” post=“24293” timestamp=“1375490820”]
                [quote author=UKMark link=topic=3056.msg24147#msg24147 date=1375453935]
                [quote author=Kevlar link=topic=3056.msg24087#msg24087 date=1375420069]
                It’s missing something…

                Oh that’s it! SEND! I want to POST a raw transaction to the network please.

                I can bundle it in JSON form if you like:
                {“tx”:“Base64 encoded transaction goes here”}
                [/quote]

                Feel free to add want you want to the API Kevlar. 8)
                [/quote]

                Ok. Got a Github repo? I’ll fork it and send you a pull request.
                [/quote]

                No Github, all API’s are plugin, so just design the API as if it was a standalone, a single .php will do, sanitise any input and add the output to $strings and I will simply include.

                1 Reply Last reply Reply Quote 0
                • K
                  Kevlar Spammer last edited by

                  [quote name=“UKMark” post=“24320” timestamp=“1375529733”]
                  [quote author=Kevlar link=topic=3056.msg24293#msg24293 date=1375490820]
                  [quote author=UKMark link=topic=3056.msg24147#msg24147 date=1375453935]
                  [quote author=Kevlar link=topic=3056.msg24087#msg24087 date=1375420069]
                  It’s missing something…

                  Oh that’s it! SEND! I want to POST a raw transaction to the network please.

                  I can bundle it in JSON form if you like:
                  {“tx”:“Base64 encoded transaction goes here”}
                  [/quote]

                  Feel free to add want you want to the API Kevlar. 8)
                  [/quote]

                  Ok. Got a Github repo? I’ll fork it and send you a pull request.
                  [/quote]

                  No Github, all API’s are plugin, so just design the API as if it was a standalone, a single .php will do, sanitise any input and add the output to $strings and I will simply include.
                  [/quote]

                  Allright… what are you using to communicate with the client? cURL? I assume you’ll add authentication?

                  1 Reply Last reply Reply Quote 0
                  • U
                    UKMark last edited by

                    [quote name=“Kevlar” post=“24426” timestamp=“1375600899”]
                    [quote author=UKMark link=topic=3056.msg24320#msg24320 date=1375529733]
                    [quote author=Kevlar link=topic=3056.msg24293#msg24293 date=1375490820]
                    [quote author=UKMark link=topic=3056.msg24147#msg24147 date=1375453935]
                    [quote author=Kevlar link=topic=3056.msg24087#msg24087 date=1375420069]
                    It’s missing something…

                    Oh that’s it! SEND! I want to POST a raw transaction to the network please.

                    I can bundle it in JSON form if you like:
                    {“tx”:“Base64 encoded transaction goes here”}
                    [/quote]

                    Feel free to add want you want to the API Kevlar. 8)
                    [/quote]

                    Ok. Got a Github repo? I’ll fork it and send you a pull request.
                    [/quote]

                    No Github, all API’s are plugin, so just design the API as if it was a standalone, a single .php will do, sanitise any input and add the output to $strings and I will simply include.
                    [/quote]

                    Allright… what are you using to communicate with the client? cURL? I assume you’ll add authentication?
                    [/quote]

                    JSON RPC and yes if you include a config in your .php I will sort the auth… 8)

                    Roughly like so:

                    [code]// #####START CONFIG#####
                    require_once(‘include/jsonRPCClient.php’);
                    $client = “http://user:pass@ip:port”;
                    $ftc = new jsonRPCClient($client);
                    // #####END CONFIG#####[/code]

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

                      Hi API is great was thinking of using it to display current price of an item if it was to be bought in feathercoin. Is there any way it could be extended to have a GBP input with the FTC output maybe
                      ?output=FTC&input=GBP&amount=1

                      1 Reply Last reply Reply Quote 0
                      • U
                        UKMark last edited by

                        [quote name=“kris_davison” post=“25745” timestamp=“1376689561”]
                        Hi API is great was thinking of using it to display current price of an item if it was to be bought in feathercoin. Is there any way it could be extended to have a GBP input with the FTC output maybe
                        ?output=FTC&input=GBP&amount=1
                        [/quote]

                        There is no need to add! ;)

                        Just implement the correct maths at your end.
                        So for GBP in & FTC out - Simply divide by the current FTC/GBP rate…

                        so eg:
                        £10.57 = 10.57 / 0.08236230618 = 128.3354059671378 FTC

                        Then round your answer down to whatever decimal places you wish to use.

                        HTH 8)

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