Feathercoin daemon and wallet production version 0.18.1
Old daemon and wallet version 0.17.0.1

[ANN] Feathercoin API.....


  • | Tip UKMark

    With everything else I have been doing I completely forgot about announcing this ::)
    Hopefully this will be of some use to our fellow developers:

    [url=http://api.feathercoin.com/?output=info]Feathercoin Developer API[/url]

    Please note that the basic examples are exactly that - ‘basic examples’…
    All Feathercoin address verification should be done prior to API submission, as address verification is not handled by the API.


  • Regular Member | Tip RIPPEDDRAGON

    nice work!


  • Regular Member | Tip Markus11

    Exzellent work, dont forget about your android app - you could implement a ftc/usd ticker


  • | Tip UKMark

    [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 😞


  • Regular Member | Tip Markus11

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


  • Spammer Banned | Tip Kevlar

    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”}


  • | Tip UKMark

    [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. 😎


  • Spammer Banned | Tip Kevlar

    [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. 😎
    [/quote]

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


  • | Tip UKMark

    [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. 😎
    [/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.


  • Spammer Banned | Tip Kevlar

    [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. 😎
    [/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?


  • | Tip UKMark

    [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. 😎
    [/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… 😎

    Roughly like so:

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


  • | Tip kris_davison

    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


  • | Tip UKMark

    [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 😎