Show Posts
|
Pages: [1] 2 3 »
|
ok I need up bump this thread
im programming the follow steps to do this.
//get current price
//get current order book
//get amount (USD available to make purchase)
//calculate order (amount btc to be bought to reach USD target)
//place order for the btc calculated at market that would equate to the dollar amount.
//verify dollar's transaction cost. (assuming order book didn't change while placing.)
....
Is this really the way to do this? why on earth would an API not be able to place a market buy at a USD amount. I can do this on mtgox's website.
.1 btc reward to some one that figures this out.
|
|
|
hmm, I know on mtgox's website I can set a market buy and just select USD. If i sell at a price isn't it possible it doesn't fill right away? especially if the price is falling? If I calculated with the current price how much btc to buy, and placed an order priced over it would fill right away. But its possible it would spend more USD than my original target. Id have to go into the order book and make sure the entire trade can complete at a given price.
though it would be easier to tell an api to buy 5$ worth of bitcoin and have it be accurate down to the penny.
|
|
|
are the private keys stored locally on each node? ie, if one node is compromised does the amount on bitcoin on the entire cluster get lost? or does 1/x (if btc is spread evenly between nodes). Or optimally are the keys generated so each node only has 1/x of the key. So an attacker would need to compromise all the servers to get the full private key?
|
|
|
I run Cash2BTC.com and We have been building/selling DIY bitcoin atm's for the last 4 months. I've moved the project from vb.net and windows, to python based apps on Raspbian on a raspberry pi. We are getting really close to launching this new version but the GUI is no where near what I want it to be. So im tossing it out, and building it from scratch. I'm looking for some CSS pro's to give this project the look and feel it needs. The drivers are built (python), The GUI is going to be a python app running in miridi(browser) locally and is built on python flask; and going to be optimized for touch screens. The basic programming objects are there; Now it all about what the customer see's and how they interface with it. all the graphics, how it looks and feels is completely up for redesign. I am looking for some developers who would like to jump on this project. I will be paying in BTC as well as giving out developer kits (Check the photos) but really hoping that will catch on and start evolving on its own. And this whole-project will be/is posted on github. The github (most recent gui is not posted because im tossing it, but email me and ill get you caught up.) https://github.com/HighlanderEnterprises/Pyramid-Acceptors-Rpi-Python-Driveralso, Photos from the new kits http://imgur.com/a/Y91VjEmail me BitHighlander@gmail.com
|
|
|
bitcoin-qt has a pop up window in the gui, is it really that big a stretch to get bitcoind to be able to run(or just trigger) a 3rd party script for notification when it receives a payment?
|
|
|
ohh, duh, just though of a better solution
just have 2 wallets, deposits get instantly sent to a second wallet. That way no change is ever sent on the first wallet; and the hotwallet isnt linked to a moniterd address.
|
|
|
How would I go about configuring bitcoind to forward all change to a new address?
|
|
|
o I ran into an issue. I'm playing with php and blockchain.info's api. I am issuing a new address to a new user, watching for deposits and crediting their account when btc is sent to that address, everything was working good. except sometimes if I do a send with that same blockchain wallet, the "change" gets sent back to the original address, crediting the user when it shouldn't. Is there a better way to use block-chains wallet api to do this?
Im thinking I could just make a bunch of offline address's, use them for deposits, and then keep a hotwallet online.
But I want to ability to keep a tiny hotwallet and don't want a some one with a lot of btc to come in and be like, wtf I want my coin now.
So Im looking to either, 1) set blockchain.info to forward all "change" to a new address (if that's even possible) or 2) Do I just need to move on to more full featured php bitcoin tools? like?
|
|
|
o I ran into an issue. I'm playing with php and blockchain.info's api. I am issuing a new address to a new user, watching for deposits and crediting their account when btc is sent to that address, everything was working good. except sometimes if I do a send with that same blockchain wallet, the "change" gets sent back to the original address, crediting the user when it shouldn't. Is there a better way to use block-chains wallet api to do this?
Im thinking I could just make a bunch of offline address's, use them for deposits, and then keep a hotwallet online.
But I want to ability to keep a tiny hotwallet and don't want a some one with a lot of btc to come in and be like, wtf I want my coin now.
So Im looking to either, 1) set blockchain.info to forward all "change" to a new address (if that's even possible) or 2) Do I just need to move on to more full featured php bitcoin tools? like?
|
|
|
so you want to pass some one credentials for an MTgox account, so they can change the name and info on the account and apply to MTgox to take a hold off the account?
you think MTgox is going to actually unlock this account? are you kidding, I can here mtgox support now, so whos email is XXX and why do you want to change your name?
ohh I ahh forgot my name signing up, and now I want to verify my account with a new name email address and info.
that's going to go well
I think Id be more likely that all this would do is get my current account locked as well...
|
|
|
Completed a new version, Ive been developing these boxes for a few months now and wanted to show off some pics from my build. http://imgur.com/a/obhNx
|
|
|
Totally posted this and completely spaced off following up. cash2btc is very real, not a joke, we build fully functional bitcoin dispensers; similar in function to lamassu but albeit without the sexy styling. We had a fully functional Dispenser at the San Jose conference Hackathon http://bitcoinmagazine.com/day-two-at-bitcoin-2013-live-coverage/small blurb mentioning us. I have recently completed our newest version of the device. here is a photo album from the construction. http://imgur.com/a/obhNxOur orders have been kinda of slacking lately (as I am hand making them personally and still have plenty of free time) Ive been thinking of ways to drum up some interest. This new box has a bunch of features, and I want to gauge interest in placing my baby, the original prototype (the one pictured in the album), up for auction. this is fully assembled and tested device. Ill continue to follow this thread and answer any more questions. let me if its worth my time posting an auction. Thanks Matt Cash2btc.com
|
|
|
I am a bitcoin developer; like all of you I want to see bitcoin succeed. One of the major hurdles I have is helping people buy bitcoin. The current methods are too cumbersome; and I feel personally responsible when a service I recommend screws over my friends. Bitcoin needs to be able to flow into and out of markets easily. I think absolute best way to experience bitcoin for the first time is with an easy purchase. With our packages you can turn that old desktop you got laying around into a fully functional bitcoin dispenser. Host these devices in your living room, man cave, or around the office. With our basic package all the leg work is done for you. How it works - You purchase a basic package via bitcoin from cash2btc.com
- We use bitpay same day deposits; and order your hardware as soon as it clears.
- Your account is activated on cash2btc.com and hosting setup is started.
- Bill dispenser shows up in the mail
- You download and install the client side software from cash2btc.com onto your desktop
- plug the dispenser in via USB
- plug in a webcam if you don’t already have one
- open a browser and point to your hosted device page
- inset a bill into the dispenser to test the device.
Hack together a case and a UPS and you got a portable bitcoin dispenser. If you ever lose the device (or have it taken!) a new dispenser can be bought for a mere 252.00; I hoping for groups to get together and build cool unique cases. I can see these deployed everything from ultralight to carry in a backpack, to large devices like a redbox. I plan on providing as much customer support as I can, I will be looking to the bitcoin community to organize host and use the devices to help promote bitcoin. If Our sales do well I will be looking to hire people from the community grow our company as well. Check out our Welcome video http://www.youtube.com/edit?ns=1&video_id=MZAntrBDusoAnd our website Cash2BTC.com
|
|
|
Thank you very much Matt,
That quick hack was indeed correct
|
|
|
corrected order, still getting same error :/ noticed the end of the error changed when I switched them backwards 13 [function] => withdraw_coins [class] => MtGox_Private_Api [type] => -> [args] => Array ( - => 1 [1] => 14XnxAbrNZkkXRX76MS2S5JnJ1hUbgCs1Y ) ) ) [previous:Exception:private] => )
correct 13 [function] => withdraw_coins [class] => MtGox_Private_Api [type] => -> [args] => Array ( - => 14XnxAbrNZkkXRX76MS2S5JnJ1hUbgCs1Y [1] => 1 ) ) ) [previous:Exception:private] => )
but other then that the error is the same. (sent you a little bit for taking the time to look)
|
|
|
I do not have any 2 factor enabled;
and the key does have withdraw enabled.
|
|
|
.1btc my script <?php include 'mtgox_api_base.php'; include 'mtgox_private_api.php';
$private = new MtGox_Private_Api(); $private->set_currency('USD'); // CHANGE TO USD IF YOU NEED USD!! $private->set_authentication("SSSSSSSSSSSSSSSS", "SSSSSSSSSSSSSSSSSSSSSSS");
$address = '14XnxAbrNZkkXRX76MS2S5JnJ1hUbgCs1Y'; $amount_int = 10000;
try{ $send_simple = $private->withdraw_coins($amount_int, $address); print_r($send_simple); }catch(Exception $e) { print_r($e); } ?>
is returning the error Exception Object ( [message:protected] => Parameter amount_int or amount is required [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/admin/atm/mtgox_api_base.php [line:protected] => 79 [trace:Exception:private] => Array ( - => Array ( [file] => /var/www/admin/atm/mtgox_api_base.php [line] => 70 [function] => process_api_response [class] => MtGox_Api_Base [type] => -> [args] => Array (
- => Array ( [result] => error [error] => Parameter amount_int or amount is required [token] => unknown_error ) ) ) [1] => Array ( [file] => /var/www/admin/atm/mtgox_private_api.php [line] => 46 [function] => send_request [class] => MtGox_Api_Base [type] => -> [args] => Array (
- => 1/generic/bitcoin/send_simple ) ) [2] => Array ( [file] => /var/www/admin/atm/history.php [line] => 13 [function] => withdraw_coins [class] => MtGox_Private_Api [type] => -> [args] => Array (
- => 10000 [1] => 14XnxAbrNZkkXRX76MS2S5JnJ1hUbgCs1Y ) ) ) [previous:Exception:private] => )
|
|
|
|