WIP:The Feather Converter
-
…We can think of a better name when/if it happens. :)
Tbh I don’t really think it needs much explaining so I have put together a basic layout to show you all the idea, I plan to have separate input buttons for [i]all three[/i] input fields to lessen any chance of user error, nothing works yet because as it is currently detached from all clients and databases and in desperate need of a config file :), but you can get the general idea of what the plan is:
Please offer criticism/ideas/suggestions below although for now my main plan is to try and make what you see actually happen.
[url=http://host.feathercoin.com/the_feather_coverter/index.html]The Feather Converter[/url]
-
I really like this idea. I’m interested in the planned implementation. How is this going to work in the background?
-
2 x daemons (1 x BTC 1 x FTC) either in seperate VM’s or remote seperate systems.
user inputs a BTC recieving address it is verified as being valid.
user enters an amount of BTC to send it is converted to FTC equivalent.
User inputs their FTc address (it needs to be theirs incase anything FU’s and they need a refund).A key and BTC send-to address along with a session id is generated and written into a database along with a freshly generated receiving address in the FTC client wallet and displayed to the user.
BTC funds are sent as soon as funds are received and verified by the FTC daemon either with ZERO confirms for instant speed / high risk transactions - or - 120confirms for ZERO risk slow transactions - or - somewhere in between < Either way this can be the choice of the operator/s
As soon as the send transaction has been confirmed in the BTC daemon then the table DB entries are deleted and the DB updated.I have probably missed out a few lesser functions but that’s the basic idea…
-
Status of this Project?
-
[quote name=“[AWAY]Justabitoftime” post=“21485” timestamp=“1373757852”]
Status of this Project?
[/quote]User [b]Ilocans[/b] has taken the lead on this and from his FB to me he is making good progress, I am not sure if he has access to here though, so maybe you can sort for him 8)
-
[quote name=“UKMark” post=“21551” timestamp=“1373829421”]
[quote author=[AWAY]Justabitoftime link=topic=2326.msg21485#msg21485 date=1373757852]
Status of this Project?
[/quote]User [b]Ilocans[/b] has taken the lead on this and from his FB to me he is making good progress, I am not sure if he has access to here though, so maybe you can sort for him 8)
[/quote]Just checked, he was good on access. I’ll send a follow-up PM.
-
Hi,
A quick status of this project. So far, I have
* a working JsonRPCClient Class that I can use with the both daemon feathercoind and bitcoind
* a simple version of the page for the converter: An optional username, an amount of FTC to convert, FTC address for refund if there is a problem, BTC adress where the amount has to be sent, 2 method of convertion: quick (1 confirmation but high fees or normal 10 confirmations).
* a first version of the table integrate with the converter page: When I fill the form on the page and I press convert, it fill the table with the correct informationsTodo (non exhaustive):
- Test the verification that the feathercoin are received
- Work with the bitcoin testnet in order to test the sending of bitcoin
- Automate the sending of the bitcoin
- Get the rate for BTC/FTC from btc-e
I am working on this until wednesday and after that I leave for my holidays :)
-
Thanks for the update and wishing you a great holiday! 8)
-
Hi,
I am back from my exhausting holidays and ready to finish this project :)
-
Looking forward to what you come with! 8)