Thanks for the support, guys. Update: Added a custom.css file to hold your CSS customizationsOne of the most common questions I get via PM is how to customize the look and feel of Untitled Dice. So I've added a blank `custom.css` file to provide a more obvious place to do so: https://github.com/untitled-dice/untitled-dice.github.io/commit/55b7919ff0e3d909308be53f61e2d6c014fd846dYou'll need to learn a little bit of CSS to make meaningful changes to the theme, but it's a necessary skill for anyone that wants to dabble in web projects like this. Lots of good resources out there like https://developer.mozilla.org/en-US/docs/Web/CSS. The reason I recommend isolating your customizations to a single `custom.css` file is so that it's much easier for you to merge in changes as I update Untitled Dice. How to use a theme from https://bootswatch.com/Also, I should point out that Untitled Dice is built with the popular Bootstrap v3 CSS framework and there are many free themes to be found for it online. For example, check out https://bootswatch.com/. If you find a Bootstrap v3 theme that you like on bootswatch.com, you just need to make some simple modifications to Untitled Dice's `index.html` file. For example, if you like the Darkly theme (demo: https://bootswatch.com/darkly/), click its Download button to get the URL to its CSS file ( https://bootswatch.com/darkly/bootstrap.min.css) which you'll need to tell your Untitled Dice script to use. To apply the Darkly theme to Untitled Dice, edit `index.html` from this: <head> <title>Untitled Dice</title> <link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet"> <link href="style.css" rel="stylesheet"> <link href="custom.css" rel="stylesheet"> </head>
to this: <head> <title>Untitled Dice</title> <link href="https://bootswatch.com/darkly/bootstrap.min.css" rel="stylesheet"> <-- the URL you got from Darkly's Download button <link href="style.css" rel="stylesheet"> <link href="custom.css" rel="stylesheet"> </head>
Now your site will look like this: Though you'll likely want to make additional tweaks which is what the `custom.css` file is for.
As usual, drop me a PM if you have any questions or need any help. I also lurk on MoneyPot's Slack ( http://slack.moneypot.com/). My username on there is `dan` just like here. Whoa Awesome addition! Previously it was not very straight forward on how to customize the style, but you could figure it out with a little playing around. This makes it a lot easier, and the ability to add bootstrap themes just takes it to another level. Keep it up!
|
|
|
Danny and Knight are right, there is no sure way to do this, since there can be multiple input addresses that sent you the funds. However there is a way to get the 1st input sending address of the most recent transaction to a particular address. I did a video tutorial on how to do this a few months back with blockchain.info. https://youtu.be/_K270ufQ6ho?t=1mGo here -> https://blockchain.info/api/blockchain_apiScroll down to the single address area: Then you'll take your $input_address and plug it in: https://blockchain.info/address/$bitcoin_address?format=json Replace $bitcoin_address with the input_address that received the funds. and then you can pull out the most recent transaction and then pull out the address from the inputs array. Again watch the video ^^ Your code will look something like: <?php $input_address = "1someBitcoinAddress"; $url = "https://blockchain.info/address/$input_address?format=json"; $jsonData = json_decode(file_get_contents($url), true); $sendingAddress = $jsonData["txs"][0]["inputs"][0]["prev_out"]["addr"]; echo "This address ".$sendingAddress." sent the most recent transaction"; //or you can enter the $sendingAddress to a DB ?>
If you want to get all the input addresses that sent for the most recent transaction you will just create a loop that counts the number of inputs something like: $n_inputs = count($jsonData["txs"][0]["inputs"]); for($ii = 0; $ii < $n_inputs; $ii++){ $inValue = $jsonData["txs"][0]["inputs"][$ii]["prev_out"]["addr"]; }
I also did a video on making the loops but with chain.com API https://youtu.be/OUdGJK-sJ2k?t=2m33s start video at 2:33
|
|
|
Thank you, coinableS. I will implement this.. I have a question tho, the amount needs to be in Satoshi right? Cuz in the script I use Bitcoin values, which gets entered into the DB from incoming payments. About the topic, I actually tried to delete it, and re-post in the right section, but it said I do not have such permission. A word of advice, don't use floats (bitcoin values). They can cause errors in calculations with php due to its type juggling. Store your db values in satoshi and then convert them client side for users to view.
|
|
|
Hello, Welcome to Bitcointalk! This post would be better suited for the Service Discussion board ( https://bitcointalk.org/index.php?board=85.0), a mod will likely move it for you. As for blockchain.info's API it is very easy to send a payment using their Wallet API. Here's a snippet of code that I wrote, feel free to use it. I included some error catching as well based on the JSON response you get from the API request to BC.info if(isset($_POST['paymentBtn'])){ if(!isset($_POST['userInput']) || trim($_POST['userInput']) ==''){ echo "You must include your bitcoin address"; } else { $address = $_POST['userInput']; $address = mysqli_real_escape_string($con, $address); //YOU DONT HAVE TO DO THIS BUT I ALSO PUT THIS INFO INTO A DB $amount = $balance; //THIS IS THE AMOUNT YOU WANT TO SEND IM JUST USING A VARIABLE $ID = "a1a1a1-1a1a1-a11a11a1a1-a1a1"; //YOUR BLOCKCHAIN.INFO USER ID $PW = "abcdefghijk"; //YOUR BLOCKCHAIN.INFO PASSWORD $sendPayment = json_decode(file_get_contents("https://blockchain.info/merchant/$ID/payment?password=$PW&to=$address&amount=$amount"), true); if(isset($sendPayment["error"])){ echo "Error: ".$sendPayment["error"]; } else if(isset($sendPayment["tx_hash"])){ echo "tx: ".$sendPayment["tx_hash"]."<br>".$sendPayment["message"]; } else { echo "Sorry, Blockchain.info appears to be down. Please try again later."; } } }
I've created some video tutorials on youtube on how to do this that might help. Blockchain.info has given them their blessings through their blog and twitter. https://twitter.com/blockchain/status/636197788158676992http://blog.blockchain.com/2015/07/30/building-bitcoin-websites-using-the-blockchain-api-video-tutorial/https://www.youtube.com/watch?v=dQbah3IYMOs
|
|
|
How will people that make a faucet using a subdomain on your server make money to fund their faucets? The best paying is adsense, and they won't be able to use that since the domain is already registered with adsense with you. So this leaves them to use adbit, a-ads, etc. Maybe I'm missing something but seems that it would be very difficult for a faucet owner to fund their faucet using this.
|
|
|
I liked it. Site was clean, only 4 ads, no pop-ups and payout was successfully sent to my faucetbox. You might want to top up your balance, you only have 160K satoshi left.
|
|
|
People are selling because they are impulsive. Here, I wrote a short story about it Mr Impulsive hears about bitcoin and he thinks it could be the next big thing. So he runs to the bank and takes out all his money and puts into bitcoin. Then Mr Impulsive feels good, because he had the FOMO. He was going to miss out on bitcoin, but luckily he was able to buy a large lump sum all at once "just in time". Mr Impulsive feels so good he goes online and takes a screenshot of his new coinbase account and posts on reddit that he has made it to the one in a million club. A few weeks later there's a sharp decline in market value for bitcoin, it went from $270 to $230 overnight. Mr Impulsive is scared, since he put his savings into bitcoin and he can't afford to lose it all. Mr Impulsive goes back to reddit and reads about the fork. He doesn't understand it, but he decides to launch an XT node, because XT = moon, of course , and this will save his large investment. Another week passes and we are here with prices below $200 or hovering just above. Mr Impulsive has seen that his bitcoin investment of nearly $6,000 is now worth in the low $4,000. He is scared, bitcoin must be dying, he can't afford to lose that money. So he sells, "cutting his loses". He thinks, "whew, at least I didn't lose all my money... bitcoin, what a scam". Coinbase is pleased to count Mr Impulsive's account as one of their 4 million "bitcoin users".
|
|
|
bip means bitcoin improvement proposal. I don't think there is a formal convention behind the numbering scheme, just that its increased to a larger number when a new one is created.
Take a step back - there is a public bitcoin developers mailing list. Anyone can sign up. The community encourages everyone who wishes to work on or contribute to bitcoin core, to use this mailing list and subscribe to it. The goal is that a developer will come up with a great idea then he will discuss it with other users on the mailing list to gain feedback about it. If the feedback is overtly positive or at least agreed upon but given some constructive feedback, THEN, the developer is encouraged to formalize his proposal with a synopsis that includes sample code for implementation, test results of such implementation as well as the benefits of implementing such change. This 'proposal' is a new BIP! it gets drafted and submitted to github, and one of the bitcoin project committers places it into the BIP directory, which is hosted on github. From there, I'm not sure how the core developers choose which ones to implement and how they go about moving forward. I think things all started breaking down once we got to bip101 - its a formalized proposal that is essentially XT (8mb blocks with doubling each year until 2032 when the blocksize is expected to be as large as up to 8GB), but it seems that the core developers have a fundamental disagreement as to the implementation of it or which one to implement (bip 102 is Jeff Garziks conservative 2mb increase), (bip103 is Pieter's De Wiulle's proposal to do gradual blocksize increases on a much longer timescale.
Thanks Frank, that's what I was looking for. I wasn't sure if it was a bitcoin only thing and how they came up with the numbers.
|
|
|
I don't have much more budget than only 0.40 BTC per month. Is it possible to create a low budget faucet with all above these features? Please let me know.
Yes, but the idea is that you make it all back plus a profit. Think of it more like a loan to yourself. Instead of trusting some random person to pay you back plus interest you are betting on yourself and your faucet performance to pay you back plus a profit.
|
|
|
So I've seen plenty of them, BIP 100, BIP 101, BIP 66, BIP 32. Is this just a naming convention that is used for bitcoin? How do they come up with the # after the BIP because they don't seem to go in any apparent order. What are the BIPs, what does BIP stand for and what's the meaning behind them?
|
|
|
Ugh, I can't believe I just spent a heap of fiat on a vacation last week. I could be using that money to buy BTC right now!
|
|
|
I'm not going to kill myself trying to time the market perfectly. It will drive me crazy if I do. I'm just going to continue buying in lump sums once a month and hopefully I get lucky.
EDIT: I guess if it dropped close to or below $100 I'd probably take some $$ out of savings and scoop up a large handful.
|
|
|
This is a good time to step back and just watch how fear pervades the markets. It could be just a correction, but of course it could be something larger: .. the Last Great Bubble — faith in central banks — may be starting to pop. The last time the stock markets moved like this was in August 2007. I'm sure you remember what followed that about a year later. Although no one can predict the future, things are looking pretty familiar if you ask me.
|
|
|
Hello I am the creator of FaucetBuilder and script. The email destbogan@gmail.com belongs to me. Originally I built the script with a 1% fee to cover my time for building this. I published it and had a few friends testing it. This was before faucetbuilder.com existed and was live. The main feedback from the guys testing it was that 1% flat-fee is not the right way since the APIs were not built by me (they are originally Xapo). So, I took the 1% fee out and launched faucetbuilder.com for free and took btc donations. I want to clarify that yes my original plan was to charge a fee. But I removed this fee before my script and website (faucetbuilder.com) was officially launched. I am not sure how the script with 1% fee is being circulated since I dont promote on any of my links on bitcointalk or website. My wallet destbogan@gmail.com has 800 bits (~$0.18) and not much. If you are using the original script with the fee email me and I will return your funds. I am trying to do honest business. Thanks for the honest reply. I think you are trying to do the right thing as I see your site has code that does not include the 1% scalping fee on each transaction. People are using the older versions though, someone was asking for help in another sub forum and they posted the code which lead to me creating this thread, which I will lock now as it looks like you are doing the right thing and I do not wish to harm your project.
|
|
|
He wasn't martingaling.
This sounded like a martingale to me: I set the multi to 1.24 and began. I immediately noticed I was getting raped hardcore. I was only betting 10 bits at a time so as not to break the bank if I needed to 6x on a loss. And if I somehow got 2 losses in a row, which is highly unlikely, i would need to wager 36x and so on.
Out of curiosity, what is HF?
HackForums Ahh, by that description you're right, he was doing martingale. I was confused because the screenshot he posted he wasn't doing martingale.
|
|
|
You can get minium of .5$ per 1000 views, with 1 ad. So if u set payout to 100 satoshi and u get 1000 visitors, u have .5$ -.22$
But if u want a good payout (500 satoshi or above) u need at least 3-4 ads to cover your costs(not including hosting+domain name)
Regards, Joust
Where are you getting minimum $0.50 for every 1000 views on one ad? Which ad service? Currently I'm making the most with adsense but I'm making less than that.
|
|
|
It says I won 1,000 satoshi, but my faucetbox shows nothing earned?
|
|
|
I'm afraid the recession isn't over yet. The media telling us how good the economy is doing all the time (bit too enthousiastic if you ask me). I'm on the verge of buying a house but I'm afraid for the next 10 years.
Don't! My wife and I have been in the market for buying a house for the last year or so, but we've held off so far. Mainly because there is very little inventory and what is available is way over-priced. We're in San Diego and to buy a median priced home right you need $109K/year. Wages aren't keeping up with the prices, shrinking inventory and huge increase in price over the last 12 months; all this indicates we are in a housing bubble. Prices should start falling soon.
|
|
|
|